3b1b-manim/manimlib/shaders/quadratic_bezier_depth/frag.glsl
2024-08-19 14:09:07 -05:00

7 lines
86 B
GLSL

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