mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
19 lines
302 B
GLSL
19 lines
302 B
GLSL
#version 330
|
|
|
|
uniform sampler2D Texture;
|
|
|
|
in vec3 point;
|
|
in vec2 im_coords;
|
|
in float opacity;
|
|
|
|
out vec2 v_im_coords;
|
|
out float v_opacity;
|
|
|
|
// Analog of import for manim only
|
|
#INSERT emit_gl_Position.glsl
|
|
|
|
void main(){
|
|
v_im_coords = im_coords;
|
|
v_opacity = opacity;
|
|
emit_gl_Position(point);
|
|
} |