You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Alchemical Sulfurs cause improper lighting of other items in inventories that are rendered after them; see attached video or try the steps yourself. I suspect something isn't being reset properly after the sulfurs are rendered, but I'm having a minor skill issue trying to find their rendering code.
To Reproduce
Steps to reproduce the behavior:
Obtain any Alchemical Sulfur, and any other item.
Open an inventory - yours, a block's, etc.
Move the two items around in slots, such that the sulfur(s) are before the other item(s).
Observe improper lighting on those other item(s).
Expected behavior
The lighting should be normal on other items.
I now know why it is happening, but I am not sure how to fix it.
I am mirroring how GUIs set up the lighting for item rendering, but it behaves differently in custom renderers somehow.
When resetting the lighting to 3d item (= block lighting) after rendering, it causes the sulfur itself to render wrong somehow - probably due to batching.
I will inquire with the neoforge people how that is best approached
Describe the bug
Alchemical Sulfurs cause improper lighting of other items in inventories that are rendered after them; see attached video or try the steps yourself. I suspect something isn't being reset properly after the sulfurs are rendered, but I'm having a minor skill issue trying to find their rendering code.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The lighting should be normal on other items.
Screenshots
Here is a video demonstrating the error.
System:
The text was updated successfully, but these errors were encountered: