RenderTexture used in Terrain object not working.

Hello, I have a procedural texture that I want use in a Custom Terrain material.
I don’t want to save it to disc as I need to be able to change it on the fly.
Unfortunately it’s only seen as garbage in the terrain renderer, as if it’s referenced too early. I can use the material on ANYTHING else in the scene, and it works fine, but strangely not on the terrain.
I’ve put the script to make the texture into the Terrain object, further up than the terrain component, and it still doesn’t work.
Does anyone know what’s going on here?

Thanks,
David.

Never mind, I got it working, but I don’t really know what I did wrong.
It worked by using the built in terrain shaders and hacking out what I didn’t want - always the best way to go with Unity. :slight_smile: