Original Post — Direct link

Hi,

I compiled an archive with more "fixed" shaders for the linux native client to be used with MESA_SHADER_READ_PATH (Instructions here or here).

Only works with MESA drivers - not with theproprietary NVIDIA driver.

The archive with the fixed shaders can be found here

The following "bugs" are fixed/worked around (also showing the responsible shader file):

Purple character select screen:

VS_eb68bdbc455fedce16d4835a1b5bf77caa6ba716.glsl

White circles on water textures: (video demonstration shown in the MESA issue link below)

According to a MESA Contributor this is caused by the shader trying to calculate log2 of 0 which is INF. The solution used here is to define a variable > 0 and use the max of that variable and the actually passed variable so log2 will never receive 0.

Divine Era - Deep Harbor:

FS_ba149428f93a67dcb7ca55a72724ea0b12dfc24b.glsl

FS_d6ff636fb5519aa7ed760e9cd56f5b7cd857f2a4.glsl

FS_d323137e916a22c896535e6763089888b56332ad.glsl

Divine Era - Maj’elka Lower District:

FS_29d35a69985f7f59a2c9e22acc3e5fa67619f27d.glsl

Divine Era - The Upper Temple:

FS_79a2e060091eef7cc7c1f075d270d27922d9b241.glsl

FS_c941baefd90e9393ac692400e4c5834b9becdad4.glsl

Monolith - Twisted Mire

FS_06dbd0ddd98b7e12ab8205821f4a561dac314c54.glsl

FS_86628f452c99b2dadde3d5a038c6f1616fc15731.glsl

Monolith - Sinking City

FS_6b38a6a2339ed6b1dee9c97c48241795afc7b693.glsl

Hope this helps. Also I am not sure if I caught all the maps showing the white circles so if you find any other map please reply here and I will try to fix those as well.

Currently I am hoping to also find the source and a fix for the screen flashing white bug.

External link →
9 months ago - /u/moxjet200 - Direct link

Thanks so much, Xenu! Really appreciate the contributions. Are you by chance interested in some contract work to help us solve these natively?

9 months ago - /u/moxjet200 - Direct link

Originally posted by Xenu420

Thank you. I sent you a pm.

Hey Xenu, sorry I’ve been traveling to Gamescom in Germany from the US and turns out I’m not great with Reddit on mobile… I think they want to hide the messages system. I’ll get back to you as soon as I can after this convention which is packed full each day! Thanks again