Sprites and opengl question

Started by
1 comment, last by HopeDagger 19 years, 3 months ago
Is there an easy way of setting a transparent color that will not be displayed in bitmap textures? I'm starting a simple 2d rpg and would like to avoid using seperate masking textures, is this possible? If it is not, then does anyone know an easy way of creating a mask for a bitmap? I'm using openGL and c++ Thanks for your help!
Advertisement
Is there a problem with using 32 bit colour? This is what the alpha channel is for.
Harry.
Check out NeHe Lesson 32, which covers alpha testing (as well as sorting/picking). Good luck!

This topic is closed to new replies.

Advertisement