Iris 1.8.0-beta-3 breaks Complementary Unbound 5.2.2's "Show Light Levels" feature.

To be sure I created a fresh new MC 1.21.1 instance with Fabric 0.16.3 loader, ComplementaryUnbound_r5.2.2 shaders, and only the following mods: - Iris 1.8.0-beta.3+mc1.21.1 - Sodium v0.6.0-beta.1+mc1.21
Solution:
Fixed in Complementary Shaders v5.3
Jump to solution
17 Replies
hardester
hardester7mo ago
Can you describe your issue in further detail? Does it simply not showing up when the option is enabled, the shader crashed, it showing up wrong or other?
Musterion
MusterionOP7mo ago
It's just not showing up, as if enabling it has no effect at all.
hardester
hardester7mo ago
No in-game chat errors or anything I assume?
Musterion
MusterionOP7mo ago
Rolled back to Iris 1.73 / Sodium 0.5.11 and it works fine. no errors at all that i could see.
hardester
hardester7mo ago
Share your game log so that I can take a look at what's going on. Preferably, upload your log to https://mclo.gs as it makes log reading easier and help hide away any sensitive information.
mclo.gs - Paste, share & analyse your Minecraft logs
Easily paste your Minecraft logs to share and analyse them.
hardester
hardester7mo ago
You can find your game logs here:
LilyBot
LilyBot7mo ago
How to get crash reports and logs
It is highly advisable you upload your crash reports and logs to https://mclo.gs/ then share the link in Discord for easier reading and censoring potentially sensitive information. Otherwise, you can drag and drop the file directly into Discord. Crash reports can be found in the crash-reports sub-directory in .minecraft on clients, or the crash-reports sub-directory of the server directory for servers. We're probably interested in the most recent file. Logs can be found in the logs sub-directory in .minecraft on clients, or the logs sub-folder of the server directory for servers. We're probably interested in the file named latest.log.
Tag requested by hardester
Musterion
MusterionOP7mo ago
OK will do, ty Anything I need to redact for security?
hardester
hardester7mo ago
Mclogs does it for you. It is an open source project by the Aternos team to help making reading Minecraft logs easier and more secure. Also, usually the game logs and normal crash logs doesn't contain confidential information. Native crash logs do have it, almost a guarantee.
hardester
hardester7mo ago
At line 108, there appears to be information relevant to the shader pack. It appears there's an error happening when the option is disabled, rather than enabled. With that said, take this log to Emin (Complementary shaders' developer) so that he can take a look. For now, I'll leave this to IMS to investigate on Iris side.
Musterion
MusterionOP7mo ago
OK, will do. Thanks for the help.
Emin
Emin6mo ago
@IMS the problem is that this function no longer returns any value below approx 0.03 now with the latest iris
vec2 GetLightMapCoordinates() {
vec2 lmCoord = (gl_TextureMatrix[1] * gl_MultiTexCoord1).xy;
return clamp((lmCoord - 0.03125) * 1.06667, 0.0, 1.0);
}
vec2 GetLightMapCoordinates() {
vec2 lmCoord = (gl_TextureMatrix[1] * gl_MultiTexCoord1).xy;
return clamp((lmCoord - 0.03125) * 1.06667, 0.0, 1.0);
}
I think this problem makes every shaderpack have a slight bit of blocklight everywhere in the world
IMS
IMS6mo ago
I'll take a look at it, but that function seems weird? what's the subtraction and stuff for :ioa:
Emin
Emin6mo ago
I don't know but it's common practice in a bunch of shaders :tiny_potato:
IMS
IMS6mo ago
that looks suspiciously like how the game itself clamps which is... wrong :ioa:
Solution
Musterion
Musterion6mo ago
Fixed in Complementary Shaders v5.3

Did you find this page helpful?