Update core and fix under lava (and powder snow) render fog issue

This commit is contained in:
tom lee
2022-01-20 21:55:17 +08:00
parent ce597576ba
commit 8e1559ac61
2 changed files with 4 additions and 4 deletions
@@ -105,7 +105,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
float[] colorValues = RenderSystem.getShaderFogColor();
return new Color(colorValues[0], colorValues[1], colorValues[2], colorValues[3]);
}
// getUnderWaterFogColor() is the same as getFogColor()
// getSpecialFogColor() is the same as getFogColor()
@Override
public Color getSkyColor() {
@@ -296,8 +296,8 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
}
@Override
public boolean isFogStateInUnderWater() {
return GAME_RENDERER.getMainCamera().getFluidInCamera() == FogType.WATER;
public boolean isFogStateSpecial() {
return GAME_RENDERER.getMainCamera().getFluidInCamera() != FogType.NONE;
}
@Override
+1 -1
Submodule core updated: c69569c95f...dc0e48ae2a