
mipmap setting causes lines to appear around torches
Closed this issue ยท 15 comments
Bug Description
What happened?
I've noticed that when looking at torches at certain angles, these lines/faces appear. This glitch is very apparent when using a handheld torch because it will cause dots and lines to appear above the torch at random.
I have also noticed that setting mipmap to 0x fixes the lines on placed torches, but does not fix the white pixels around handheld torches.
Minecraft setup is:
Minecraft 1.21.1 (minecraft)
NeoForge 21.1.153 (neoforge)
Sodium 0.6.13+mc1.21.1 (sodium)
Screenshots
Reproduction Steps
- Place torch on the ground
- Carefully position yourself to look at torch parallel to one of its faces.
(handheld torches)
- hold a redstone torch and look at a dark block.
- see white pixels that form a line (I think this is the edge of the mesh idk)
If Iris is installed, the handheld torch issue is much worse btw.
Log File
Crash Report
Can you check if the issue is fixed on this build?
https://github.com/CaffeineMC/sodium/actions/runs/14424199686/artifacts/2933730341
Possibly the same issue as #3098, maybe the fix for that also works for this? (I believe the fix is available somewhere on discord)
Can you check if the issue is fixed on this build?
https://github.com/CaffeineMC/sodium/actions/runs/14424199686/artifacts/2933730341
I will give it a try.
Can you check if the issue is fixed on this build?
https://github.com/CaffeineMC/sodium/actions/runs/14424199686/artifacts/2933730341
Can you link to a 1.21.1 build?
I originally noticed this bug when using shaders (Iris). If I had only been using Sodium, I probably wouldn't have noticed the pixels above handheld torches since AA would have smoothed them out. However, this seems to be one of those glitches that gets exponentially worse as more things are introduced into the graphics pipeline. I've attached a video of the torch glitch when using Iris. One interesting thing I've noticed is that the pixels are affected by light. If I'm in an enclosed space with no light sources, the pixels aren't visible (to me at least). If I place down a torch or turn on handheld lighting in the shader config, the pixels are visible.
Minecraft.NeoForge_.1.21.1.-.Singleplayer.2025-04-25.15-35-24.-.Trim.mp4
I do not believe that means that the issue is solved within sodium meaning the issue should remain open for sodium
This issue was a duplicate of #2631
Not really.
and #3010 anyway.
The shallow angle issue, yes, but not the lines/pixels above torches.
Though I find it interesting the issue is fixed on Embeddium as it should also be affected.
Embeddium allows the disabling of the compact vertex format. Might have something to do with it.