Closed jackjt8 closed 4 years ago
Additional images of the two issues:
It looks like the occlusion system isn't working correctly for glass viewed through glass. Doesn't appear to be related to one surface in particular.
I removed the adjacent rear blocks. As can be seen... The single rear block is being rendered on all sides.
It now looks like ingame, will be in the next snapshot.
Following discussions on Discord regarding coloured shadows created by Stained Glass two issues with how Stained Glass is being rendered have been noted. This is following off of upstream issue https://github.com/llbit/chunky/issues/450
Behaviour in 1.X is seen to be incorrect as all occluded surfaces are not rendered which is not the behaviour seen in Minecraft; where only adjacent Glass with the same Namespace ID's are.
Glass Rendering in 1.X
Glass Rendering in Game
Chunky 2.0 - Glass behaviour was adjusted to be much closer to Minecraft however it is not perfect.
[ ] Internal surface between two adjacent & different glass blocks have an increased brightness compared to Minecraft.
[ ] Internal surface shows incorrect culling of occluded adjacent surfaces of glass with different Namespace IDs