Open Altirix opened 1 month ago
Even regular block-sized 1x1x1 models that intersect the water surface or have internal intersections are rendered wrongly. This is because order-based translucency sorting of quads that intersect is fundamentally impossible without splitting the quads into pieces along their intersection planes. Such splitting requires a bunch of math to figure out the pieces, and then writing more quads with some interpolated vertexes. I think it's possible but requires a significant conceptualization and engineering effort. The case where geometry is wrongly sorted if it extends outside of the section would be fixed by splitting quads along the section's boundaries and rendering the quads that are then outside of the section as part of the neighboring sections. (this is another layer of complication)
btw I think one of your last screenshots got put into the wrong column.
Even regular block-sized 1x1x1 models that intersect the water surface or have internal intersections are rendered wrongly. This is because order-based translucency sorting of quads that intersect is fundamentally impossible without splitting the quads into pieces along their intersection planes. Such splitting requires a bunch of math to figure out the pieces, and then writing more quads with some interpolated vertexes. I think it's possible but requires a significant conceptualization and engineering effort.
btw I think one of your last screenshots got put into the wrong column.
fixed the last screenshot, they render identical. but yeah, i wouldnt be expecting it to be fix as it doesnt sound like its worth the engineering effort especially given this is just a test model and im not sure if anyone is running into this in real resource packs.
Is there a vanilla report for this?
I'm experiencing similar or potentially the same issue? I can't quite tell but this is what water looks like when looking at it at specific angles. This is in 1.20.1 with version 0.5.11 of Sodium.
Edit: Also happens with connected textures for transparent blocks, like ConnectedGlass. Seems to happen right at the transition of chunks:
@szernex thats just #38 fixed in 0.6 betas
Is there a vanilla report for this?
have not checked
Bug Description
This is also a bug within vanilla. In one case however sodium is producing the right result.
There seem to be two categories of this bug.
Reproduction Steps
testpack.zip
Log File
N/A
Crash Report
N/A