Threaded View

Shadow mapping

Hi! For the last couple of weeks I've been trying to render a simple scene with 3 objects, using phong shading model and simple shadow mapping. I found many tutorials and tried many things, but I still can't show any shadows currently. It's my first OpenGL project at all and unfortunately I'm completely stuck at this point.

I post my code here for reference. I would be very glad to receive any help or advice to make it work!