PDA

View Full Version : About the cubemap



Cherrie
07-06-2003, 06:09 AM
Does anyone know how to build a cubemap consisting of float value without range limitation ,it means the cubemap consists number such like (5, -9.0,3,0.33)?
thanks!

Korval
07-06-2003, 02:03 PM
If you're fortunate enough to have the ATI_float_texture, you can use these formats just like other texture formats. Just like you can have luminance cubemaps, you can have 4-channel floating-point formats.

If you don't have access to this extension, there's nothing you can do.

Ostsol
07-06-2003, 03:08 PM
I also seem to recall something about NVidia not yet supporting floating point cubemaps in current drivers. Of course "current drivers" was sometime last month. . .

roffe
07-06-2003, 03:37 PM
Originally posted by Ostsol:
I also seem to recall something about NVidia not yet supporting floating point cubemaps in current drivers. Of course "current drivers" was sometime last month. . .

AFAIK, this is true, but if anyone has any info/updates on this please share!

You can of course fake a(1-channel) fp texture by using pack/unpack instructions on a 4-channel fixed point cubemap texture.