Sign in to follow this  
Pooya65

Problem with planar shadow

Recommended Posts

i have a little problem with planar shadow when i use blending. when i use blendig some spots shown in the shadow, how can i remove this spots?! problem shown at this shot: http://psware.persiangig.com/e/KGE_test/shadow.PNG and this is my code for blending: glEnable(GL_EXT_blend_color); glBlendColor(0.5,0.5,0.5,0.5); glBlendFunc(GL_CONSTANT_ALPHA,GL_ONE_MINUS_CONSTANT_COLOR ); ( i must use blend-color)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this