Hey All,
Im trying to build a water shader and I would like to distort anything below the water plane. I am using the built-In pipeline and I cannot get it to work. Any tips?
Hey All,
Im trying to build a water shader and I would like to distort anything below the water plane. I am using the built-In pipeline and I cannot get it to work. Any tips?
Basically you need a texture of the current rendered scene before the water is rendered and distort this image with a normal map. You can use a second camera to render the scene to a render texture. This render texture will be used for sampling the refraction part.
You could recreate these steps mentioned here: Looking Through Water