mirror of
https://github.com/3b1b/manim.git
synced 2025-07-27 20:12:24 +08:00
13 lines
199 B
GLSL
13 lines
199 B
GLSL
#version 330
|
|
|
|
uniform sampler2D Texture;
|
|
|
|
in vec2 v_im_coords;
|
|
in float v_opacity;
|
|
|
|
out vec4 frag_color;
|
|
|
|
void main() {
|
|
frag_color = texture(Texture, v_im_coords);
|
|
frag_color.a = v_opacity;
|
|
} |