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.
No description
No description
No description
No description
Solution:
nice! good to know
Jump to solution
70 Replies
Puhpine
Puhpine3w ago
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
Gotlicked
GotlickedOP3w ago
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
Puhpine
Puhpine3w ago
That is weird indeed then. You are the first person I've seen with this issue.
Gotlicked
GotlickedOP3w ago
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
Puhpine
Puhpine3w ago
Lol Are you running out of the ordinary hardware? A Mac or something?
Gotlicked
GotlickedOP3w ago
Windows 11 24H2, Amd 7600X, 4070 Super, 32GB ram (16 dedicated to mc)
Puhpine
Puhpine3w ago
Sounds normal enough Can you recreate it in a fresh instance?
Gotlicked
GotlickedOP3w ago
of course ill even delete my .mc folder xd ill just move it dw
Puhpine
Puhpine3w ago
Sure, if you're using the normal minecraft launcher that may be necessary
Gotlicked
GotlickedOP3w ago
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
Puhpine
Puhpine3w ago
Looks good. Also try the stable release of DH if you can. Nope Sodium 0.6 made it obsolete
Gotlicked
GotlickedOP3w ago
alright then the shader page isnt updated shaders from github? or the official ones?
Puhpine
Puhpine3w ago
Depends on the shader. Some only have dh support on their GitHub This one you mean? https://discord.com/channels/881614130614767666/1035937460334624858/1035940322619953183
Gotlicked
GotlickedOP3w ago
complementary and bsl yeah exactly
Gotlicked
GotlickedOP3w ago
No description
Puhpine
Puhpine3w ago
Just use the latest from modrinth. No need for GitHub for those
Gotlicked
GotlickedOP3w ago
alright
Puhpine
Puhpine3w ago
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
Gotlicked
GotlickedOP3w ago
no problem, i guess if its obsolete it doesnt hurt
Puhpine
Puhpine3w ago
Most of the time not no
Gotlicked
GotlickedOP3w ago
sodium + iris only, no settings besides preset, vsync and gui scale was changed.
No description
No description
No description
No description
Gotlicked
GotlickedOP3w ago
and now this is adding distant horisons, notice the shadows in the vanilla chunks
No description
No description
No description
No description
Puhpine
Puhpine3w ago
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
Gotlicked
GotlickedOP3w ago
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)
Puhpine
Puhpine3w ago
/logsstored
YAGPDB.xyz
YAGPDB.xyz3w ago
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.
Puhpine
Puhpine3w ago
No .zip files please
Gotlicked
GotlickedOP3w ago
my apologies
Puhpine
Puhpine3w ago
No worries
Gotlicked
GotlickedOP3w ago
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 :/
Gotlicked
GotlickedOP3w ago
here is the log with DH
Gotlicked
GotlickedOP3w ago
No description
No description
No description
Gotlicked
GotlickedOP3w ago
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
Gotlicked
GotlickedOP2w ago
heres the log from this session also i reinstalled nvidia drivers, and reset my bios for this session
Puhpine
Puhpine2w ago
Apparently iris beta 7 is known for being a bit broken. So can you also try with an older iris version? Maybe beta 6?
Gotlicked
GotlickedOP2w ago
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
Puhpine
Puhpine2w ago
nice!
Gotlicked
GotlickedOP2w ago
and beta 8 and 7 dont seem to work you're a genius!!!
Puhpine
Puhpine2w ago
lol
Gotlicked
GotlickedOP2w ago
xD i tried both 8 and 7, didnt think to travel back in time
Gotlicked
GotlickedOP2w ago
No description
Gotlicked
GotlickedOP2w ago
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!
Puhpine
Puhpine2w ago
Lol thanks
Gotlicked
GotlickedOP2w ago
No description
No description
No description
Gotlicked
GotlickedOP2w ago
No description
Gotlicked
GotlickedOP2w ago
seems to work pretty alright!
Gotlicked
GotlickedOP2w ago
No description
No description
Puhpine
Puhpine2w ago
Eyyy
Gotlicked
GotlickedOP2w ago
fps is lacking now that shadows are rendered properly, and theres some shadow flickering, but ill figure it out
Toast Tobi 212
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.
Gotlicked
GotlickedOP2w ago
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+
Gotlicked
GotlickedOP2w ago
No description
Gotlicked
GotlickedOP2w ago
these mods seem to all work well together
Miki_P98
Miki_P982w ago
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
Gotlicked
GotlickedOP2w ago
ill test without them then 👍
Miki_P98
Miki_P982w ago
Rest seems good
Gotlicked
GotlickedOP2w ago
No description
Gotlicked
GotlickedOP2w ago
any way to fix this? doesnt seem to matter if i enable or disable threaded optimizations also about immediatlyfast is it viable? .
Miki_P98
Miki_P982w ago
-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 impact
Gotlicked
GotlickedOP2w ago
alright ill add that to the args
Miki_P98
Miki_P982w ago
Remove not add
Gotlicked
GotlickedOP2w ago
ah ok mb
Miki_P98
Miki_P982w ago
The only fix is to move back to a super old NVIDIA driver, as this is caused by NVIDIA bug Just ignore it
Gotlicked
GotlickedOP2w ago
ah ok
Miki_P98
Miki_P982w ago
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
Gotlicked
GotlickedOP2w ago
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
Puhpine
Puhpine2w ago
nice! good to know
Want results from more Discord servers?
Add your server