Project

General

Profile

Actions

Emulator Issues #8603

closed

Metroid Prime 3 [RM3E01] bloom color splotching issue

Added by paraxade almost 9 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
GFX
% 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:
5.0-1490

Description

I noticed this issue while researching how this game's bloom is rendered. Metroid Prime 3 has strange color splotches on environments with bloom. While the splotches do exist on console, they seem to be the wrong color in Dolphin.

Console:
http://i.imgur.com/GBNBlXo.png
http://i.imgur.com/Q8u1TFY.png

Dolphin:
http://i.imgur.com/53URpKz.jpg
http://i.imgur.com/LMPw0aq.png

They're introduced during the process of rendering bloom. Here is an example frame.

http://i.imgur.com/GQy8gxz.png

Notice all the red splotches - that's the issue we're talking about. This is what that frame looks like after the initial scene render at 640x528, before the bloom is applied:

http://i.imgur.com/gXahbQF.png
EFB alpha channel: http://i.imgur.com/DyrgKmQ.png (these are the game's bloom texture maps)

The next step of the process involves taking the EFB texture, downscaling it to 320x224, and alpha blending it on black. This is where the splotches are introduced. This is what the frame looks like after the downscaling:

http://i.imgur.com/7NrgfKD.png

With the contrast turned up so you can see what's going on:

http://i.imgur.com/lEBQ8v5.png

The bloom is rendered with this texture, which is where the splotching comes from.

That's about all I know about the cause of this issue.


Files

R3ME01-15.png (740 KB) R3ME01-15.png EFB Copies to RAM Only JMC4789, 10/29/2015 06:58 PM
R3ME01-16.png (770 KB) R3ME01-16.png EFB Copies Hybrid Path JMC4789, 10/29/2015 06:58 PM
Actions #1

Updated by MayImilae almost 9 years ago

  • Status changed from New to Accepted
  • Category set to gfx

Thanks for reporting this!

Actions #2

Updated by phire almost 9 years ago

Looks like the alpha blending equation used for rendering the bloom is wrong, though it might also be a TEV issue feeding into alpha blending.

Updated by JMC4789 over 8 years ago

When disabling the Hybrid EFB Copies path, the splotches disappear.

Included two images, showing off the Hybrid path vs EFB Copies to RAM only path. 16 is Hybrid, 15 is pure EFB Copies to RAM.

Actions #4

Updated by JosJuice over 7 years ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-1490
Actions

Also available in: Atom PDF