Shaders won't load even after removing DH
I mistakenly opened (apparently) incompatible shaders while using DH, but the game never crashed or anything, just started giving me this error message whenever I attempt to load the shaders.
I removed every file related to DH I know so perhaps the shaders could load properly, but even after that and after downloading fresh new versions of the shaders, nothing changes.
This ONLY happens with shaders I tried opening while using DH, other shaders load completely fine. so I know it's something about DH.
I attached the latest.log and mod list(The folder name "CUSTOM BBS" is simply a spare folder containing an edited version of the BBS mod so I don't have to keep it elsewhere whenever I want to swap) - this is the error message from the Copy Info button:
deferred.vsh: deferred.vsh: 0(147) : error C1059: non constant expression in initialization
I'm on Fabric 1.20.1, this is on Singleplayer but I assume will also happen on servers.Solution:Jump to solution
While adding DH, I also swapped about the BBS version to a non-publicly available version that I compiled from github, it has a W.I.P feature that can change shader values in real time for animation purposes (stuff like exposure, depth of field, etc). Maybe that version is messing with it
30 Replies
latest.log
uploaded to mclo.gsUploaded by tossler
Delete the settings for those shader packs, then try again
Settings are usually stored in a text file in the same folder as the shader pack itself
https://mclo.gs/ThIgMeg#L114
Line 114 suggest the shader pack is corrupted. Maybe check that one first?
I'll try real quick
I forgot I already tried this. I put the settings on my desktop incase I needed them again, but so far I've been trying to load it over and over without the settings text file
Define "check". I redownloaded the shader pack as a whole, not sure what else I can do
Either the pack is broken or something else is interfering with the pack. That error message can only mean those two things.
Well, since redownloading it didn't work I'd assume something is interfering.
My guess like I said is that I possibly missed something that distant horizons left in my config and is messing with the pack
Thing is I wouldn't know what it's called
I deleted all files in my MC game file containing "distanthorizon" or "indium" in the name
DH does not leave anything behind afaik
It was mostly files in the singleplayer world file
But yeah, I suppose other than that and indium in the config, there wasn't anything else
Knowing the shader pack hasn't been updated in over a year, it's likely possible it's no longer compatible with modern Iris, hence why it appears to be broken.
:linus:
It worked before
I took endless screenshots with it
Same mod version and everything before introduction of Distant Horizons?
Yup
And indium
but yes
:thonkwithshades:
I have these screenshots with it

even exported a video using Minema mod
Doesn't explain why it stays broken after you remove Distant Horizons, so that's where confusion starts.
Exactly
Perhaps the log suggests where the pack is corrupted, though I wouldn't know where to start with that
Just for sanity check, have you tried with only Iris and Sodium?
That one no, I'll try it now
Oh it worked
Well I'll be danged
Your other mods, namely BBS in this case, is the likely suspect for interfering.
I seriously highly doubt that, but maybe that's true
I worded that wrong, I'm seriously stumped as to why or how it would even do that
BBS is for the most part very shaders friendly, and never did this to me before
OHHH
hold up a dang minute
Eureka moment?
Solution
While adding DH, I also swapped about the BBS version to a non-publicly available version that I compiled from github, it has a W.I.P feature that can change shader values in real time for animation purposes (stuff like exposure, depth of field, etc). Maybe that version is messing with it
I'll try swapping back
That's interesting functionality.
IT WORKED
Good thing Aperture going to make that natively supported.
I guess that's something to let McHorse (creator of BBS) know
:haha_yes:
Glad you got to the bottom of this.
Thanks for the help 🙏