The problem in the previous post was that I was forgetting to perform the perspective divide on the vertices. I was already doing the divide on the texture coordinates.
Updated source
View rendered from eye space:

View rendered from the light's point of view:

Notice how the shadow isn't visible from the light's point of view?
No comments:
Post a Comment