Files
manim/manimlib/shaders/scale_and_shift_point_for_frame.glsl

8 lines
196 B
GLSL

// Assumes the following uniforms exist in the surrounding context:
// uniform vec2 frame_shape;
// TODO, rename
vec3 get_gl_Position(vec3 point){
point.x /= aspect_ratio;
return point;
}