RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.43k stars 1.92k forks source link

Sonic Unleashed [BLUS30244] Incorrect Shadow Rendering #7455

Closed ActualMandM closed 4 years ago

ActualMandM commented 4 years ago

Shadows in Sonic Unleashed seemed to be rendered weirdly, especially on the cloth shader.

2020-02-09_19-56-31

RSX Capture

Real Hardware for reference

2020-02-09_20-18-45

Source

OS: Windows 10 Home CPU: AMD Ryzen 9 3900X 12-Core Processor GPU: NVIDIA GeForce RTX 2080 Driver: 442.19.0.0

Log that goes to Rooftop Run Act 1 (1st screenshot): RPCS3.log.gz

RSX captures do seem to be a bit iffy with Sonic Unleashed, if needed I can try to provide RenderDoc captures. It's also worth mentioning that when upscaling the game, shadows have missing pixels in them.

Cervoxx commented 4 years ago

Quick summary

Tails from sonic unleashed has weird shaded gloves. These weird shading issues also persist in in-engine cutscenes.

Details

AniLeo commented 4 years ago

Requesting submission review from @kd-11

kd-11 commented 4 years ago

Unfortunately to replay a turing capture you need a turing card. I'll see if we can find something in the rsx capture though, could be some filtering issue or precision clamping in the fp16 code. Any AMD users with this issue should report it as well so we can get more data points. In the meantime I'd suggest first disabling native fp16 in the config.yml and see if it helps.

ActualMandM commented 4 years ago

Still happens with Disable native float16 support set to true

2020-04-10_13-58-14
windwhirl94 commented 4 years ago

Also happens with BLES00425.

OS: Windows 10 Pro CPU: Ryzen 5 3600 GPU: Radeon RX 580 8 GB - Adrenaline 20.4.2 RPCS3 ver. 0.0.10.10394

2020 05 16-15 37 mp4_snapshot_00 09 876

RSX Capture: https://files.catbox.moe/sscq94.rrc RenderDoc Capture: https://files.catbox.moe/ik5lfn.7z RPCS3 log:RPCS3.log

ActualMandM commented 4 years ago

Worth mentioning that this also occurs when the shader interpreter is forced on.

2020-05-18_15-22-55 2020-05-18_15-23-13
windwhirl94 commented 4 years ago

As far as I have tested, this issue is not affected by PPU/SPU decoders' settings, nor RSX multithreading, nor Shader Mode, nor Resolution or Renderer settings. The Read/Write Depth/Color Buffers options don't affect this issue either.

ActualMandM commented 4 years ago

Can confirm that #8367 fixes this issue.

2020-06-06_15-08-21
Millennium-Eagle commented 1 year ago

I hate to be the one to point this out, but while this did fix the obvious shadow glitches like with Sonic's gloves, the baked shadows on the ground are still not accurate to hardware.