-
Bug
-
Resolution: Unresolved
-
None
-
20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w06a, 21w07a, 21w10a, 21w13a, 21w16a, 21w18a, 21w19a, 21w20a, 1.17.1, 21w37a, 1.18 Pre-release 5, 1.18, 1.18.1, 1.18.2, 22w15a, 1.19, 1.19.1 Release Candidate 2, 1.19.2, 1.19.3, 1.19.4, 23w16a, 1.20 Pre-release 1, 1.20.1, 1.20.2, 1.21.4
-
None
-
Confirmed
-
Rendering, Textures and models
-
Normal
-
Platform
Discovered while testing MC-262427.
The bug
In model files, it's possible to specify the same rotated model elements using methods that should mathematically and geometrically result in something visually identical regardless of which method is used. For example, a plane with faces on the west and east which spans the YZ plane rotated -45 degrees around the Y axis should look identical to a plane with faces on the north and south spanning the XY plane rotated +45 degrees around the Y axis, provided that both map the texture in the correct fashion.
However, in Minecraft: Java Edition, this does not appear to actually be the case, and very noticeable visual differences can be seen.
How to reproduce
- Download and apply the attached resource pack
- Place a torch on the ground
- Place a redstone torch on the ground
- Place a soul torch on the ground
- Inspect
Expected results
All three torches would look identical with these custom models.
Actual results
The soul torch is noticeably darker than the normal torch, and the redstone torch uses two different brightnesses for each half of the block.
Explanation of the resource pack
Each of the torch models in this resource pack uses two elements with four texture planes (two each). The torch model has these planes spanning the yz plane, with both rotated -45 degrees. The soul torch model has these planes spanning xy, with both rotated +45 degrees. The redstone torch has one xy plane rotated +45 degrees and one yz plane rotated -45 degrees. All are mapped such that the texture matches up correctly.
Notes
This issue can be observed on a few vanilla models such as sloped rails, and is more noticeable on potted flowers.
- is duplicated by
-
MC-185936 Block model position affects lighting
- Resolved
-
MC-194475 diagonal line rail bug
- Resolved
-
MC-198311 The rotating cube model has an illogical random light rendering
- Resolved
-
MC-203247 rail
- Resolved
-
MC-218600 Slanted Minecart Rails Lighting Issue
- Resolved
-
MC-242518 All sloped rail types appear visually darkened
- Resolved
-
MC-243207 darkened lighting by the rails
- Resolved
-
MC-255034 Inclined rail have litle glitch
- Resolved
-
MC-278955 Item display settings have inconsistent shading on "same" model
- Resolved
- relates to
-
MC-152422 Turning off smooth lighting turns model cubes rotated ±22.5 degrees dark
- Reopened
-
MC-223314 Rotated block faces are shaded inconsistently
- Resolved
-
MC-192730 Custom model shade parameter rendering issue
- Open