2016-02-07 04:08:43 +01:00
|
|
|
uniform sampler2D baseTexture;
|
|
|
|
|
2020-10-25 20:01:03 +03:00
|
|
|
varying lowp vec4 varColor;
|
|
|
|
varying mediump vec2 varTexCoord;
|
|
|
|
|
2016-02-07 04:08:43 +01:00
|
|
|
void main(void)
|
|
|
|
{
|
2020-10-25 20:01:03 +03:00
|
|
|
vec2 uv = varTexCoord.st;
|
2016-02-07 04:08:43 +01:00
|
|
|
vec4 color = texture2D(baseTexture, uv);
|
2020-10-25 20:01:03 +03:00
|
|
|
color.rgb *= varColor.rgb;
|
2016-02-07 04:08:43 +01:00
|
|
|
gl_FragColor = color;
|
|
|
|
}
|