mojira.dev
MC-50734

Light-emitting blocks (including end portal frames) ignore ambient occlusion/smooth lighting, regardless of model's settings

End portal frames did not have AO enabled. However, the line " "ambientocclusion": false " is not in its model mesh file. The default for this argument is "true" so it seems that AO is somehow not being applied. (even adding " "ambientocclusion": true " doesn't work)

This affects all light sources as well. When a light source is set to use another block's model, the ambient occlusion setting is not inherited.

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media]
migrated

I can confirm this is the case.

migrated

Relates to MC-73348

kumasasa

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.

migrated

Still present in 18w11a

CubeTheThird

Does this still occur in the current release?

muzikbike

Can confirm in 1.17.1.

Arisa Bot

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

muzikbike

As there is currently a dedicated ticket for end portal frames (MC-165504), it may be worth moving all such information to that report and only having this ticket be about light-emitting blocks in general, as end portals are an odd case (they emit a light level of 1, which is almost unnoticable and effectively useless - removing it would fix more problems than it would cause) and as such I feel a dedicated report is warranted for them in contrast to higher-level emitters.

muzikbike

I can confirm this behaviour in 22w05a and have attached a resource pack to make reproducing this issue incredibly easy. This resource pack replaces models of some light-emitting blocks with cube_all models (cube_all.json does not have ambient occlusion disabled) which use a texture of a white block:

  • end portal frames become white concrete

  • enchanting tables become white wool

  • dragon eggs become powder snow

  • glowstone becomes snow

Placing one of these blocks on the floor and then surrounding it with the block it's been made to imitate shows the lack of ambient occlusion very, very clearly.

[media]

[media]

[media]

[media]

As the original reporter of this ticket has been inactive since 2018, can I request ownership of this issue?

muzikbike

Affects 1.18.2, requesting ownership

pulpetti

In 22w15a.

muzikbike

Not sure why MC-73348 is marked as related - was this a typo? It should be removed. However, MC-54479 should be marked as related. Possibly also MC-123703, MC-213446 and MC-262644.

Minecraft386882

Confirmed in 1.21.3

Mega611

Can confirm 1.21.4.

muzikbike

(Unassigned)

Confirmed

Platform

Low

Lighting

ambientocclusion, end_portal_frame, lighting, model

Minecraft 14w10c, Minecraft 14w11b, Minecraft 1.7.8, Minecraft 14w17a, Minecraft 14w18b, ..., 1.20.4, 23w51b, 1.21, 1.21.3, 1.21.4

Retrieved