public class FogRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FogRenderer.FogType |
Modifier and Type | Field and Description |
---|---|
private static float |
blue |
private static float |
green |
private static int |
lastWaterFogColor |
private static float |
red |
private static int |
waterFogColor |
private static long |
waterFogUpdateTime |
Constructor and Description |
---|
FogRenderer() |
Modifier and Type | Method and Description |
---|---|
static void |
applyFog() |
static void |
resetFog() |
static void |
setupFog(ActiveRenderInfo activeRenderInfoIn,
FogRenderer.FogType fogTypeIn,
float farPlaneDistance,
boolean nearFog)
Deprecated.
|
static void |
setupFog(ActiveRenderInfo activeRenderInfoIn,
FogRenderer.FogType fogTypeIn,
float farPlaneDistance,
boolean nearFog,
float partialTicks) |
static void |
updateFogColor(ActiveRenderInfo activeRenderInfoIn,
float partialTicks,
ClientWorld worldIn,
int renderDistanceChunks,
float bossColorModifier) |
private static float red
private static float green
private static float blue
private static int lastWaterFogColor
private static int waterFogColor
private static long waterFogUpdateTime
public static void updateFogColor(ActiveRenderInfo activeRenderInfoIn, float partialTicks, ClientWorld worldIn, int renderDistanceChunks, float bossColorModifier)
public static void resetFog()
@Deprecated public static void setupFog(ActiveRenderInfo activeRenderInfoIn, FogRenderer.FogType fogTypeIn, float farPlaneDistance, boolean nearFog)
public static void setupFog(ActiveRenderInfo activeRenderInfoIn, FogRenderer.FogType fogTypeIn, float farPlaneDistance, boolean nearFog, float partialTicks)
public static void applyFog()