Sodium

Sodium

35M Downloads

Ice z-fighting

Opened this issue ยท 2 comments

commented

Version information

sodium-fabric-mc1.17.1-0.3.1+build.6

Expected Behavior

Ice should not have weird z-fighting while swimming underwater.

Actual Behavior

Ice has weird z-fighting. See video below:

Minecraft_.1.17.1.-.Singleplayer.2021-08-29.13-41-53_Trim.mp4

Reproduction Steps

  1. Find frozen_ocean biome.
  2. Swim underwater and look at the icebergs.
  3. Observe weird z-fighting at ice far away.

Java version

16.0.1.9.1

CPU

8x Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz

GPU

NVIDIA GeForce GTX 1080/PCIe/SSE2 GL version 3.2.0 NVIDIA 471.41, NVIDIA Corporation

Additional information

I tested this with nothing but fabric api and sodium 0.3.1. Issue still observed.

commented

I believe this is a duplicate of #38. Someone correct me if I am wrong please

commented

I believe this is a duplicate of #38. Someone correct me if I am wrong please

nah, just had a look, its Z fighting seems to affect ice and tinted glass, also noticed it wont render water or other transparent blocks that are placed next to the tinted glass. if you place normal glass or coloured glass you dont have the running water rendered of the face

if (block == Blocks.GLASS || block instanceof StainedGlassBlock) {

but seems water not rendering thru the glass/ice types is something else
image