Landscape material won't compile

Greetings!

I have a landscape material that is based on the one found in the ContentExample. I added material function blended with heightmaps. It used to work find and I tweaked it a bit and suddenly, it returns grey.

It started to go bad when I messed with the heightmaps. They are greyscale and their texture samplers are set to Linear Grayscale.

The instance returns a material but the landscape is grey. What can we do about it?

Thank you for your time!

259346-terrainwarning.png

One option that sometimes happens is a limit on the texture samples you may have in a material. If you aren’t getting any errors, but nothing renders, you may have to go through your material, Select the texture samples, and set “Sampler Source” to “Shared: Wrap” this can get around that limit.

Thank you it worked!