hi everybody. i am using a 12-bit texture, but it doesnt work. my code is as blow:
glTexImage2D ( GL_TEXTURE_2D,
0,
GL_LUMINANCE12,
IMG_SIZE,
IMG_SIZE,
0,
GL_LUMINANCE,
image12bits );
image12bits is a 12 bits gray velue texture. if i change GL_LUMINANCE12 to GL_RGBA, and GL_LUMINANCE ro GL_RGBA, and use a RGBA texture, it works. is there any other things we should note if we apply a 12 bits texture.
thany you all!!
alex



