View Full Version : 16 bit float texture

08-19-2006, 01:43 PM
How do we upload a 16 bit float texture?
I know that internal formats exist like GL_RGBA16F_ARB and GL_RGB16F_ARB, but let's say I have a GL_RGBA16F_ARB in RAM and I want to upload it with glTexImage2D

08-19-2006, 05:48 PM
Use GL_ARB_half_float_pixel (http://oss.sgi.com/projects/ogl-sample/registry/ARB/half_float_pixel.txt) . For cards that don't support this extension, you need to expand to floats.

08-19-2006, 07:44 PM
Thanks, I forgot about that one.
It's odd that they created a separate extension from GL_ARB_texture_float