Sodium

Sodium

35M Downloads

Reimplement the option to change the fog type

cavallium opened this issue ยท 4 comments

commented

Is your feature request related to a problem? Please describe.
Minecraft allows you to disable fog. Sodium doesn't.

Describe the solution you'd like
ChunkFogMode.java has already the possibility to change the fog type, in getActiveMode().
Add an option to disable fog, so that if the option is true the function returns ChunkFogMode.NONE.

commented

What option in Minecraft allows you to disable fog?

commented

Sorry probably it was in OptiFine

commented

By the way, changing it to none seems to work well, so it can be implemented in Sodium.

commented

The point of this function is that if another mod calls glDisable(GL11.GL_FOG) (as effectively all other fog-disabling mods do) that the getActiveMode() function will see the state change and return ChunkFogMode.NONE. There is nothing for Sodium to implement here.