Use forge event's fog handlers instead of RenderSystem calls
AlexModGuy opened this issue ยท 0 comments
To improve compatibility (such as with mods like Alex's Caves, see AlexModGuy/AlexsCaves#729), calls to
RenderSystem.setShaderFogStart() should be replaced with event.setNearPlaneDistance() and RenderSystem.setShaderFogEnd() should be replaced with event.setFarPlaneDistance() . The event should also be canceled to notify the forge pipeline that the fog behavior has changed.