mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-15 05:45:13 -05:00
10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
|
uniform sampler2D baseTexture;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
vec2 uv = gl_TexCoord[0].st;
|
||
|
vec4 color = texture2D(baseTexture, uv);
|
||
|
color.rgb *= gl_Color.rgb;
|
||
|
gl_FragColor = color;
|
||
|
}
|