Shadow Mapping Urgent Help?

I’m using OpenGL 3,3 and I’m having trouble implementing shadow mapping in my code. My code runs but I’m not getting the output I want. I have set up the shadow map FBO, depth texture and the necessary shaders, but I suspect when I’m trying to link it up to the main OpenGL application I’m going wrong somewhere. Maybe it’s when I have to render the scene from the lights POV. It’s part of my dissertation that’s due Wednesday so if anyone has any idea how to help, I’d really appreciate it. I have the code I can send ect.

  • Dan


You could start by seeing what the light POV render looks like. But if you don’t post some code it’s hard to give specific advice.