1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-08 03:05:18 +01:00
Files
luanti/client/shaders/selection_shader/opengl_fragment.glsl
2025-11-06 19:31:35 +01:00

13 lines
234 B
GLSL

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;
fragColor = color;
}