1 Reply Latest reply on Sep 27, 2012 7:41 AM by j_dupuy

    texture internalFormat bugs

    j_dupuy

      This is a bug report for catalyst 12.6.

      It seems that internalFormats GL_R3_G3_B2 and GL_RGBA2 are not implemented, I'm expecting these two commands to render the same texture:

      TexImage2D([...],GL_R3_G3_B2, [...], GL_RGB, GL_UNSIGNED_BYTE);

      TexImage2D([...],GL_R3_G3_B2, [...], GL_RGB, GL_UNSIGNED_BYTE_3_3_2);

       

      I've uploaded simple source code, makefile and vs2010 solution which are available here: https://github.com/jdupuy/textureInternalFormat/zipball/master

      (builds and runs on Ubuntu6410.10 and above and Windows7 x64)

      The code shows the generated texture above the expected texture (see below).

       

      GL_RGBA4 is ok (both textures are identical):

      rgba4ok.png

      ... but GL_R3_B3_B2 is not working:

      r3g3b2nok.png

      Cheers,

      J