Jay Cornwall
08-26-2006, 07:29 AM
How did this slip by me?
The following base internal formats from table 3.15 are "color-renderable": RGB, RGBA, FLOAT_R_NV, FLOAT_RG_NV, FLOAT_RGB_NV, and FLOAT_RGBA_NV. The sized internal formats from table 3.16 that have a color-renderable base internal format are also color-renderable.And sure enough GL_FLOAT_R_NV as an internal format produces faster results than emulating it with a three-/four-component texture. GL_RED is the texture format to read back.
Now I just need to figure out the texture format for GL_FLOAT_RG_NV! I only see GL_RED, GL_RGB and GL_RGBA in gl.h. :confused:
The following base internal formats from table 3.15 are "color-renderable": RGB, RGBA, FLOAT_R_NV, FLOAT_RG_NV, FLOAT_RGB_NV, and FLOAT_RGBA_NV. The sized internal formats from table 3.16 that have a color-renderable base internal format are also color-renderable.And sure enough GL_FLOAT_R_NV as an internal format produces faster results than emulating it with a three-/four-component texture. GL_RED is the texture format to read back.
Now I just need to figure out the texture format for GL_FLOAT_RG_NV! I only see GL_RED, GL_RGB and GL_RGBA in gl.h. :confused: