added comments, made code easier to read
moved state altering code from setUpFrameBuffer to setUpStates
added comments
Revert "added comments"

This reverts commit 713dad99ea7725588d6d5d78ca7fa0b5ce86c528.
Revert "Revert "added comments""

This reverts commit 4836c159ccdaf59fc36ef62aa665a36c30f244fa.
Revert "added comments"

This reverts commit 713dad99ea7725588d6d5d78ca7fa0b5ce86c528.
fixed texture coordinate generation quirk
placed shadow map drawing code after setUpModel