2
Minecraft Shaders not Loading
Hi guys. I need some help on installing shaders. So, I am trying to install the Sildurs Shaders. I have downloaded it for 1.21.9 and installed it to pre2 of Optifine for 1.21.9. It shows up on the list, but when I select it and load into a world, I don't get any shaders at all. If you can tell me what to do that I have done wrong or something I'm missing, let me know.
Also, I have 8GB of ram on my PC if that helps.
Also, I have 8GB of ram on my PC if that helps.
3
MINECRAFT BROKE OPTIFINE 1.21.9 :(
Optifine currently does not support 1.21.9, so you will have to either play on earlier versions or use an alternative program like Iris
The shaders under the given address claim to support the versions from 1.7.10 to 1.21.8.
However, I tried to reproduce it using Minecraft 1.21.9 with Fabric, Sodium and the Iris shaders mod.
The shaders here seem to work fine, though I get warnings like:
--------------
[Render thread/WARN]: Failed to resolve uniform inSwamp, reason: Unknown variable: BIOME_SWAMP_HILLS ( = FunctionCall{smooth {[Number{1}, FunctionCall{if {[FunctionCall{in {[Id{biome}, Number{6}, Id{BIOME_SWAMP_HILLS}]} }, Number{1}, Number{0}]} }, Number{5}]} })
java.lang.RuntimeException: Unknown variable: BIOME_SWAMP_HILLS
--------------
You could also check your logs from OptiFine to see if any rendering error occurs.
I am not deeply involved into shaders at all, but this could be likely due to changes of the rendering logic between the Minecraft versions.
Regarding to OptiFine, it seems that it does not fully support the 1.21.9 shader logic yet (given the version name has pre2 inside).
So, if you only rely on the shaders, you could also try to run the Minecraft Fabric setup provided on top, or wait until OptiFine releases a fully supported version for 1.21.9.
I hope this helps! (* ^ ω ^)
However, I tried to reproduce it using Minecraft 1.21.9 with Fabric, Sodium and the Iris shaders mod.
The shaders here seem to work fine, though I get warnings like:
--------------
[Render thread/WARN]: Failed to resolve uniform inSwamp, reason: Unknown variable: BIOME_SWAMP_HILLS ( = FunctionCall{smooth {[Number{1}, FunctionCall{if {[FunctionCall{in {[Id{biome}, Number{6}, Id{BIOME_SWAMP_HILLS}]} }, Number{1}, Number{0}]} }, Number{5}]} })
java.lang.RuntimeException: Unknown variable: BIOME_SWAMP_HILLS
--------------
You could also check your logs from OptiFine to see if any rendering error occurs.
I am not deeply involved into shaders at all, but this could be likely due to changes of the rendering logic between the Minecraft versions.
Regarding to OptiFine, it seems that it does not fully support the 1.21.9 shader logic yet (given the version name has pre2 inside).
So, if you only rely on the shaders, you could also try to run the Minecraft Fabric setup provided on top, or wait until OptiFine releases a fully supported version for 1.21.9.
I hope this helps! (* ^ ω ^)
