Add broken depth testing
Writes depth map to asdf.tga
Breaks when you bind an offscreen framebuffer
fix depthbuffer rendering
fix so it is opengl 3.0 compatable
broken shadows
fix shadows
add anti-aliasing to shadows
Fix invalid usage of glDrawBuffer()
Merge branch 'lighting' of https://github.com/FastQuake/E410 into lighting

Conflicts:
	Graphics/RenderManager.cpp
fix vec3 in shader
Merge branch 'lighting' of http://github.com/Fastquake/E410 into lighting
remove debug pixel buffer
Workaround i965 driver bug
fix shadows not rendering under ground
Merge branch 'lighting' of https://github.com/FastQuake/E410 into lighting

Conflicts:
	Graphics/RenderManager.cpp
Add required enabling and disabling of vertex attribute
switch to premake4
improve premake file
static link lua
statically link some stuff
remove glew from static linking