SNKRX/assets/shaders/replace.frag

5 lines
141 B
GLSL

vec4 effect(vec4 vcolor, Image texture, vec2 tc, vec2 pc) {
vec4 tex_color = Texel(texture, tc);
return vec4(vcolor.rgb, tex_color.a);
}