문제

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

도움이 되었습니까?

해결책

disabling depth test lets terrain not to block.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top