Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gpu_shader_depth_only_frag.glsl « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1b9fd48c77aefb541bb6532ed72627ebf244e9a9 (plain)
1
2
3
4
5
6

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