Original Post
TYPICAL WATER REFLECTION SCENARIO.
My engine today is now a bit 'tide' in FPS, and i cannot allow myself to render the heightmap again clipped -1 to a texture and pass it to a water shader as a reflection texture for a water plane.
So here is the question to all,
is there any method i can use, to generate the reflection texture from a Frame texture (bound to the framebuffer) without rendering the scene _once more_ with a 'clip plane' approach?
Any GLSL trick, or anything ?
many many thanks for any ideas..
My engine today is now a bit 'tide' in FPS, and i cannot allow myself to render the heightmap again clipped -1 to a texture and pass it to a water shader as a reflection texture for a water plane.
So here is the question to all,
is there any method i can use, to generate the reflection texture from a Frame texture (bound to the framebuffer) without rendering the scene _once more_ with a 'clip plane' approach?
Any GLSL trick, or anything ?
many many thanks for any ideas..