mojira.dev
MC-265176

3D item models are darker in inventory

Bug: 3D item models (shields, custom item models, NOT block models in inventory) are darker in HUD and inventory (see attached image)
How to reproduce:
1. Open minecraft and obtain a shield or draw a bow while the attached resource pack is present and active (the pack adds a 3D bow pulling animation)
2. Notice the darker texture of the shield/drawn bow in hotbar/inventory

Expected Behavior:
The texture would render normally

Actual Behavior:
The item is darker in the inventory (but not hand)

Note: Shield corrections resource pack (attached; Credit to D3SG4MER24) fixes this bug with shield.

Attachments

Comments 4

[media][media]

[^Shield+Corrections+[Colored].zip]

Your model is missing the "gui_light" field (should be set to "front").

Then how come this happens to vanilla shield?

Because the shield is rotated, and doesn't use gui_light of front. By default, models are illuminated like a block, from the top left corner, items use front lighting to make it brighter.

GreenHankBot

(Unassigned)

Unconfirmed

(Unassigned)

rendering

1.20.1

Retrieved