If i have more than a single one point light, how to create real-visible effect of the shadow overlapping? I suppose using glBlendFunc() but dunno how.Please help!
You do a multipass solution:
For each light:
- Clear the stencil buffer
- Create a stencil mask from light ānā
- Add the light from light ānā to the unmasked regions.
/A.B.