Cube environment mapping

Blitz3D Forums/Blitz3D Programming/Cube environment mapping

Mathieu A(Posted 2003) [#1]
Hi!!

I try to make a beautiful reflection water using Cube environment mapping. But I've got few problem concernig this FX. Is someone know how it could be integrated into blitz3D.
Thanks.


Gabriel(Posted 2003) [#2]
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.


Rob(Posted 2003) [#3]
then you missed the awesome cubic environment mapping demos by JPL.


Mathieu A(Posted 2003) [#4]
where is the code of his CEM (cubic ...)? I e mail to him but I have no answer!


Gabriel(Posted 2003) [#5]
then you missed the awesome cubic environment mapping demos by JPL.


Evidently I did.