1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Apply suggested changes

This commit is contained in:
Gefüllte Taubenbrust 2025-01-14 20:28:54 +01:00
parent 7fdad3600e
commit 632bd7a5f7
5 changed files with 18 additions and 21 deletions

View file

@ -33,4 +33,4 @@ void main (void)
vec4 col = vec4(color.rgb, base.a);
col *= varColor;
gl_FragColor = vec4(col.rgb, base.a);
}
}

View file

@ -1,7 +1,4 @@
uniform sampler2D baseTexture;
uniform vec2 texelSize0;
varying vec3 sunTint;
uniform vec3 dayLight;
uniform lowp vec4 fogColor;
@ -33,6 +30,7 @@ uniform float animationTimer;
varying float f_normal_length;
varying vec3 shadow_position;
varying float perspective_factor;
varying vec3 sunTint;
#endif
varying vec3 vNormal;

View file

@ -58,7 +58,9 @@ uniform float xyPerspectiveBias0;
uniform float xyPerspectiveBias1;
uniform float zPerspectiveBias;
uniform vec3 beta_r0_l;
#ifdef ENABLE_TINTED_SUNLIGHT
uniform vec3 beta_r0_l;
#endif
#ifdef ENABLE_DYNAMIC_SHADOWS