Bumblezone is broken with the future translucent sorting of Sodium
Lolothepro opened this issue · 3 comments
The normal being given through the fluid handler api doesn't correspond to the facing (up/down/n/w/e/s). This breaks translucency sorting. I expect it to also be fixed on our end by simply distrusting the normals being passed in and recalculating them based on the actual geometry, but it's worth mentioning that the given normal is wrong.
I was copying vanilla’s bottom rendering and changing the height iirc. So I don’t know specifically which line is controlling the normals or how to fix it. It would also mean sodium isn’t supporting vanilla and many mods would be copying the same vanilla code.
Edited to word what I wanted to say better
Sodium is going to be working around improper usage of the API by recalculating normals for all quads given through this API. Fabric's default implementation of the API doesn't enforce it (by, for example, breaking) and is less strict than the (albeit also compliant) implementation by Sodium.