Sodium

Sodium

44M Downloads

Fog Occlusion causes chunks the player is not in to not render under lava

saltyseadoggo opened this issue ยท 2 comments

commented

Expected behaviour

When the player is swimming in lava and using the Fire Resistance effect to see, and they have Fog Occlusion turned on in the graphics settings, nearby chunks that the player is not in should render, as they do in vanilla.

Actual behaviour

When the player is swimming in lava and using the Fire Resistance effect to see, and they have Fog Occlusion turned on in the graphics settings, all chunks that the player is not in do not render at all. This causes areas potentially very close to the player to be invisible until the player sets foot in them, and makes navigating under lava difficult.

Reproduction steps

  • Ensure that Fog Occlusion is turned on in the graphics settings.
  • Create a new world of any type in Creative mode.
  • Press F3 and G to see chunk boundaries
  • Construct this between at least two chunks:
    2020-09-29_22 18 14
  • Use the Creative menu to obtain a Potion of Fire Resistance and drink it, or obtain the effect via /effect.
  • Enter the lava pool. Blocks near the player are visible due to the Fire Resistance effect, but ones beyond the chunk boundaries shown by F3-G are not.

Attachments

2020-09-29_22 17 51
2020-09-29_22 18 06
2020-09-29_22 18 07

System Information

  • Java Version: 11.0.8 64bit
  • CPU: 4x Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
  • GPU: Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2)
commented

Pretty sure this is a duplicate of #35, just with lava.

commented

Closing as duplicate of #35.