3b1b-manim/manimlib/shaders/quadratic_bezier/depth/frag.glsl
2024-08-20 12:58:34 -05:00

7 lines
86 B
GLSL

#version 330
out float frag_depth;
void main() {
frag_depth = gl_FragCoord.z;
}