This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/loshader/event_line.fshader
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

12 lines
199 B
GLSL

layout (location = 0) uniform sampler2D u_tex;
in vec2 v_uv;
in vec4 v_color;
out vec4 o_color;
void main(void) {
float a = texture(u_tex, v_uv).r;
o_color = vec4(v_color.rgb, v_color.a*a);
}