Jump to content
  • Advertisement
Sign in to follow this  

Problem with planar shadow

This topic is 3775 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!