Added terrain global for heightmap/shademap, removed requirement for sampler objects
reverting context to OpenGL 3.0
switching to OpenGL 3.1
start of shadow generator
making depth optional for the gbuffer
shadows