Require the GEOMETRY bitmask to be set to receive the spotlights cone vertices
Disable depth-test and depth-write for debug and result effect. No need for them in these stages.
Removed unneccessary comment.
Removed unused variables. Use auto for uniforms