crazyfuturamanoob
October 16th, 2008, 08:24 AM
I don't know anything about blending functions. I only know they affect colors.
And I want to do that like blending:
http://images.gamedev.net/features/programming/2dsoftshadow/02BasicPP.gif
I got an alpha mask. But how to draw the alpha mask with blending functions so all pixels with a small alpha value will be black and all other pixels with larger alpha value will be transparent/visible.
And I want to do that like blending:
http://images.gamedev.net/features/programming/2dsoftshadow/02BasicPP.gif
I got an alpha mask. But how to draw the alpha mask with blending functions so all pixels with a small alpha value will be black and all other pixels with larger alpha value will be transparent/visible.