Jump to content
  • Advertisement
Sign in to follow this  
mameman

OpenGL OpenGL 16bit pixelformats

This topic is 4256 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

Hi, This is in further response to a topic started yesterday about OpenGL and whether it supports 16-bit pixelformats for images and textures and the like. I now know that it does (after being pointed in the right direction by you guys) ;). Now what I want to know is how to use these formats with an alpha channel. Sure I know that format R5G5B5 has an alpha channel but what about R5G6B5?. What technique (if any) should I be using so that I can can mark certain pixels in a texture that are not drawn?. Should I use some sort of masking technique?. Any suggestions/comments appreciated, MAMEman.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!