• Advertisement

Archived

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

The Alpha Channel

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

Ok, quick question... In 32 bit display modes, the alpha channel is the most significant byte. ok, thats all well and good, but what does it do? Red, green, and blue set the color of the pixel, but i tried it, and no matter what i set the alpha to it doesn''t change a thing as far as appearence... what''s the deal?

Share this post


Link to post
Share on other sites
Advertisement
the alpha channel is the transparency. if it is 100% of the value (ie. 1.0f) then it will be opaque.

if it has no effect, ensure that it is enabled:

directx: a pixelformat like D3DFORMAT_A8R8G8B8 (sorry, i don''t know dx, that format was from memory)

gl: glEnable(GL_BLEND)


this is probably not the best description, there are stacks of tutorials on it tho'' so go and seek some out...

Share this post


Link to post
Share on other sites

  • Advertisement