mirror of
https://github.com/3b1b/manim.git
synced 2025-07-27 20:12:24 +08:00
17 lines
369 B
GLSL
17 lines
369 B
GLSL
#version 330
|
|
|
|
uniform vec2 frame_shape;
|
|
uniform float anti_alias_width;
|
|
uniform mat4 to_screen_space;
|
|
uniform float is_fixed_in_frame;
|
|
uniform float focal_distance;
|
|
|
|
in vec3 point;
|
|
|
|
// Analog of import for manim only
|
|
#INSERT get_gl_Position.glsl
|
|
#INSERT position_point_into_frame.glsl
|
|
|
|
void main(){
|
|
gl_Position = get_gl_Position(position_point_into_frame(point));
|
|
} |