mirror of
https://github.com/3b1b/manim.git
synced 2025-08-20 05:14:12 +00:00
21 lines
No EOL
415 B
GLSL
21 lines
No EOL
415 B
GLSL
#version 330
|
|
|
|
in vec3 point;
|
|
in vec4 fill_rgba;
|
|
in float orientation;
|
|
in float vert_index;
|
|
|
|
out vec3 verts; // Bezier control point
|
|
out float v_orientation;
|
|
out vec4 v_color;
|
|
out float v_vert_index;
|
|
|
|
// Analog of import for manim only
|
|
#INSERT get_gl_Position.glsl
|
|
|
|
void main(){
|
|
verts = position_point_into_frame(point);
|
|
v_orientation = orientation;
|
|
v_color = fill_rgba;
|
|
v_vert_index = vert_index;
|
|
} |