Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Shadwdrak

32bit Textures in 16bit app

This topic is 6306 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!