Saxum/data/shader/depth.fsh
2015-02-14 09:49:29 +01:00

8 lines
90 B
GLSL

#version 150
out float gl_FragDepth;
void main() {
gl_FragDepth = gl_FragCoord.z;
}