MafiaWaterShaderMod icon indicating copy to clipboard operation
MafiaWaterShaderMod copied to clipboard

Unable to get shader properly working

Open keybreak opened this issue 5 years ago • 2 comments

Hi! I have a problem here...

When i look on water i see no reflections / ripples, just flat surface which blinks between black / grey / blue colors.

Used latest Widescreen fix (works perfectly) and this repo. Mafia: The city of Lost Heaven v1.0 (EN original) Patch v1.3 (for EN)


Linux, Manjaro KDE Wine v5.19-staging DXVK v1.7.2

Overrides:

d3d8 (native, builtin)

Tested Xbox droplets - seem to work perfectly fine..

Not sure what else to try, tested override of:

rw_data (native, builtin)

That doesn't seem to affect issue anyhow, i assume that .asi technically works, as it still changes water behavior, but there is some kind of bug...

Anything i miss? Perhaps there is some additional debug i can do?

Thanks in advance!

keybreak avatar Nov 24 '20 13:11 keybreak

No idea, must be some linux thing, since the mod is a bit hacky.

ThirteenAG avatar Nov 24 '20 13:11 ThirteenAG

That's about all logs i could gather from STDERR/STDOUT:

warn:  D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_CLIPPING
0024:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x230 for device 0.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.

Is this D3DXLoadSurfaceFromMemory used by this shader?

keybreak avatar Nov 24 '20 16:11 keybreak