mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
19 lines
307 B
GLSL
19 lines
307 B
GLSL
#version 330
|
|
|
|
#INSERT camera_uniform_declarations.glsl
|
|
|
|
in vec3 point;
|
|
in float radius;
|
|
in vec4 color;
|
|
|
|
out vec3 v_point;
|
|
out float v_radius;
|
|
out vec4 v_color;
|
|
|
|
#INSERT position_point_into_frame.glsl
|
|
|
|
void main(){
|
|
v_point = position_point_into_frame(point);
|
|
v_radius = radius;
|
|
v_color = color;
|
|
} |