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

19 lines
302 B
Text
Raw Normal View History

2020-02-13 10:39:26 -08:00
#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
2020-02-13 10:39:26 -08:00
void main(){
v_im_coords = im_coords;
v_opacity = opacity;
emit_gl_Position(point);
2020-02-13 10:39:26 -08:00
}