WIP Shadow Mapping

This commit is contained in:
2014-03-12 21:40:19 +01:00
parent f48cb32008
commit 77aff3c078
15 changed files with 395 additions and 103 deletions
@@ -0,0 +1,9 @@
#version 430
uniform mat4 MVP;
layout(location = 0) out float FragmentDepth;
void main() {
FragmentDepth = gl_FragCoord.z;
}