RPCS3 / rpcs3

PS3 emulator/debugger
https://rpcs3.net/
GNU General Public License v2.0
15.15k stars 1.89k forks source link

Cubemaps in later Ratchet games are broken #15427

Open ZwipZwapZapony opened 5 months ago

ZwipZwapZapony commented 5 months ago

Quick summary

Cubemaps (or shiny/specular/reflective/phong highlights?) in later Ratchet & Clank games appear incorrectly, sometimes split in half and/or having a sharp edge.

Details

Affects at least Ratchet & Clank (Future): A Crack in Time, R&C: All 4 One, R&C: QForce/Full Frontal Assault, and R&C: Nexus/Into the Nexus. The screenshots, RSX captures, and save data are from R&C: Nexus/Into the Nexus.

This seems to happen regardless of settings (with the default settings, with the wiki settings (Read Color Buffers), with all read/write colour/depth buffers enabled, with strict rendering mode, with any ZCULL accuracy, with any RSX FIFO accuracy, and with CPU blit emulation).

It feels like if the different sides of a cubemap are rotated/mirrored/flipped incorrectly.

RPCS3 PS3
image
Here, it's most obvious on the green character's suit,
but about half of the surfaces in this scene are affected
image
image
Here, it's very noticeable on the glass spheres on the trees,
but it also affects the spaceship and some background elements
image

Attach a log file

[RPCS3.log.gz]

Attach capture files for visual issues

RSX capture 1: [NPEA00457_20240411142454_capture.rrc.gz] RSX capture 2: [Google Drive link - Too big for GitHub] Save data (R&C: Nexus): [NPEA00457_SAVE_0.zip] - The save starts in the "RSX capture 2" area. Move a little forwards and to the right to find a teleporter to the "RSX capture 1" area.

System configuration

Operating system: Windows 10, 64-bit CPU: Intel Core i9-9900K @ 3.60 GHz GPU: NVIDIA GeForce RTX 2080 Ti (Driver v552.12)

Other details

No response

kd-11 commented 4 months ago

Looks like some coordinate shenanigans going on.