Update core and fix under lava (and powder snow) render fog issue
This commit is contained in:
+3
-3
@@ -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
Reference in New Issue
Block a user