mirror of
https://github.com/3b1b/manim.git
synced 2025-07-27 03:52:20 +08:00
13 lines
200 B
GLSL
13 lines
200 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;
|
|
} |