Texture tiling?

About Monkey 2 Forums Monkey 2 Programming Help Texture tiling?

This topic contains 2 replies, has 2 voices, and was last updated by  Xaron 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12715

    Xaron
    Participant

    Hey there, I’ve created a terrain and applied a color.png PBRMaterial texture onto it. Is there a way to do some texture tiling so the texture doesn’t look that blurry? Thanks!

    #12716

    Mark Sibly
    Keymaster

    You can use Material.TextureMatrix, Material.ScaleTextureMatrix etc to transform texture coordinates in realtime.

    See tests/water.monkey2 for ScaleTextureMatrix example.

    #12740

    Xaron
    Participant

    Thanks, works great!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.