SpotLight shadow projection

Started by
11 comments, last by Tasaq 11 years, 8 months ago

Essentially if you read at address 1.25, -.25, your address will be changed to 1.0f, 0.0f.


Ouch, so that's why.
So that if statement must remain there? Or is there another better solution?
Advertisement
Yes, that if statement looks to cull out the pixels that are outside the light's range. Sorry I didn't look over it very well that first time.
Perception is when one imagination clashes with another

Yes, that if statement looks to cull out the pixels that are outside the light's range. Sorry I didn't look over it very well that first time.

Okay, thanks, you helped me a lot and I learned some new things :)
I already implemented pcf and everything looks fine :D

This topic is closed to new replies.

Advertisement