Indium

Indium

26M Downloads

[BUG] Z-fighting w. Snow! Real Magic!

Shazuli opened this issue ยท 3 comments

commented

Hi

Snow! Real Magic! improves snow by allowing most non-full blocks to render snow on it:
2022-09-26_15 34 05

However, with Sodium installed this rendering will not work and makes the block invisible. But after installing Indium the block render is back but on two of the sides of most blocks there occurs Z-fighting.

Example

Good side

2022-09-26_15 34 46

Z-fighting (hard to show from a static image)

2022-09-26_15 34 56

Another example

Good side

2022-09-26_15 32 49

Z-fighting

2022-09-26_15 33 00

commented

Does this still occur if you disable the Compact Vertex Format in Sodium's advanced options? The author might need to increase the vertex offset of the added faces for it to be compatible with this Sodium optimisation.

commented

Umm, not sure what option you mean with "Compact Vertex Format".
image

image

commented

Ah I forgot, it isn't a configurable option in current release versions of Sodium (it was in 0.2, and upcoming 0.5). I don't think this is something that is caused by or can be fixed by Indium - it's an implication of Sodium's compact vertex format, which will require slight changes to the code of Snow! Real Magic! to increase the offset of the added faces (as Sodium uses lower precision for position data) or disabling of the compact vertex format (which should be possible in the 0.5 Sodium release).