mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-02 03:05:32 +01:00
Fix selection fragment shader compile error on GL 3
This commit is contained in:
@@ -8,5 +8,5 @@ void main(void)
|
|||||||
vec2 uv = varTexCoord.st;
|
vec2 uv = varTexCoord.st;
|
||||||
vec4 color = texture2D(baseTexture, uv);
|
vec4 color = texture2D(baseTexture, uv);
|
||||||
color.rgb *= varColor.rgb;
|
color.rgb *= varColor.rgb;
|
||||||
fragColor = color;
|
gl_FragColor = color;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user