Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

mipmap setting causes lines to appear around torches

Closed this issue ยท 15 comments

commented

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

Image

Image

Image

Reproduction Steps

  1. Place torch on the ground
  2. Carefully position yourself to look at torch parallel to one of its faces.

(handheld torches)

  1. hold a redstone torch and look at a dark block.
  2. 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

latest.log

Crash Report

crash-2025-04-24_17.49.39-client.txt

commented
commented

Possibly the same issue as #3098, maybe the fix for that also works for this? (I believe the fix is available somewhere on discord)

commented

Also, its difficult to provide a good example of the handheld torch issue since the pixels are often lost when videos are compressed.

Image

commented

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.

commented

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?

commented

there is none

commented

if it actually is the issue that build fixes, then it'll also happen on 1.21.4

commented

I tested that build and it seems to have fixed the lines on placed torches, however the lines/pixels around held torches still remains.

Image

Image

commented

Right so the issue you were experiencing with placed torches was #2631

Now the issue with held torches is #3098 (which is probably a duplicate of #3010)

commented

I would say it's similar to #3010 not #3098. Also, unlike #3010, I don't need to use a resource pack for the bug to occur.

commented

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
commented

I was able to resolve this issue by using Embeddium 1.0.15.

commented

I do not believe that means that the issue is solved within sodium meaning the issue should remain open for sodium

commented

This issue was a duplicate of #2631 and #3010 anyway. Though I find it interesting the issue is fixed on Embeddium as it should also be affected.

commented

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.