3b1b-manim/manimlib/shaders/true_dot/vert.glsl

17 lines
253 B
Text
Raw Normal View History

2021-01-04 13:26:58 -08:00
#version 330
in vec3 point;
in float radius;
2023-01-15 19:09:29 -08:00
in vec4 rgba;
2021-01-04 13:26:58 -08:00
out vec3 v_point;
out float v_radius;
out vec4 v_color;
#INSERT get_gl_Position.glsl
2021-01-04 13:26:58 -08:00
void main(){
v_point = position_point_into_frame(point);
v_radius = radius;
2023-01-15 19:09:29 -08:00
v_color = rgba;
2021-01-04 13:26:58 -08:00
}