mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Don't globally set float precision to mediump, only fragment shaders need that and defining it for vertex shaders causes tilemap cracks. Also manually define low precision for variables that hold color / alpha values.
7 lines
70 B
GLSL
7 lines
70 B
GLSL
|
|
varying lowp vec4 v_color;
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = v_color;
|
|
}
|