Open embeddedt opened 2 years ago
Alternatively, wouldn't enabling Smooth Lighting fix it too?
I have smooth lighting enabled already.
Hrrm, I am not sure I can properly fix it, but I will leave this Issue open as a reminder to at least look at it later. ^^
A rock placed against a wall causes the wall to be improperly shaded, as though there is a solid block there. Here are two screenshots, flipping between them should make the issue apparent.
The reason this occurs is probably because the underlying block does not have the
canBlockGrass
flag set to true (the name is bad, it actually relates to transparency for lighting). Vanilla Minecraft has a similar issue with fences and setting this flag to true fixes that.Unfortunately, I am not sure if there is a way of fixing this without splitting rocks and other non-full blocks into their own block ID, as there isn't enough context at rendering time to know the position of the block in the world.