floating point cubic textures?

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?

AFAIK NV_float_buffer floating point formats are only available for rectangular textures targets (EXT/ARB_texture_rectangle).

You can only use float cubemap targets with GF6200+ and Radeon9500+

The GL_NV_float_buffer extension (GeForce 5200+) is limited to the TEXTURE_RECTANGLE texture target. The GL_ARB_texture_float/GL_ATI_texture_float extension (GeForce 6200+) can be used for all texture targets.