Hello everyone! We have encountered an issue with our mod and iris shaders. When using any shader (i tested BSL, Complementary Reimagined, MakeUp, Photon), along with the main render, a second hand render appears, located in an unexpected place
For rendering, we use this method, which renders a rectangle with the desired image One person suggested that this might be a problem with shadows and advised using
IrisApi.getInstance().isRenderingShadowPass()
IrisApi.getInstance().isRenderingShadowPass()
to avoid re-rendering the image in the shadows. I added the following code at the beginning of this method:
if (IrisApi.getInstance().isRenderingShadowPass()) { return;}
if (IrisApi.getInstance().isRenderingShadowPass()) { return;}
But the problem is that the issue still remains (the video shows the mod with this code at the beginning) Can anyone suggest what the problem might be and how to solve it? Thank you in advance
Minecraft 1.21.8 (appears in other versions as well) Iris 1.9.6