Hi, I was wondering if I can use a shader to render directly to a texture?
For example, evolving a texture though patterns like water caustics, or plasma effects.
I’ve tried using a camera, then setting its target to be a RenderTexture. I then put the material into the OnRenderImage function on the camera. But it doesn’t work for some strange reason, sometimes it has the tint of the texture but the scene still shows through it.
What is the correct way of doing this, and is there a way to write to a texture without setting up a camera?
I basically want to use a shader to fill a texture.
Thanks for any help,
Dave.