xemu-project / xemu

Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
https://xemu.app
Other
2.71k stars 270 forks source link

Ninja Gaiden Black: Surface of Water Looks Weird #1578

Open 480gh8q0hg08 opened 8 months ago

480gh8q0hg08 commented 8 months ago

Title

https://xemu.app/titles/5443000d/#Ninja-Gaiden-Black

Bug Description

Surface of water looks weird. It looks fine when you're inside water but the top looks like this
Screenshot from 2024-01-06 10-14-27

Expected Behavior

It should look like this Screenshot from 2024-01-06 11-06-31

xemu Version

xemu-v0.7.118-x86_64

System Information

OS: Linux Mint 21.2 Cinnamon Kernal: 6.2.0-39-generic GPU: NVIDIA 4060TI CPU:AMD Ryzen 9 7900X 12-Core Processor × 12

Additional Context

No response

oltolm commented 3 months ago

I tried debugging it in renderdoc. I have attached the fragment shader and the vertex shader. texSamp0 is the dudv map and texSamp2 is the reflection texture. I can also upload the renderdoc capture somewhere. Hope this helps. water-shaders.zip

HappehLemons commented 2 months ago

It has been reported before & fixed in a custom build: https://github.com/xemu-project/xemu/issues/837

I have no idea why the issue was closed considering the bug has never been fixed apart from the custom build that is linked in that thread.