Cyril
07-11-2007, 11:26 AM
I try to use a 3D texture with the new GL_DEPTH_COMPONENT32F_NV floating point depth buffer format (NV_depth_buffer_float) to render in a layered depth buffer but it don't seems to work. I get invalid_operation error on :
glTexImage3D( GL_TEXTURE_3D, 0, GL_DEPTH_COMPONENT32F_NV, 32, 32, 32, 0, GL_DEPTH_COMPONENT, GL_FLOAT, NULL);
The spec is not clear on the fact that this internal format is supported for 3D texture, anybody know if it should work ?
It seems to work with GL_TEXTURE_2D_ARRAY_EXT target so I wonder why it don't work with TEXTURE_3D.
I am using a 8800 GTS with 162.01 drivers under windows XP.
Thank you in advance.
glTexImage3D( GL_TEXTURE_3D, 0, GL_DEPTH_COMPONENT32F_NV, 32, 32, 32, 0, GL_DEPTH_COMPONENT, GL_FLOAT, NULL);
The spec is not clear on the fact that this internal format is supported for 3D texture, anybody know if it should work ?
It seems to work with GL_TEXTURE_2D_ARRAY_EXT target so I wonder why it don't work with TEXTURE_3D.
I am using a 8800 GTS with 162.01 drivers under windows XP.
Thank you in advance.