Do "Texture Objects" have limitations when it comes to landscape materials?

I built out a Landscape material with 5 different blending materials. I created each with a “Texture_Bombing” material function to remove any tiling issues with the textures. In order to use that material function the textures must be “Texture Objects” not Texture Samples.

When I have more than 4 materials on a single landscape tile, the tile’s materials disappear and all I get is a square grid pattern. (Seen Below)

BEFORE (With 4)

AFTER (With 5)

I know with “Texture Samples” you just need to ensure the “Sampler Source” is set to “Shared Wrap” and that fixes this issue. Only the “Texture Objects” that I’m using don’t have this option and I need to have them as Texture objects in order to use the Texture Bombing feature.

Does anyone know a fix for this with “Texture Objects”? Or is this just a limitation for them?

All help and advice is greatly appreciated!

Thanks!

Hey there @Ken! Welcome back to the community! I think you may have actually already nailed the fix and didn’t know it! Since TextureBombing is a material function, it still uses Texture Sampler’s under the hood. The texture object is meant to be plugged in, but there’s still samplers underlying that you can change over to Shared:Wrap.

Search the engine files for Texture Bombing and copy it, then paste it into one of your content directories and change the name.

From there, open it up and find all the texture samplers and change them to Shared:Wrap and see if that breaks anything or resolves the issue.

Oh man! haha, the fix was starring me right in the face. haha.

Thank you so much for the help!

  • Ken
1 Like