glslang/Test/depthOut.frag

11 lines
134 B
GLSL

#version 130
varying vec4 Color;
varying float Depth;
void main()
{
gl_FragDepth = Depth;
gl_FragColor = Color;
}