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 over 10 years ago. Updated almost 9 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

Also available in: Atom PDF