problem in planar shadow

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:

and this is my code for blending:


( i must use blend-color)

You can use stencil buffer to prevent the rendering from updating one pixel multiple times. See this paper for details.