flamz
06-02-2005, 10:19 AM
I am having trouble defining a floating point cubic texture. Not even sure if it's supported (nothing is mentionned about cubic textures in the extension's specs).
basically I do:
- glGenTextures
- glBindTexture(GL_TEXTURE_CUBE_MAP_ARB...
for 1 to 6
- glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_XXX_ARB, 0, 3, 512, 512, 0, GL_FLOAT_RGB32_NV, GL_FLOAT, data);
but the texture ends up all black.
any ideas?
basically I do:
- glGenTextures
- glBindTexture(GL_TEXTURE_CUBE_MAP_ARB...
for 1 to 6
- glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_XXX_ARB, 0, 3, 512, 512, 0, GL_FLOAT_RGB32_NV, GL_FLOAT, data);
but the texture ends up all black.
any ideas?