Sodium

Sodium

35M Downloads

Sides of water do not render on the edge of loaded chunks

djmrFunnyMan opened this issue ยท 5 comments

commented

Bug Description

In vanilla, when a water is next to unloaded chunks it'll have a water flowing texture facing into the unloaded chunk. Sodium removes this behaviour.

This causes issues for iris shaders as the the light doesn't get processed as having passed through water which looks wrong in deep ocean.
image
image

Reproduction Steps

  1. Run the vanilla game
  2. Lag the game by searching for a rare biome like eroded badlands
  3. Go to the edge of your loaded chunks and see the water side.
    2024-04-27_19 53 14
  4. Do the same thing with sodium
  5. Notice the water side is missing
    2024-04-27_19 48 56
  6. Get shaders+iris+sodium
  7. Go to a deep ocean or lower your render distance and observe the issue below
    image

Log File

Not necessary

Crash Report

Not necessary

commented

Pretty sure this is by design and not really fixable. Doing it the vanilla way would cause a significant increase in the number of required chunk remeshes (because every time a neighbor is loaded, the chunk itself has to be updated to remove the water wall).

commented

The issue with shadows is something that iris could fix specifically to prevent light leaking like this. There's a few ideas but it's complicated.

commented

Should I open an issue on the iris repository then?

commented

This is the same problem as #2031, where chunks that shouldn't be meshed are forced to when the player gets close enough at a short render distance. It won't be fixed.

commented

Iris is aware of the light leaking problem, you don't need to make an issue for it.