Page 1 of 4

Water Shader turns into a pixelated mess

Posted: 25 Nov 2018, 15:59
by turtle09
When the player's camera it at the edge of the surface of the water, almost submerged, this happens:

Close (reflection looks normal):
Image

Closer (pixelated):
Image

Closest (a mess):
Image

Screenshots were taken on the 0.44 Release Build with all water shader settings turned on highest.

Re: Water Shader turns into a pixelated mess

Posted: 25 Nov 2018, 20:28
by psi29a
What kinda hardware and OS are you running? Do you have an idea to driver/module version for your GPU?

Re: Water Shader turns into a pixelated mess

Posted: 26 Nov 2018, 01:55
by AnyOldName3
Wait, this isn't a thing for everyone? I assumed it was just how the water shader worked.

Re: Water Shader turns into a pixelated mess

Posted: 26 Nov 2018, 09:50
by psi29a
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.
I honestly can't tell if this is sarcasm or not. ;)

Re: Water Shader turns into a pixelated mess

Posted: 26 Nov 2018, 13:58
by AnyOldName3
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.

Re: Water Shader turns into a pixelated mess

Posted: 26 Nov 2018, 15:25
by psi29a
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?

Re: Water Shader turns into a pixelated mess

Posted: 26 Nov 2018, 15:49
by AnyOldName3
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

Posted: 26 Nov 2018, 20:58
by turtle09
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

Posted: 27 Nov 2018, 04:22
by Pop000100
I also use a AMD GPU(R9 390) with 18.5.1 drivers and get this issue.

Re: Water Shader turns into a pixelated mess

Posted: 27 Nov 2018, 04:33
by AnyOldName3
I'll try running the shader through a GLSL verifier in case it's a case of the shader relying on undefined behaviour.