This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu/shaders/gpu_shader_depth_only_frag.glsl

7 lines
109 B
GLSL
Raw Normal View History

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