When the player's camera it at the edge of the surface of the water, almost submerged, this happens:
Close (reflection looks normal):
Closer (pixelated):
Closest (a mess):
Screenshots were taken on the 0.44 Release Build with all water shader settings turned on highest.
Water Shader turns into a pixelated mess
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Water Shader turns into a pixelated mess
What kinda hardware and OS are you running? Do you have an idea to driver/module version for your GPU?
- AnyOldName3
- Posts: 2678
- Joined: 26 Nov 2015, 03:25
Re: Water Shader turns into a pixelated mess
Wait, this isn't a thing for everyone? I assumed it was just how the water shader worked.
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Water Shader turns into a pixelated mess
I honestly can't tell if this is sarcasm or not.AnyOldName3 wrote: ↑26 Nov 2018, 01:55 Wait, this isn't a thing for everyone? I assumed it was just how the water shader worked.
- AnyOldName3
- Posts: 2678
- Joined: 26 Nov 2015, 03:25
Re: Water Shader turns into a pixelated mess
No, I've legitimately always had this issue and thought it was an edge case where our shader's approach just wasn't very good rather than a bug where the behaviour was unexpected and therefore worth investigating and fixing.
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Water Shader turns into a pixelated mess
I saw this once and chalked it up to a driver/module issue. Now I'm curious... I have Intel, Nvidia and Amd lying around.
Can anyone else chime in if they can reproduce this and with what GPU hardware and driver version?
Can anyone else chime in if they can reproduce this and with what GPU hardware and driver version?
- AnyOldName3
- Posts: 2678
- Joined: 26 Nov 2015, 03:25
Re: Water Shader turns into a pixelated mess
For reference, I'm seeing this on a Vega 56 with AMD's proprietary Windows driver. I tested on another machine, too, which has a GT 850M and Nvidia's proprietary Windows driver and it didn't exhibit the issue. I couldn't test on that machine's integrated Intel GPU as it's not detected as having S3TC support properly.
Re: Water Shader turns into a pixelated mess
My pics were taken from an RX 580, so it probably is an AMD issue. Latest drivers, Windows 10.
Re: Water Shader turns into a pixelated mess
I also use a AMD GPU(R9 390) with 18.5.1 drivers and get this issue.
- AnyOldName3
- Posts: 2678
- Joined: 26 Nov 2015, 03:25
Re: Water Shader turns into a pixelated mess
I'll try running the shader through a GLSL verifier in case it's a case of the shader relying on undefined behaviour.