Open DriftingZero opened 2 months ago
I'm struggling to reproduce the error, What version of Minecraft are you running on, what version of Iris are you using, and what are the specs of your system?
Minecraft 1.21 with Fabric Loader 0.16.2 Sodium 0.6.0-beta.1 + Iris 1.8.0-beta.3
A gaming laptop with AMD Ryzen 7 5800H and AMD Radeon RX 6600M
I just tried switching my Sodium and Iris versions to match yours, and when I try to load into the game with the shader it just crashes. I will probably need to find assistance with fixing this error, in the meantime while I work on fixing it maybe try downgrading to Sodium 0.5.11 and Iris 1.7.3 if possible until this bug is fixed.
I just figured out the error I'm pretty sure: certain mismatched OpenGL versions. I will be releasing the fix, and if it works or not just let me know.
New error code. I forgot to tell you that I'm also running Distant Horizons 2.2.0-a
dh_water.fsh: dh_water.fsh: ERROR: 0:85: '!=' : wrong operand types: no operation '!=' exists that takes a left-hand operand of type ' temp 4-component vector of float' and a right operand of type ' temp float' (or there is no acceptable conversion) ERROR: 0:85: '' : compilation terminated ERROR: 2 compilation errors. No code generated.
I've been trying to reproduce that error, strangely enough it doesn't happen to me. Maybe try reinstalling the mods and/or shader and see if that fixes anything? If that doesn't work, maybe try testing a separate instance with just those specific mods + the shader.
New Instance with most mods removed, keeping only these mods (but with the configuration files copied from the old one)
Still the same error
dh_water.fsh: dh_water.fsh: ERROR: 0:81: '!=' : wrong operand types: no operation '!=' exists that takes a left-hand operand of type ' temp 4-component vector of float' and a right operand of type ' temp float' (or there is no acceptable conversion)
ERROR: 0:81: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
However, once I removed Distant Horizons, this is how the water looks like at Nemract
I assumed the error might stem from whatever happened to my weird water.
Edit: I have tried deleting Sodium and Iris config file, resetting them to default values. The water is still the same.
Do you have Indium? If I remember correctly it's required for Distant Horizons and Sodium to work together.
The water refraction algorithm is also kind of weird too, it's pretty much sampling the whole screen except for HUD from the composite render pass for distorting the light. To fix that, I'd probably need to exclude things that aren't underneath the water in the depth mask.
I've managed to make refraction affect only underwater items, but the update I'm about to publish may not quite fix your error with Distant Horizons water yet. If the update and/or Indium fixes this error or not, I'll be waiting for your feedback here.
I always had Indium installed in the old instance. I have added Indium 1.0.35 in the testing instance now.
When Distant Horizons is installed, it still fails to load the shader pack.
dh_water.fsh: dh_water.fsh: ERROR: 0:86: '!=' : wrong operand types: no operation '!=' exists that takes a left-hand operand of type ' temp 4-component vector of float' and a right operand of type ' temp float' (or there is no acceptable conversion)
ERROR: 0:86: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
Back to not having Distant Horizons, I think the water is too transparent? The last image I sent probably didn't do justice since it was nighttime.
Here's what it looks like in daytime.
All of these are done with version 0.1.8 of the shader pack.
With the same error consistently repeating, I'll probably need to find some help on fixing this error. Also, I am fully aware of the water being so transparent; it's more of a design choice at this point, but it kinda came both on purpose and as an accident.
Version Alpha-0.1.7
The error log given from Iris
My client is quite heavily modded (for Wynncraft), but other shaders work completely fine.