mirror of
https://github.com/quantum5/punyverse.git
synced 2025-08-02 22:08:17 -04:00
13 lines
177 B
GLSL
13 lines
177 B
GLSL
#version 130
|
|
|
|
in vec2 v_uv;
|
|
|
|
out vec4 o_fragColor;
|
|
|
|
uniform sampler2D u_alpha;
|
|
uniform vec3 u_color;
|
|
|
|
void main() {
|
|
o_fragColor = vec4(u_color, texture(u_alpha, v_uv).r);
|
|
}
|