The way ambient occlusion is applied to custom blocks differs from how it is applied to Vanilla blocks. This is especially noticeable with smooth lighting. Although this report dives into the smooth lighting case, there does also seem to be a subtle discrepancy in intensity of ambient occlusion casting caused by nearby opaque blocks.
Adjusting ambient_occlusion intensity in the custom block’s definition cannot be used to work around this problem.
Demonstration
The attached image demonstrates this issue. The block on the left is a custom block designed to mimic Vanilla white concrete. The block on the right is Vanilla white concrete. The lighting applied to the blocks by the torch should be symmetrically constant but differs.
Reproduction
This observed bug affects all custom blocks with ambient occlusion.
The demo screenshot is taken from the behavior pack in the attached world for convenience. This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such. If testing these separately, it is easiest to observe this at nighttime with block lights.
Attachments
Comments 5
Notice: the attached demo world crashes on open in Preview 26.30.21 due to MCPE-238456. The dimension definitions can be stripped from the world’s behavior pack to properly test out this issue.
This issue has been reviewed by our team.
Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.
If a fix is implemented, it will be listed in our official changelogs.
For major outages or urgent assistance, visit the Minecraft Help Center.
Thank you for helping us improve Minecraft! We saved your files: