3b1b-manim/manimlib/shaders/quadratic_bezier_fill_vert.glsl

16 lines
226 B
Text
Raw Normal View History

2020-02-03 10:52:39 -08:00
#version 330
in vec2 point;
in vec4 color;
in float fill_type;
out vec2 bp; // Bezier control point
out vec4 v_color;
out float v_fill_type;
void main(){
bp = point;
v_color = color;
v_fill_type = fill_type;
}