Issue when trying to render multiple RenderLayers using Fabric/Quilt
This is a bug specific to a mod I am working on, and causes specific parts of a model to not render entirely. The method I am using is injections into PlayerEntityRenderer$render which will render two extra RenderLayers:
getEntityCutout()
and getEntityTranslucentEmissive()
. Code for this issue can be found here: https://github.com/avetharun/OriginalFur/blob/beb3a50f4f3d4447541a9516320d1073ca2fd8cb/src/main/java/com/studiopulsar/feintha/originalfur/fabric/mixin/PlayerEntityRendererMixin.java#L139GitHub
OriginalFur/src/main/java/com/studiopulsar/feintha/originalfur/fabr...
Origin mod extension to add visual effects to the player's model for each type of origin - avetharun/OriginalFur
15 Replies
Sorry if this is an issue unrelated to Iris, but this problem only happens when Iris is used. An example of what should be happening is attached on the left, as well as what is happening with Iris.
It also seems the rendering works properly in the Inventory screen, so it's likely something caused by Iris in some form.
you say that it only happens when iris is used, but I don't see any shaders in either of the photos
it only happens when Iris is installed. Using custom shaders doesn't change the outcome
(Using complimentary reimagined)
weird, if shaders aren't used then there should no be difference
you sure you don't mean sodium?
Sodium isn't installed, and I tried it with sodium and the outcome was the same.
With and without shaders
the only thing I know that iris does when shaders are turned off is batched entity rendering
That could be it, because the rendering is added onto the PlayerEntityRenderer's render function.
Does it batch render in the Inventory?
@IMS do you know anything about batched entity rendering? or is it just the goat that knows what specifically it does?
Seems similar to the figura case, Iris reworked entirely how emissives work on entities and changes how they actually get applied
The emissive texture works fine, however the entityCutout doesn't
What exactly should be happening compared to what is happening
It should be overlaying a texture on top of the player's skin, as seen in this image. This specifically uses the entityCutout render layer.
The blue and red parts on the skin are the overlay, which works fine without Iris
Ima be honest, I can’t see a difference between the two screenshots, hard to tell since it’s two different angles