32bit Textures in 16bit app

Started by
0 comments, last by Shadwdrak 23 years, 1 month ago
I have the code for loading 32 and 24bit tga''s into GL textures. I would like for my application to be able to run in 16 and 32bits. My question is, if the user wants to run in 16bit color, do I need to convert the 32 bit texture into a 16bit texture? If you didn''t catch it I am using OpenGL. -Will
Advertisement
nope, if the hardware requires that textures have the same bit-depth as the colour buffer, then glTexImage2D will take care of converting for you.

This topic is closed to new replies.

Advertisement