View Full Version : Still another beginner Blending Question...

Jack Dingler
03-23-2006, 01:05 PM
Starting with the checker.c example;

If I set the color bits to 0 for black and the alpha channel to 127, I get gray colored textures.

Setting the alpha channel to 0, makes the texture appear white.

How do I get this texture to blend? I would expect that a black texture would appear black against a black background no matter the alpha values.

Jack Dingler
03-23-2006, 02:47 PM
Looks like I was misusing the GL_RGBA setting.

03-31-2006, 12:43 AM
if you look at gl.h

#define GL_RGBA GL_RGB

so it is weird, but good