5 lines
155 B
GLSL
5 lines
155 B
GLSL
|
vec4 effect(vec4 vcolor, Image texture, vec2 tc, vec2 pc) {
|
||
|
vec4 tex_color = Texel(texture, tc);
|
||
|
return vec4(vcolor.rgb*tex_color.rgb, tex_color.a);
|
||
|
}
|