Project

General

Profile

Actions

Emulator Issues #7458

closed

Tony Hawk Pro Skater 4: Shadow suffers zfighting or doesn't draw on some objects

Added by JMC4789 almost 10 years ago. Updated over 8 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Tony Hawk Pro Skater 4 - GT4E52

What's the problem? Describe what went wrong in few words.

The Shadow doesn't draw on some objects. This varies quite a bit.

For OpenGL + NVIDIA

On builds prior to 4.0-564 (https://dolphin-emu.org/download/dev/3aa0a63fe636e59a770ad7ec02a728c599545f23/) no shadows were drawn on problem objects

From 4.0-564 - 4.0-1146 (https://dolphin-emu.org/download/dev/450bde27bb2d7a47335c9800d3a29e012c9d67e9/) the shadows suffered zfighting/striping on proble objects

From 4.0-1192 (https://dolphin-emu.org/download/dev/a9a8c730748b8c8a2e83feb4c38626361cf9daa1/) until current (4.0-2051) no shadows are drawn on those objects.

For D3D and NVIDIA

Prior to 4.0-1192(https://dolphin-emu.org/download/dev/a9a8c730748b8c8a2e83feb4c38626361cf9daa1/), Shadows suffered zfighting. After that point they stopped drawing.

For AMD - Suffer zfighting in D3D regardless of build. OpenGL keeps messing up, will add data for that later when it cooperates.

What did you expect to happen instead?

The Shadow to draw.

What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]

  1. Load "College" level from a new game. It's the first stage.
  2. Skate down the stairs
  3. Shadow will not be on the different texture at the bottom of the stairs.

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?

Way too many to count. I tested between 3.5 and 4.0-2051, and noted builds that affected it above.

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?

Not really? Always suffered zfighting.

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)

Core i5 3570K, GTX 760, Radeon HD5850, Windows 7 x64

Are you using the 32 or the 64 bit version of Dolphin?

x64

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

https://dl.dropboxusercontent.com/u/484730/TonyHawkProSkater4ClippedShadows.7z

Note: 4.0-562 is a zfreeze related merge, but I validated the hashes of the build to figure it was indeed 4.0-564, the sonic unleashed hack, that the change started. Maybe my 4.0-562 was wrong?

Note2: The camera angle will show the shadow fully drawn on certain builds. On any builds it's drawing fully, it's probably just luck and would flicker in and out of existence if the camera moved.

Note3: Galop1n's D3D fixes branch completely eliminates the issue in D3D. If it'd help, I could locate the exact build that fixes this issue, assuming it's posted.

Note4: I sure hope I correctly stated all the dumb information in this issue.

Actions #1

Updated by alegend45 almost 10 years ago

Honestly, it looks just fine to me in SVN.

Actions #2

Updated by JMC4789 almost 10 years ago

If you told me which build you were using, which settings you were using, and maybe a screenshot of the location (assuming you didn't pick the same one as the fifolog) along with your computer, this may prove helpful rather in finding out what's going on.

Actions #3

Updated by phire almost 10 years ago

This is a zfreeze issue, isn't it?

I bet Galop1n's branch causes shadows to bleed through solid objects in-front of the surface that the shadow should be drawn on.

Actions #4

Updated by JMC4789 almost 10 years ago

I don't know exactly, I can't tell a situation. It doesn't bleed through the skater, at least. There are other games, like NBA Street V2 where the exact situation you're talking about does happen though, and it happens even worse on his branch.

Actions #5

Updated by phire almost 10 years ago

Shadows are probably drawn before the skater.

Actions #7

Updated by JMC4789 over 9 years ago

  • Status changed from New to Accepted

It's a fast-depth issue, of course. Requires fast depth on; Galop1n fixed this when he fixed all the issues with fast-depth and made it on by default.

Actions #8

Updated by phire almost 9 years ago

Has this bug been fixed by Armada's recent depth fixes?

Actions #9

Updated by JMC4789 almost 9 years ago

No; it's got a slightly better behavior as in they never completely disappear, but now they have the blinder effect where you see lines of shadow.

Actions #10

Updated by JMC4789 over 8 years ago

  • Status changed from Accepted to Won't fix

Slow-depth is inherently inaccurate, fast-depth can be perfectly accurate. Dolphin's also swim through cookies. With slow-depth not really being supported, there's no reason to keep this open.

Actions

Also available in: Atom PDF