Skip to content

Minor shading issue with rocks #85

@embeddedt

Description

@embeddedt

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.

2022-06-04_13 55 33
2022-06-04_13 55 36

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions