mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-10 04:53:07 +08:00
fix compile error with biome tint water and DH
This commit is contained in:
@@ -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