Animal leads are connected
jgaier opened this issue ยท 6 comments
What happened?
I have tied my animals to different fences, but the leads were rendered as connected.
I tried it with different shaders and it happened every time.
After removing Iris the problem didn't repeat.
Screenshots
with Iris
without Iris
Relevant log output
No response
Iris and Minecraft Version
iris-mc 1.17-1.1.1 for minecraft 1.17 and 1.17.1
Are you running Sodium along with Iris?
No
Operating System
Windows 10
What is your GPU?
Nvidia Geforce GTX 1070
Java Version
Java version 8 update 301
Additional context
No response
This seems like it might be an issue with the line strip draw mode in the Iris batched entity rendering code. I'd have to verify for sure but this would cause different line strips to connect together like what is being observed here.
Logs and F3 screenshot probably aren't needed for this particular issue since I already think I know what's going on.
This appears to be related to a vanilla bug, but it seems like Iris intensifies it: https://bugs.mojang.com/browse/MC-212629
While in vanilla it only happens with leads connected to invisible entities, it happens with all leads in Iris. Fixing this issue in Iris will also fix the related vanilla bug.
This should be fixed as of df9a932, this fix will be included in Iris 1.1.2 which will come out soon.