(1.17.1) Weird underwater reflections when Sodium is present
lozadajobd opened this issue ยท 5 comments
What happened?
I'm currently playing with Fabric 1.17.1 and I have noticed that there weird underwater reflections with Sildurs Vibrant Shaders, where the water would directly mirror the underwater surface. This only appears to happen in Sildurs Vibrant Medium - Extreme VL though, the water in Vibrant lite is completely fine.
Video Settings:
View Distance: 12
Brightness: 50%
Clouds: ON
GUI Scale: 3x
Fullscreen: ON
V - Sync: OFF
FPS Limit: Unlimited
View Bobbing: ON
Attack Indicator: Crosshair
Graphics Quality: Fancy
Clouds Quality: Default
Weather Quality: Default
Particle Quality: High
Smooth Lighting: ON
Biome Blend: 2 Blocks
Entity Distance: 100%
Entity Shadows: ON
Vignette: ON
*I forgot to turn off vignette. It probably isn't a factor anyway though.
Use Block Face Culling: ON
Use Fog Occlusion: ON
Use Entity Culling: ON
Use Particle Culling: ON
Animate Only Visible Textures: ON
Allow Direct Memory Access: ON
Mipmap Levels: 4x
Screenshots
Here are the screenshots for the game without shaders.
These are the screenshots for Sildurs Vibrant Shaders Medium, High, and Volumetric XL. Again, the Sildurs Version used here is v1.29
Sildurs Vibrant Extreme VL v1.29:
Sildurs Vibrant Lite v1.29:
Again, the water reflections in these are alright. But they may be of use though.
Lastly, here are the logs for each shader profile. In each l would load the game, switch to the selected shader profile, then afk underwater for 15 seconds. After that, I close the game and repeat.
No Shaders: log_noShaders.log
Vibrant Lite: log_vibrantLite.log
Vibrant Medium: log_vibrantMedium.log
Vibrant High: log_vibrantHigh.log
Vibrant Extreme VL: log_vibrantExtremeXL.log
Relevant log output
No response
Iris and Minecraft Version
iris-mc1.17-1.1.0 for Minecraft 1.17.1 | Fabric 0.11.6-1.17.1
Are you running Sodium along with Iris?
Yes
Operating System
Windows 10 Home
What is your GPU?
Nvidia GeForce GTX 1650ti
Java Version
Java 16
Additional context
No response
The reason for the water reflections being "fine" in Lite is because Lite has no water reflections to begin with. However, this is a known issue, but the cause of it hasn't been identified yet.
Oh, I didn't know that. I hope that some of my screenshots and logs help provide a fix though.
The reason for the water reflections being "fine" in Lite is because Lite has no water reflections to begin with. However, this is a known issue, but the cause of it hasn't been identified yet.
The issue is that Sodium reuses vertices for the top quad and bottom quad of water, but that causes the vertex normal for the top quad of the water to be reused for the bottom quad. That breaks reflections since the shader thinks it's reflecting off of the top of the water instead of the bottom.
The issue is that Sodium reuses vertices for the top quad and bottom quad of water, but that causes the vertex normal for the top quad of the water to be reused for the bottom quad. That breaks reflections since the shader thinks it's reflecting off of the top of the water instead of the bottom.
Oh alright, hopefully, this issue gets resolved soon. For now, I'll be moving to 1.16.5, where the issue doesn't seem to be present.