mirror of
https://github.com/quantum5/punyverse.git
synced 2025-08-13 04:09:36 -04:00
13 lines
177 B
Plaintext
13 lines
177 B
Plaintext
|
#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);
|
||
|
}
|