Hello again people!
I’ve got a 16bit image that I would like to load as a texture.But I’m not sure as to what I should fill the parameters for the glTexImage2D function should be.Help!
I know for a 24bit image it should be:
glTexImage2D(GL_TEXTURE_2D, 0, 3, Width,Height,0, GL_BGR_EXT,GL_UNSIGNED_BYTE, Data);
How should this statement look like for a 16 bit texture?