Faulty shadows and bright foliage when using compatible shader (multiplayer & singleplayer)
So ive tried to redownload mods, remove unnecessary mods, using different shaders (complementary, bsl & bliss), disabling texture packs and checking settings and deleting configs without any success. It doesn't seem to matter which shader pack im using (supported packs aswell as original ones), which mod versions or which texturepacks. The "realtime shadow" option in complementary, and other related shadow settings in all tested shaderpacks either make some foliages really bright, and some settings straight up dont work at all, like entity shadows. This only affects the real chunks, and doesnt seem to affect the LODs at all, making the contrast between the two extremely obvious and messing up the shadow options. The screenshots are mostly default options, only performance options on the shaderpack are edited (its still noticable on high preset, this just makes it more visible), faithful texture pack with lively animations, since it doesnt seem to make a difference, and mods used also seem to not affect this issue. Only option changed in distant horisons is the LOD shading option.
70 Replies
I think you're expecting too much from DH. DH doesnt render entities and therefore also not entity shadows.
The border between DH and real chunks will probably never look perfect. It is expected that you can see a border (especially when looking at water).
If you can reproduce the bright foliage with no resourcepack and the bare minimum amount of mods, that may need addressing, but is probably not something on DH's side
im not expecting anything more from DH itself, its just that adding the mod, all my shadow settings somehow get messed up and the foliage becomes bright. removing the mod fixes it. this only applies to the real chunk as preciously stated
also the water and shading in DH looks perfect. its only the vanilla chunks that get affected
That is weird indeed then. You are the first person I've seen with this issue.
Also, i will gladly recreate any scenario, would default setting shaders + default setting DH, sodium + iris be sufficient?
my friend who runs the same exact minecraft setup runs without problem
we even compared settings and versions, before i went crazy and tried everything i knew
Lol
Are you running out of the ordinary hardware?
A Mac or something?
Windows 11 24H2, Amd 7600X, 4070 Super, 32GB ram (16 dedicated to mc)
Sounds normal enough
Can you recreate it in a fresh instance?
of course
ill even delete my .mc folder
xd
ill just move it dw
Sure, if you're using the normal minecraft launcher that may be necessary
ill do fully newbie untouched settings
like life is intended to be
DistantHorizons-fabric-2.3.0-a-dev-1.21.1
sodium-fabric-0.6.0-beta.4+mc1.21.1
iris-fabric-1.8.0-beta.7+mc1.21.1
does this look good?
or should i use different versions
or should i also include indium?
indium-1.0.35+mc1.21
Looks good. Also try the stable release of DH if you can.
Nope
Sodium 0.6 made it obsolete
alright
then the shader page isnt updated
shaders from github? or the official ones?
Depends on the shader. Some only have dh support on their GitHub
This one you mean?
https://discord.com/channels/881614130614767666/1035937460334624858/1035940322619953183
complementary and bsl
yeah exactly
Just use the latest from modrinth. No need for GitHub for those
alright
That's a different one than the one I linked, but they have the same problem. And that is that it's hard organizing/listing all of the requirements while still being manageable. Indium is still required if you use sodium <0.6
no problem, i guess if its obsolete it doesnt hurt
Most of the time not no
sodium + iris only, no settings besides preset, vsync and gui scale was changed.
and now this is adding distant horisons, notice the shadows in the vanilla chunks
Very peculiar. I'm not gonna pretend like I'm smart enough to diagnose the issue though. I suggest you also upload your logs just in case it's needed, then wait for a developer to read this
also the faint tree glint is visible even with those preset settings
i did this to exclude any kind of external issues
which logs exactly?
".minecraft\logs"?
or the launcher logs?
ill upload both
"[1107/003321.132:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is " -launcher_cef_log
[00:27:55] [main/WARN]: Sodium has applied one or more workarounds to prevent crashes or other issues on your system: [NVIDIA_THREADED_OPTIMIZATIONS]
[00:27:55] [main/WARN]: This is not necessarily an issue, but it may result in certain features or optimizations being disabled. You can sometimes fix these issues by upgrading your graphics driver. - logs
Applying workaround: Prevent the NVIDIA OpenGL driver from using broken optimizations (NVIDIA_THREADED_OPTIMIZATIONS)
/logsstored
You should send your
latest.log
file to provide additional useful information.
Logs are usually located in the .minecraft/logs
directory.
On Windows: %appdata%\.minecraft\logs
On Linux: ~/.minecraft/logs
On Mac: ~/Library/Application Support/minecraft/logs
Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed.
After uploading the file, click on Save
and send the link.No .zip files please
my apologies
No worries
ill see if i can update my graphics driver
but im pretty sure i have the latest one
i infact have the newest nvidia driver
wait, thats the vanilla log :/
here is the log with DH
looks like this :/
with 32 chunk render distance, and 12 chunk shadow distance
you can clearly see the shadow distance line :/
besides that its pretty much -log2(shadow) xD
reverse shading
heres the log from this session
also i reinstalled nvidia drivers, and reset my bios for this session
Apparently iris beta 7 is known for being a bit broken. So can you also try with an older iris version? Maybe beta 6?
alright
will do
THANK YOU!
this was indeed the issue, downgrading to iris 1.8 beta 4 fixed the issue!
beta 6 does not exist for 1.21.1
nice!
and beta 8 and 7 dont seem to work
you're a genius!!!
lol
xD
i tried both 8 and 7, didnt think to travel back in time
now i just gotta fix some shader settings! but works both with faithful, fresh animations and complementary unbound!!!
and all the mods i had previously!
i give you a huge pat on the back and want to say that it was an honor to be helped by you!
Lol thanks
seems to work pretty alright!
Eyyy
fps is lacking now that shadows are rendered properly, and theres some shadow flickering, but ill figure it out
Does the shadow flickering mainly appear if you change your height position ? (In kreative flying up and down made it very visible)
If yes try removing immediately fast mod - had the same problem and this fixed it.
alright, will try!
i mean the fps has drastically decreased after the shadows started rendering correctly, seems to be a cpu bottleneck issue, i will try messing with the bios settings a bit, since i know im not running optimal settings after messing around a bit
okay, i managed to eliminate mostly all lag by: using jdk 23 as the java executable with "-Xmx16G -Xms16G -XX:+UseZGC -XX:+ZGenerational -XX:+AlwaysPreTouch -Xlog:async -Xlog:gc+init -XX:+UseLargePages" as the arguments
aswell as enabling run as administrator for both the launcher and the javaw
and disabling multithreading in nvidia control panel for javaw
went from 45-60 fps to 100+
these mods seem to all work well together
C2ME slows down DH LOD generation by up to 30%
Remove Indium, it is not needed with Sodium 0.6.0+ and only creates issues
ill test without them then š
Rest seems good
any way to fix this?
doesnt seem to matter if i enable or disable threaded optimizations
also about immediatlyfast
is it viable?
.
-XX:+UseLargePage
is the default, so it shouldn't make any difference
-Xlog:gc+init
is from what I've googled a debug flag that prints additional info in logs, writing more unneeded text to logs can only have a negative performance impactalright
ill add that to the args
Remove not add
ah ok
mb
The only fix is to move back to a super old NVIDIA driver, as this is caused by NVIDIA bug
Just ignore it
ah ok
I use it, it gave me +30% fps, though I've read that the latest update broke performance with DH, so I will need to retest that
I would keep it for now
IDK what it does
I would keep it on
i mean i got like 50% fps by disabling it
for some reason
alright, without these 3 mods it seems to work better, and removing the args
we'll see
i thank you for your valuable input
!
@Miki_P98 @Puhpine iris beta 8 seems to be fixed now with the latest nightly patch
š
Solution
nice! good to know