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

10 lines
219 B
GLSL

/* SPDX-FileCopyrightText: 2016-2022 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
void main()
{
/* No color output, only depth (line below is implicit). */
// gl_FragDepth = gl_FragCoord.z;
}