Sodium

Sodium

49M Downloads

End crystals render incorrectly sometimes with Complementary and Euphoria Patches since Sodium 0.6.0-beta.3

djmrFunnyMan opened this issue ยท 16 comments

commented

Bug Description

Sodium had a weird regression which causes the voxelized end crystal effect from Euphoria Patches to jitter a lot.
I know sodium's the cause because I compared on the same minecraft & iris version so the only difference was sodium.

The issue first appears in Sodium 0.6.0 Beta 3 more specifically in this commit 3fd78d9

Video:
https://github.com/user-attachments/assets/36ad60ce-f938-4462-940d-18803f08e059

Reproduction Steps

  • Download Complementary R5.3 and Euphoria Patcher 1.4.3
  • In the shader import these settings:
    ComplementaryUnbound_r5.3 + EuphoriaPatches_1.4.1.txt
  • Create a world with seed -1632576596065209744
  • Use command /execute in minecraft:the_end run tp @s -31.54 107.00 -0.43 292.05 32.40

Log File

2024-12-06-7.log

Crash Report

crash-2024-12-06_01.14.07-client.txt

commented

Does this reproduce with the latest release of sodium?

commented

Per the changelog of Sodium 0.6.0-beta.3:

Improved compatibility with some resource packs that use custom shaders in entity rendering.

This probably has something to do with the regression. But we'd need a bisect to know for sure. The relevant commits are:

adad380
3fd78d9

commented

Does this reproduce with the latest release of sodium?

Yes it persists in all versions since beta 3. If it was already fixed I wouldn't report it.

commented

It was not clear whether this is still an issue given that your logs use outdated versions. Thank you for clarifying.

commented

Per the changelog of Sodium 0.6.0-beta.3:

Improved compatibility with some resource packs that use custom shaders in entity rendering.

This probably has something to do with the regression. But we'd need a bisect to know for sure. The relevant commits are:

adad380 3fd78d9

the issue first appears in commit 3fd78d9

commented

This feature is iris exclusive so no.

commented

Does it work with OptiFine?

commented

It's probably a shader bug
I guess since the order has changed to match Minecraft Vanilla, the shaders haven't been updated.

commented

Both gri and I don't really understand this issue, unfortunately. Quote from gri "so I don't think I understand what's going on much better than you" :p
I only know that according to Acer aka @djmrFunnyMan it worked before this commit

commented

I don't know what is causing the issue here, as the commit the bug was bisected to looks correct to me, and hasn't caused regressions elsewhere.

commented

IMS, Jelly and the shader devs all dazed by this issue. Hmmm
Perhaps there's some iris code that relied on the old order? (iris issue after all?)

Btw can I get a latest build but with this commit reverted? Just to be double sure its the cause

commented

Btw can I get a latest build but with this commit reverted?

The commits can be reverted cleanly on trunk. You can checkout the code and run the following commands:

$ git revert adad380b98cd768e84572676ce6ae1a589f2657f
$ git revert 3fd78d94d6672813b613173900c880768b1656d2
$ gradle build