Skip to content

Fix Armourer's Workshop rendering compatibility - #3215

Open
FortyTwoCn wants to merge 1 commit into
IrisShaders:1.21.1from
FortyTwoCn:1.21.1
Open

Fix Armourer's Workshop rendering compatibility#3215
FortyTwoCn wants to merge 1 commit into
IrisShaders:1.21.1from
FortyTwoCn:1.21.1

Conversation

@FortyTwoCn

Copy link
Copy Markdown

Fixes a rendering compatibility issue between Iris and Armourer's Workshop on NeoForge 1.21.1.
The previous mergeRendering flag was a global boolean. While Iris was rendering merged batches, every RenderType.draw() call could skip setupRenderState() / clearRenderState(), including render paths that were not part of the current Iris batch. This could leak render state into Armourer's Workshop GUI/item rendering, causing black quads, broken transparency, and in some modpacks a null shader crash.

Before:
image

@Ru-Nan-i

Copy link
Copy Markdown

try this version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants