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: 60e71e19004de8ef72cd54e666b21c2a47e011dc (plain)
1
2
3
4
5
6

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