Entities, items, and players flicker when using iris shaders+shadows with Physics Mod
wackiestwow opened this issue · 8 comments
What happened?
Whenever I turn on shadows using shaders (bsl, complementary, and sildurs were all tested), entities, items, and players flicker in and out of existence. This is a major drawback in my survival worlds because chests and anything else that is considered an entity is affected. When I use optifine, the shadows work fine. (took me a while to get good screenshots, as it is a very fast flickering)
Steps:
1: turn on sodium and iris
2: turn on shaders
3: enable shadows
4: travel around, and artifacts appear
Screenshots
Relevant log output
No response
Minecraft Version
fabric-0.12.11-1.18.1
Iris Version
iris-mc1.18.1-1.1.4
Sodium Version
sodium-fabric-mc1.18.1-rc1-0.4.0-alpha5+build.828
Operating System
Windows 10
What is your GPU?
Nvidia Geforce GTX 650
Java Version
Java 16
Additional context
No response
Does this happen with no other mods installed? If so, does this happen with Iris 1.1.3?
Does this happen with no other mods installed? If so, does this happen with Iris 1.1.3?
i never thought of it being a conflicting mod, when i removed everything except sodium and iris, it worked fine. It looks like the entity culling or the optimized lighting mods were conflicting. thanks for opening my eyes! (sorry if i wasted your time XD)
I assume that this issue is caused by my mod as well. It basically thinks it has the right buffers bound right in this function: BufferUploader.updateVertexSetup which it doesn't have anymore. Seems like a bad practice from Mojang though when there is the GlStateManager._glBindBuffer function which can be called from anywhere else and it doesn't update the local variables of BufferUploader.