gl01/internal/igwrap/shader.frag
2022-01-20 21:58:50 +08:00

14 lines
194 B
GLSL

#version 330
uniform sampler2D tex;
in vec2 fragUV;
in vec4 fragColor;
out vec4 outputColor;
void main() {
outputColor = vec4(fragColor.rgb, fragColor.a * texture(tex, fragUV.st).r);
}