Project

General

Profile

Actions

Emulator Issues #9649

closed

Incorrectly calculated shadows in SpongeBob: BfBB

Added by scizzer12 almost 8 years ago. Updated over 1 year ago.

Status:
Fixed
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?

SpongeBob SquarePants: Battle for Bikini Bottom

Game ID? (right click the game in the game list, properties, info tab)

GQPE78

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

9e18f9a0032c4f3092945dc38a6517d3

What's the problem? Describe what went wrong.

Shadows are overly opaque and red + blue outline is sometimes present in the top left corner of the screen as well as some of the game edges.
I've combined bug reports because I'm fairly confident they're the same issue.

What steps will reproduce the problem?

Only present on internal resolutions greater than 1x or when Anti-aliasing is enabled:

Blue box in upper left appears when NOT looking at objects that require dynamic shading. The game is calculating shadows underneath a texture from the EFB (a copy of what's supposed to be there). The texture copy either doesn't cover the shadow projection properly, resulting in a blurred edge. Possibly a format discrepancy that's causing loss of information.

Shadows are red translucent triangles (matching the floor polygons) in a square surrounding spongebob.

With wireframe mode, projection hacks, or variable editing, you can manipulate the buffer up there, but never enough to remove it. See screenshots

Consistent test zone is the main menu where all degrees of all the issues happen.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

4-9000 - 5.0-88

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 7
Intel Xeon X5472
NVIDIA Quadro FX 4600

Windows 10
Intel i7 (first gen can't remember)
Nvidia GTX 540M

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

Included are several screenshots + FIFO replay. Settings are default everything.


Files

GQPE78-2.png (1.19 MB) GQPE78-2.png Main Menu with "Scaled EFB copy" off. Some shadows vanish. scizzer12, 06/28/2016 04:58 PM
GQPE78-1.png (1.23 MB) GQPE78-1.png Main Menu with both issues present scizzer12, 06/28/2016 04:58 PM
GQPE78-3.png (1.17 MB) GQPE78-3.png Main Menu with 1x iR. It should look like this, just in higher resolution. scizzer12, 06/28/2016 04:58 PM
GQPE78-4.png (1.45 MB) GQPE78-4.png (Un)Shadow boxes around characters. Blue outline is not present when other characters are on screen and the other characters do show up in the EFB copies when dumped scizzer12, 06/28/2016 04:58 PM
GQPE78-5.png (1.34 MB) GQPE78-5.png Blue box returns when spongebob is the only character's shadow being calculated scizzer12, 06/28/2016 04:58 PM
GQPE78-7.png (956 KB) GQPE78-7.png Top layer (which should have the blue box) removed by setting 803CD048 to 0 (from 256) scizzer12, 06/28/2016 04:58 PM
GQPE78-8.png (986 KB) GQPE78-8.png Top layer (which should NOT have the blue box) removed by setting 803CD048 to 0 scizzer12, 06/28/2016 04:58 PM
BfBB.dff (1.69 MB) BfBB.dff 3 frames of the main menu. Objects 72 and 77 seem to be the only ones accessing the EFB (at least copying to it) scizzer12, 06/28/2016 05:05 PM
GQPE78-2.png (1.18 MB) GQPE78-2.png 2 shadows being calculated (SB + jellyfish) scizzer12, 06/29/2016 08:02 PM
GQPE78-1.png (1.31 MB) GQPE78-1.png 1 shadow being calculated (spongebob) scizzer12, 06/29/2016 08:02 PM
GQPE78-3.png (1.16 MB) GQPE78-3.png 3 shadows being calculated (SB + JF + Mr Krabs) scizzer12, 06/29/2016 08:02 PM
GQPE78-4.png (1.41 MB) GQPE78-4.png low level iR fixes + shadow junk collector scizzer12, 06/29/2016 08:02 PM

Related issues 1 (0 open1 closed)

Related to Emulator - Emulator Issues #10551: Spongebob the Movie floor texture/shadow issues and transparent boxFixed

Actions
Actions

Also available in: Atom PDF