mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
10 lines
175 B
Text
10 lines
175 B
Text
|
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;
|
||
|
}
|