Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: LUMINANCE32F and ...16F FBOs on ATI?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Sep 2002
    Location
    Germany
    Posts
    205

    LUMINANCE32F and ...16F FBOs on ATI?

    Does ATI support LUMINANCE32F and ...16F color attachments for FBOs? After reading back the content after rendering into the FBO, all values are clamped to [0, 1]. The same code works as expected (without clamping) on NVidia systems. If I change the type to RGBA_32F it also works for ATI systems. But I don't need the extra 3 components and they are a huge waste of memory and bandwidth...

    I also tried the GL_clamp_color_ARB extension, disabling the color clamps, but without success...

  2. #2
    Advanced Member Frequent Contributor scratt's Avatar
    Join Date
    May 2008
    Location
    Thailand
    Posts
    556

    Re: LUMINANCE32F and ...16F FBOs on ATI?

    I noticed noone else replied yet.. FWIW, and I am not sure what you are doing, but I run HDR in an FBO on ATI using GL_RGBA8.

    Like I said I am not sure if that's even helpful, but I had problems with some of the float formats on ATI, and LUMINANCE in general.

    I didn't investigate it much further after I found a solution that works for me.

    I was just thinking if you are reading it back, then you might be able to fudge something with shaders and a different format.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2009
    Posts
    5

    Re: LUMINANCE32F and ...16F FBOs on ATI?

    LUMINANCE 3F2 and 16F should work fine. Do you have a sample with the issue?

  4. #4
    Junior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    France
    Posts
    193

    Re: LUMINANCE32F and ...16F FBOs on ATI?

    Did you try with a GL_R32F or GL_R16F attachment ?

  5. #5
    Senior Member OpenGL Pro dletozeun's Avatar
    Join Date
    Jan 2006
    Location
    FRANCE
    Posts
    1,370

    Re: LUMINANCE32F and ...16F FBOs on ATI?

    Are you sure you will save bandwidth and memory usage with LUMINANCE32F or LUMINANCE16F formats? It is not the case with the fixed point LUMINANCE format. The luminance value is duplicated in all RGB and A channels, but maybe it is not the case with floating point format. Need to be checked.

  6. #6
    Junior Member Regular Contributor
    Join Date
    Mar 2007
    Location
    Latvia
    Posts
    225

    Re: LUMINANCE32F and ...16F FBOs on ATI?

    ATI_OpenGL_Programming_and_Optimization_Guide.pdf says that Luminance formats 32f and 16f and also fixed point formats like lum8, lum16. nv_ogl_texture_formats.pdf says the same thing for nvidia except lum16f format which uses lum_alpha_16f internally.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •