Sodium

Sodium

35M Downloads

Version 0.4.9 introduced visual issues in WaveyCapes(change in vertex rendering?)

tr7zw opened this issue ยท 1 comments

commented

Version information

sodium-fabric-mc1.19.3-0.4.9+build.23

Expected Behavior

The texture on the cape parts should connect with each other.
grafik
This screenshot was taken using sodium-fabric-mc1.19.3-0.4.8+build.22.

Actual Behavior

grafik
The texture between the cubes doesn't connect, resulting in these gaps.

Reproduction Steps

  1. Install the latest Sodium and WaveyCapes
  2. Move around with a cape

Java version

Java 17

CPU

Ryzen 3600X

GPU

RTX 2070 SUPER

Additional information

I am the mod author, and I'm a bit stumped on how to resolve this. So far this has been no issue on Vanilla/Sodium, only Optifine showing this exact behavior. I just assumed it was an Optifine bug and disabled the feature there. Since it now also happens with Sodium, my guess is that it's either an opinionated optimization or my code using buggy behavior, that just happens to result in the correct rendering before/in vanilla.
https://github.com/tr7zw/WaveyCapes/blob/1.19.3/Shared/src/main/java/dev/tr7zw/waveycapes/renderlayers/CustomCapeRenderLayer.java#L111 This is the code in question, doing some PoseStack juggling to connect the cape parts together.

commented

Got this issue resolved on Discord. It was a PoseStack misuse, that just happend to work in vanilla due to new allocations.