Dingo
04-01-2001, 12:54 AM
First of all I just want to say: I'm not sure this topic belongs here on the adv. section, if It doesn't, forgive me, but plz answer my question anyway.
Well, this is what I want!
When loading a bitmap, and just blitting it to the screen, using standard Windows API, there's a command called TransparentBlit() "or something like that" That allows the programmer to set one specific color which will be interpreted as transparent. Is it possible to do someting similar in opengl programming and if it is, how is it done?
One guy told me I should use blending, but I can't figure out how to accomplish my goal with that.
And do not tell me to read the RedBook.. I'm not in the mood for that rigth now.
/Thx Dingo
Well, this is what I want!
When loading a bitmap, and just blitting it to the screen, using standard Windows API, there's a command called TransparentBlit() "or something like that" That allows the programmer to set one specific color which will be interpreted as transparent. Is it possible to do someting similar in opengl programming and if it is, how is it done?
One guy told me I should use blending, but I can't figure out how to accomplish my goal with that.
And do not tell me to read the RedBook.. I'm not in the mood for that rigth now.
/Thx Dingo