Create FBO for shadowmap on each light node.
Start building the shadowmaps for spotlights.
Fixed compiler errors.
Can now render shadowmaps into the depthbuff.
Added code to get matrices and shadowmaps from lights.

Also did some template code for `fmap` and `flatten`. Could be useful
later on.
Added some comments.
Can now pass shadowmap stuff to the shader.

Pass vectors of view and perspective matrices, and a vector with the
shadow map samplers.
Changed light to be orthogonal (sun ray)
Pass light coordinates and inverse camera in render pass.
Query against shadow map and light accordingly. (Works).
Reduced surface acne
Fix for shader locations.
Merge pull request #1 from TheSlothExperience/qrc-fix

Fix for shader locations.
Changed camera again to rotate around the POI.
Merge branch 'master' into shadows

Added Darius cartoon effects.
Added shadowmap and test into toon shader.
Set tesselation to max.
The light pass now stores the 2 depth moments.
Test shadow map with chebyshev inequality.
Reduce light bleeding.