Pregunta

water reflection just using scaling glScalef(1, 1, -1) is being blocked by terrain under water. So i think it would be better if reflection is first stored in framebuffer. but how can i project the rendered texture on the water

¿Fue útil?

Solución

disabling depth test lets terrain not to block.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top