Files
escape-the-dawn/Escape-the-Dawn/Shaders/ShadowMap.frag.glsl
T
2014-03-12 21:40:19 +01:00

9 lines
128 B
GLSL

#version 430
uniform mat4 MVP;
layout(location = 0) out float FragmentDepth;
void main() {
FragmentDepth = gl_FragCoord.z;
}