mirror of
https://github.com/MCLx86/xtreemtest.git
synced 2024-11-25 03:32:14 +01:00
13 lines
235 B
Plaintext
13 lines
235 B
Plaintext
|
uniform sampler2D baseTexture;
|
||
|
|
||
|
varying lowp vec4 varColor;
|
||
|
varying mediump vec2 varTexCoord;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
vec2 uv = varTexCoord.st;
|
||
|
vec4 color = texture2D(baseTexture, uv);
|
||
|
color.rgb *= varColor.rgb;
|
||
|
gl_FragColor = color;
|
||
|
}
|