Ok so here I go, amateur me goes to learn how to do shadows... Oh man, OpenGL won't do it for me... Ok so I go look for tutorials... Then we find the shadow matrix... Now I got smart and just figured, if that is the standard for shadowing in OpenGL, I can just copy and paste =-).
So here's my problem. I have a sphere and a plane. I have a working shadowMatrix command and want to now: what variables, arrays and stuff that needs to go in the display code to get my shadows visible on the plane. I got reflections down and this is the only thing that hinders me =-(..



... Now I got smart and just figured, if that is the standard for shadowing in OpenGL, I can just copy and paste =-).
........
.