mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-11 17:58:20 +08:00
fix compile error with biome tint water and DH
This commit is contained in:
1 parent
a97cec0f09
commit
59efecce85
1 file changed
+1
-1
@@ -493,7 +493,7 @@ if (gl_FragCoord.x * texelSize.x < 1.0 && gl_FragCoord.y * texelSize.y < 1.0 )
|
||||
vec4 GLASS_TINT_COLORS = vec4(Albedo, UnchangedAlpha);
|
||||
|
||||
#ifdef BIOME_TINT_WATER
|
||||
if (isWater) GLASS_TINT_COLORS.rgb = toLinear(gcolor.rgb);
|
||||
if (iswater) GLASS_TINT_COLORS.rgb = toLinear(gcolor.rgb);
|
||||
#endif
|
||||
|
||||
vec4 blockBreak = texelFetch(colortex11, ivec2(gl_FragCoord.xy), 0);
|
||||
|
||||
Reference in new issue
Block a user