fast cubemapped simple water

Miscellaneous Forums/Graphics Showcase/fast cubemapped simple water

Aha!

When I move the cube down into the water I get more of a reflection behind it! How strange! Maybe it is the vertical position of the cube camera? try moving it down or up the amount you moved the sub up to get a proper looking reflection.


In the function which updates the cube camera...

;position cubemap camera
camoffsety#=(EntityY(maincamera,True)-EntityY(entity,True))
PositionEntity camera,EntityX#(maincamera,True),EntityY#(entity,True)-camoffsety,EntityZ(maincamera,True)



...maybe?

IPete2.

ps it seemed to work better moving this camera up for me. Try half the distance as a compromise...seems to do it here.