Wierd render texture behaviour

Hi there,

I’ve been working on my water shader for some time now and have noticed some wierd behaviour particularly when using forward rendering. I have a weather system rendering out in the background. When capturing the scene for the reflections into a render texture, I have to enter some weird values for different variables to get it to work… for instance, my farClipPlane should be 15000, but with that value, the render texture is completely filled with badly ghosting geometry (the right stuff, but all over the place, like the clear flags are set to nothing). When I set the nearClipPlane to 0.01f and the farClipPlane value to 0.02f, it all works fine… why?? I’m pretty sure this isn’t the intended behaviour.

Thanks for your help.

Sam.

And just thought I’d add that everything works perfectly fine and as it should in deferred rendering. The problem is only for forward rendering.