mojira.dev
MC-254488

Exterior custom model shading issues due to smooth lighting.

On any custom model, elements extending past the normal limits of a block experience shading issues with smooth lighting, i.e. gradients to black, on their upwards faces. These issues arise specifically when the block with the custom model has a block above it in a 1 block radius, and in certain combinations.Β These issues disappear when ambient occlusion is turned off, or smooth lighting is turned off. Below I've attached images showcasing the issue affecting a custom crafting table model, with the incorrect shading gradients circled in red, as well as the custom crafting table model, just in case. This issue is not unique to this model, and I have seen it occur on other models and have had the same shading issues result.

Attachments

Comments 2

Thank you for your report!
We're tracking this issue in MC-148762, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

In response to Anthony, at a quick glance, these issues appear to be separate, at least to an extent.. Both issues stem from flaws in smooth lightings renderer, however they appear to have different causes and effects. The issue shown in this bug report comes from smooth lighting issues on models that extend outside the bounds of a typical block, while in the other bug report, it appears that the issue results from smooth lighting shading faces on the inside of a normal block incorrectly. The issue detailed here leads to weird gradients across the face that go from the normal, expected lighting, to black, while the other issue uniformly shades the entire face too dark. Although similar, the title of the other big report only focuses on the incorrect internal face shading, and not the more broad issue of smooth lighting issues in general, meaning it doesn't currently cover this issue.

TheDarkCoder

(Unassigned)

Unconfirmed

(Unassigned)

custom-model, rendering

1.19

Retrieved