I need to display 10 bits texture coming from 10 Bits dpx file.
1)- I have a firepro, so I can enable 10 bits opengl output (that's what I wants to do add the end). For now I have disable it, and it hopes to see the 10 bits texture in a 8 bits per pixel opengl view.
I can see something but the color are strange and it's not a simple swap of color ( for example part of a grayscale have color !) . I use :
GL_UNSIGNED_INT_10_10_10_2 (I have also tryed GL_UNSIGNED_INT_2_10_10_10_REV)texture format : GL_RGBA and internal format : GL_RGB10_A2
Do I need a special shader to display the 10 bits texture on a 8 bits /channels fbo ?
2)- I need to use alpha channel for compositing : I have intermediate fbo : What format should I use to preserve the 10 bits texture and have access to full range alpha for compositing : Do I need to use for example RGBA12 or RGBA16 ?