hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.14k stars 2.16k forks source link

Crisis Core's hidden walls & objects near camera becomes visible #13347

Open jcchikikomori opened 4 years ago

jcchikikomori commented 4 years ago

What happens?

The walls & objects became visible in front of the camera perspective

What should happen?

Should hide the wall or object

What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.

Version: Any 1.10.3 build (including the latest from Buildbot) GPU Backend: Vulkan & OpenGL Hardware: Intel HD 4000 & 620, Qualcomm Snapdragon 636 Platform: Visible on both Android, Windows & MacOS as well

Screenshot_20200827-180623994 Screenshot_20200827-214030945 Screenshot_20200827-214055987 Screenshot_20200827-214300981 Screenshot_20200827-214546149 Screenshot_20200828-191609974 Screenshot_20200829-071446529 Screenshot_20200829-071718314 Screenshot_20200829-071735452 Screenshot_20200827-180610499

jcchikikomori commented 4 years ago

Additional note: I am using the HUD HD texture pack. That is not relatable to this issue

Panderner commented 4 years ago

@jcchikikomori have you turned off texture replacement in development tools?

jcchikikomori commented 4 years ago

@jcchikikomori have you turned off texture replacement in development tools?

Yep. Still exists. Again, that was not the one affecting this issue

jcchikikomori commented 4 years ago

I just found out that Maximilian Dood has also experienced this kind of glitch. That was his re-play of Crisis Core this year

Screenshot_20200830-005423473 Screenshot_20200830-005429276 Screenshot_20200830-005434500

Panderner commented 4 years ago

@jcchikikomori investigate that when the last build works.

hrydgard commented 4 years ago

Probably related to https://github.com/hrydgard/ppsspp/issues/12060

unknownbrackets commented 3 years ago

Could you try exporting a GE frame dump? These help a lot. Just make sure to export it when you see the issue - it's almost like a screenshot. If you make it while the issue isn't happening, it won't help.

See here for instructions - it's not hard and works on Android too: https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump

You can zip that and then drag and drop it into a reply here.

I suspect this is related to #12058 and would be fixed by the same fix, but a frame dump - or a save and specific instructions on exactly where to encounter the bug - would help to verify that.

-[Unknown]

NABN00B commented 1 year ago

The depth clamping changes of v1.13 should have fixed this (apart from Direct3D 9).

unknownbrackets commented 1 year ago

Well, I think this is probably negative Z clip but would need a frame dump showing it to be completely sure. I don't think Crisis Core uses a narrow depth range so it wouldn't be clamping.

If it is negative Z clip, it is only solved for devices with user clip spaces or geometry shaders, which is a lot of devices but not all.

-[Unknown]