mirror of
https://github.com/minetest/minetest.git
synced 2024-11-14 19:53:44 +01:00
10 lines
175 B
GLSL
10 lines
175 B
GLSL
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;
|
|
}
|