cube mapping for water

Blitz3D Forums/Blitz3D Programming/cube mapping for water

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If you want the water to reflect things correctly, try to position the cubemap camera at the screen cameras x and z position, and use

water_Y - (screen_camera_Y - water_Y)

for the Y-position of the cubemap camera.