RPCS3 / rpcs3

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

Uncharted Drake's Fortune Offscreen Vertex bug #11259

Open JimScript opened 2 years ago

JimScript commented 2 years ago

I don't know if this is too small of an issue or related to #10955, but when the game tries to render a triangle with a vertex offscreen there is some grey z-fighing effect happening.

Video (look at the floor and the foreground):

https://user-images.githubusercontent.com/66685584/146269847-a91b8dba-1cc3-4566-a05a-a92ad14ad56e.mp4

RSX Capture (sorry for the multiple archive files, it got bigger than I expected): BCUS98103_20211215110857_capture.7z.001.zip BCUS98103_20211215110857_capture.7z.002.zip BCUS98103_20211215110857_capture.7z.003.zip BCUS98103_20211215110857_capture.7z.004.zip

System:

Megamouse commented 2 years ago

upload the rpcs3.log file as well please

JimScript commented 2 years ago

Alright, This is another instance, but it has the the same emulator version doing the same thing. RPCS3 Log: RPCS3.log

kd-11 commented 2 years ago

Its a known issue with attribute precision. I'm working on it together with the other depth problems

LifeIsStrange commented 2 years ago

@kd-11 any update ? :)

kd-11 commented 2 years ago

This has been improved quite a bit, but you can still trigger it if you know where to look. Some changes were already made to deal with attribute precision as well as Z-buffer clamping. I guess I also need to look at polygon offset scaling at some point.

Xcedf commented 2 years ago

This one still an issue, but in game's dev menu you can controll it by switching "Reload Depth Cull Buffer" 30 31

kd-11 commented 2 years ago

Oh, nice. That should help in debugging further.

Flori98 commented 6 months ago

I don't know if it's the same issue as I have in my post above.

JimScript commented 6 months ago

If the "WCB Performance & Z-fighting fix" patch fixes the issue then it's the same, so try that out.

Flori98 commented 6 months ago

If the "WCB Performance & Z-fighting fix" patch fixes the issue then it's the same, so try that out.

That was the same issue. Thanks for that tip.