mojira.dev
MC-268537

Block cracking animation appears much darker where there are coinciding planes

May relate to MC-259614.

The bug

On blocks with coplanar, coinciding faces, the cracking animation is rendered once per plane, resulting in the cracks rendering much darker than they should.

How to reproduce

  1. Place a wall (all four connections, plus post)

  2. Get under it

  3. Start breaking it

  4. Observe the cracks

Expected results

Normal cracking animation.

Actual results

It looks much darker.

Further notes

Changing the model would get rid of this issue from walls specifically, but would not eliminate it from other custom models, so code changes of some sort will be required.

Related issues

Attachments

Comments

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

Testing this in some older versions, in 1.14.4 this appears to cause z-fighting:

[media]

[media]

muzikbike

1.4.2 does not appear to be affected:

[media]

I'm not sure if the model was handled differently at this point. though.

muzikbike

For the specific case of walls, this appears to have been introduced in 15w31a (alongside multipart models). I have yet to test custom models in 1.8 snapshots and release versions.

[media]

[media]

[media]

muzikbike

(Unassigned)

Confirmed

Platform

Low

Rendering

1.20.4, 24w06a, 24w09a, 1.20.6, 24w19b, 24w20a

Retrieved