mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
17 lines
No EOL
299 B
GLSL
17 lines
No EOL
299 B
GLSL
#version 330
|
|
|
|
in vec3 point;
|
|
in vec4 fill_rgba;
|
|
in vec3 base_normal;
|
|
|
|
out vec3 verts; // Bezier control point
|
|
out vec4 v_color;
|
|
out vec3 v_base_normal;
|
|
out int v_vert_index;
|
|
|
|
void main(){
|
|
verts = point;
|
|
v_color = fill_rgba;
|
|
v_base_normal = base_normal;
|
|
v_vert_index = gl_VertexID;
|
|
} |