mojira.dev
MC-163242

Blocks on armor stands render shadows based on camera vector

Changes in 19w42a

Since 19w42a, dropped items are no longer affected. Armor stand effects are essentially unchanged since the last snapshot. Also this bug still applies to items held by endermen.

The bug

Item models render their shadows differently, depending on at which angle the player is looking at them. When looking at a block on the head of an armor_stand, the shading changes drastically depending on how the camera is viewing it.

Steps to reproduce

Summon an armor stand with a stone head item and circle the cursor around it while staying still. Note the brightness changes.

/summon minecraft:armor_stand ~ ~ ~ {ArmorItems:[{},{},{},{id:"minecraft:stone",Count:1}],Marker:1,Invisible:1,NoGravity:1}

Visual Evidence

Block Model

[media]


Note that this is a stone block on the head of an armor_stand, so it is being rendered as an entity not a block in the world.

Linked issues

Attachments

Comments 4

violine1101

This also applies to the block held in the player's hand. Look up and down while holding a stone block, you'll see that it's shaded incorrectly. See also MC-163102 for a very similar issue related to items that are biome-dependent.

Edit: There's also MC-163242, which I'll leave open to have a specific ticket for items being held in the hand around.

TheBoy358

Seem to be not fixed in 19w42a.

wobst.michael

Confirmed not completely fixed in 19w42a.

Jatzylap

Can confirm for items using a custom model, and relates to held item light rendering

EDIT: (see MC-163105)

Tedstar (Curtis Anderson)

Fry

Confirmed

Important

Rendering

inventory, item-model, rendering, shading

19w41a, 19w42a, 19w44a

19w42a, 19w45a

Retrieved