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#L139
GitHub
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
No description
No description
15 Replies
Feintha
Feintha16mo ago
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.
kristal (she) | pegasys
you say that it only happens when iris is used, but I don't see any shaders in either of the photos
Feintha
Feintha16mo ago
it only happens when Iris is installed. Using custom shaders doesn't change the outcome
Feintha
Feintha16mo ago
(Using complimentary reimagined)
No description
kristal (she) | pegasys
weird, if shaders aren't used then there should no be difference you sure you don't mean sodium?
Feintha
Feintha16mo ago
Sodium isn't installed, and I tried it with sodium and the outcome was the same. With and without shaders
kristal (she) | pegasys
the only thing I know that iris does when shaders are turned off is batched entity rendering
Feintha
Feintha16mo ago
That could be it, because the rendering is added onto the PlayerEntityRenderer's render function. Does it batch render in the Inventory?
kristal (she) | pegasys
@IMS do you know anything about batched entity rendering? or is it just the goat that knows what specifically it does?
TheNukeLore
TheNukeLore16mo ago
Seems similar to the figura case, Iris reworked entirely how emissives work on entities and changes how they actually get applied
Feintha
Feintha16mo ago
The emissive texture works fine, however the entityCutout doesn't
TheNukeLore
TheNukeLore16mo ago
What exactly should be happening compared to what is happening
Feintha
Feintha16mo ago
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.
No description
Feintha
Feintha16mo ago
The blue and red parts on the skin are the overlay, which works fine without Iris
TheNukeLore
TheNukeLore16mo ago
Ima be honest, I can’t see a difference between the two screenshots, hard to tell since it’s two different angles
Want results from more Discord servers?
Add your server