tornavis/source/blender/gpu/shaders/gpu_shader_depth_only_frag....

7 lines
115 B
GLSL

void main()
{
/* No color output, only depth (line below is implicit). */
// gl_FragDepth = gl_FragCoord.z;
}