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

16 lines
195 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;
2023-02-16 16:47:59 -08:00
out float v_radius;
out vec4 v_rgba;
2023-01-18 15:36:00 -08:00
2021-01-04 13:26:58 -08:00
void main(){
2023-01-18 13:44:41 -08:00
v_point = point;
2023-02-16 16:47:59 -08:00
v_radius = radius;
v_rgba = rgba;
2021-01-04 13:26:58 -08:00
}