#39469 - FeaRog - Sat Apr 09, 2005 7:28 am
I'm messing around with textures in 3D with the 3D example in ndslib, and I find that the green component is always very dull. I'm specifying the texture format as GL_RGBA, and the format i'm using is ABBBBBGGGGGRRRRR, generated by my own tool.
Using a texture with a red stripe, a green stripe, and a blue stripe, the red and blue are vivid and bright, however the green appears like its only half of what it should be (eg 128 as opposed to 255).
Has anyone got any ideas?
Also: if I change the format to GL_RGB (supposedly 16-bit with no alpha), it behaves exactly the same as GL_RGBA - ie if the MSB is not set then it is transparent.
Using a texture with a red stripe, a green stripe, and a blue stripe, the red and blue are vivid and bright, however the green appears like its only half of what it should be (eg 128 as opposed to 255).
Has anyone got any ideas?
Also: if I change the format to GL_RGB (supposedly 16-bit with no alpha), it behaves exactly the same as GL_RGBA - ie if the MSB is not set then it is transparent.