Sodium

Sodium

35M Downloads

Incorrect rendering of snow overlay on blocks when using a 32x32 resource pack.

Giacomino99 opened this issue ยท 3 comments

commented

Version information

sodium-fabric-mc1.17.1-0.3.2+build.7

Expected Behavior

When using a 32x32 texture pack, snow on the top of a block adds an overlay to the side of blocks to make them look snowy. The blocks are rendered correctly in vanilla Minecraft as well as in Fabric without Sodium.
vin

Actual Behavior

When using Sodium the snow overlay is rendered incorrectly. Half the faces are rendered with the overlay but the block texture is incorrect. The other half of the faces have Z-fighting between the correct block texture and the solid color. This happens when snow is placed on all blocks, not just grass.
wrongt
zfight

Reproduction Steps

  1. Load Minecraft with Fabric and Sodium.
  2. Load a resource pack (The exact one I used: Dokucraft Light).
  3. Place snow on any block.
  4. Snow will not render correctly.

Java version

Java 17

CPU

Intel Core i7-9700K

GPU

Nvidia GeForce RTX 2080

Additional information

I can't confirm if this issue is specific to the resource pack that I am using or not, but the pack does work properly without Sodium.

commented

2021-11-18_12 38 08
2021-11-18_12 42 30

Can confirm issue on my system in release. Also confirmed in 1.17.x/dev
I suspect the issue has to do with how this texture pack applies the snow overlay. Snow appears on the side of every block with snow above, not just grass like in the default texture pack.

commented

Duplicate of #815

commented

Closing as duplicate of the aforementioned issue.