gl01/internal/igwrap/shader.frag

14 lines
194 B
GLSL
Raw Normal View History

2022-01-20 21:58:50 +08:00
#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);
}