Original Post
Hi, I've got a slight problem with my projective texturing. I'm trying to implement the Soft-Edged Shadows article by Shastry. I'm currently trying to just get it to work in RenderMonkey. I've set everything up according to the article. I know that my depth texture is being computed properly, it just doesn't project correctly on the final scene. I created my matrices exactly as specified. Here's a screenshot of what I'm getting currently. I'm rendering the scene from the same position and everything as the light. Am I correct in assuming that this should be a fully lit scene with those settings?
My current texture projection matrix is The 0.50098 is 0.5 + (0.5 / 512) with 512 being the texture dimensions. I've been fighting with this all day and I'd really like to know what I'm doing wrong. Edit: Oh yeah, the teapot is artificially lightened to that dark grey to make the shadowed parts visible for testing, it's not part of the depth texture.
My current texture projection matrix is 0.5 0.0 0.0 0.0
0.0 -0.5 0.0 0.0
0.0 0.0 1.0 0.0
0.50098 0.50098 0.0 1.1