Files
test/source/blender/gpu/shaders/gpu_shader_depth_only_frag.glsl
2022-03-16 15:30:22 +11:00

7 lines
115 B
GLSL

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