Transpernecy..
I need to show a bitmap, 16m color, and like to implement transperency such that, beside the main picture, remaining area of color black(0,0,0) or white(255,255,255) should not show, I tried blending, but can''t get it work, does anybody has solution.
You should take a look at NeHe''s latest tutorial. It shows you how to load TGA files that support Alpha channels. they should give you the effect your looking for.
-----------------------------
Blue*Omega
(Insert Witty Quote Here)
-----------------------------
Blue*Omega
(Insert Witty Quote Here)
// Tojiart
You are talking about Masking, that''s what you want to do. Read up Nehe''s Tutorial #20. That is exactly what you are looking for.
Neo
Neo
Well, I am talking about Color Key, like in DirectDraw, is masking same as color key?
actually the correct way to do colour masking is with glColorMask(....) not how its done in tut20
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement