Sodium

Sodium

35M Downloads

Broken Vanilla Tweaks 3D Iron Bars

Julienraptor01 opened this issue ยท 8 comments

commented

Version information

sodium-fabric-mc1.18.1-0.4.0-alpha6+build.14

Expected Behavior

The ressource pack should be working like in vanilla.

Actual Behavior

Sodium breaks VanillaTweaks 3D Iron Bars.
There is a line of pixel that does something like z-fighting

Reproduction Steps

Install the RP.
Go into some world.
Place two iron bars next to each other.
Look at the left of the iron bars.

Java version

Java 17.0.1 64bit

CPU

i7-9750H

GPU

NVIDIA GeForce RTX2060

Additional information

https://imgur.com/a/B3OO9Lb
You can experience this from at least sodium-fabric-mc1.16.5-0.2.0+build.4.jar (i didn't have time to go before in time) to sodium-fabric-mc1.18.2-0.4.1+build.15.jar

commented

Thanks
If it's an imperfection of the model why doesn't it happen in vanilla ?

commented

i've decided to take a long look into it (i needed to learn modeling) and i've found a solution but it breaks vanilla

commented

the issue really come from sodium

commented

@JosefLitos i tried to simply use you file but it don't work.

commented

if anyone use the RP and want less broken
you can replace the 2 files in assets\minecraft\models\block by the one just under (you need to get rid of the .txt extension i just added it because github didn't want json files)
iron_bars_cap.json.txt
iron_bars_cap_alt.json.txt

i just noticed the entire pack is kinda broken so i'mma try to rewrite it and if it don't work i'mma discuss with VT team

commented

OK, let me know, if you need anything. Btw for models, on linux (or Windows) you can use BlockBench.

commented

Duplicate of #460

If it's an imperfection of the model why doesn't it happen in vanilla ?

the problem is that Mojang relies on infinitesimally small offsets in some edge cases

- Jelly