Cube environment mapping

Blitz3D Forums/Blitz3D Programming/Cube environment mapping

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.

Well the problem you're having with this FX is that Blitz doesn't ( yet ) support Cube environment mapping. It's been requested ( many, many times ) and I think it would be a very useful feature, but I don't see any practical way of emulating it.

I mean you're talking about placing a camera where the water is, rendering to that camera and multi-texturing the water with the view you just rendered. In essence. I think there's some stuff in the code archives about mirrors/reflections to give you a rough idea, but it's not really a replacement for cube environment mapping because you take a big speed hit. The wonderful thing about cube environment mapping is that it's lightning fast.