3b1b-manim/manimlib/shaders/quadratic_bezier/depth/frag.glsl

8 lines
86 B
Text
Raw Normal View History

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