I'm trying to do shadow mapping. Unfortunately, I can't get the shadow to be displayed. I checked with gDEbugger, the shadow map is correct, but I'm not sure if I calculate the shadows properly.
here's the project:
I also attached an image of the shadow map depth texture.
any idea what is wrong?