mojira.dev
MCPE-190242

ambient_occlusion_exponent field in blocks.json does not affect certain transparent blocks

Relates to MCPE-187536 and MCPE-190244.

The new ambient_occlusion_exponent field in blocks.json has no effect on the following blocks:

  • Glass

  • Stained Glass (all)

  • Glass Pane

  • Stained Glass Pane (all)

  • Tinted Glass

  • Iron Bars

  • Door (all)

The attached sample pack sets the ambient_occlusion_exponent of all the blocks in the list above to 100. It also sets this value for "grass_block" to prove the pack is working.

[media]

Despite setting this value on all the blocks from the list above, these blocks appear unchanged in-game:

No Resource Pack

[media]

With Resource Pack

[media]

Not all transparent blocks are affected by this issue. These blocks darken as expected:

  • Slime Block

  • Honey Block

  • Leaves (all)

  • Spawner (all)

  • Vault

  • Trapdoor (all)

To Reproduce

  1. Download and apply the attached sample pack in the latest preview:

[media]
  1. Open a world.

  2. Place a grass block. Notice its sides are darkened by the resource pack.

  3. Place a block from the first list in this bug report, such as Glass.

  4. Observe that this new block is not darkened, despite having the same configuration in blocks.json as the grass block.

Expected Result

ambient_occlusion_exponent works on any block.

Observed Result

ambient_occlusion_exponent does not work on certain transparent blocks.

Linked issues

Attachments

Comments 2

This issue also affects Cobweb.

AgentMindStorm2

(Unassigned)

1364049

Community Consensus

Multiple

Windows 10

lighting, resource-pack, shading

1.21.70.20 Preview

Retrieved