Blending Problems
How can I make a blend effect like the one that you get looking through a red glass?
Thanxxxxxxxxxxx
Magic
i was just reading about that, it goes something like this:
(er..this is probably for 2d but hopefully can spark anidea)
it''''s all about a good time!
-
L
O
K
A
P
U
J
A
-
(er..this is probably for 2d but hopefully can spark anidea)
glEnable (GL_BLEND); glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glShadeModel (GL_FLAT); glClearColor (0.0, 0.0, 0.0, 0.0); drawscene(); glColor4f(1.0, 0.0, 0.0, 0.5); //color for red glass drawglass()
it''''s all about a good time!
-
L
O
K
A
P
U
J
A
-
it's all about a good time!AOLIM name: -LOKAPUJA-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement