Cube Mapping Optimization

Blitz3D Forums/Blitz3D Programming/Cube Mapping Optimization

I've been asked to post this question - anybody got any idea's?

I am using cube mapping to give a sense of water reflection in my game. To do this, I have to render 5 different views (front, back, left, right, down) to use as the water texture. In order to increase the frame rate, on each game loop I only render and update one of those views. This allows my game to stay at about 38 FPS, but it results in a choppy reflection. I have tried to actually render the 5 views each time through the game loop and the frame rate drops to 20 FPS. I just wanted to know if anyone has a better method for reflection.

did you already implement the method described in the code archives? (6 times faster thingie)

Thanks - I'll pass that on.

;) Linky below :)

Also, if you wish to penetrate the water and have it work, look into usnig DX Clip Planes.... works a treat when done properly :)