Emulator Issues #8603
closedMetroid Prime 3 [RM3E01] bloom color splotching issue
0%
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
Updated by MayImilae over 9 years ago
- Status changed from New to Accepted
- Category set to gfx
Thanks for reporting this!
Updated by phire over 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 about 9 years ago
- File R3ME01-15.png R3ME01-15.png added
- File R3ME01-16.png R3ME01-16.png added
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.
Updated by JosJuice almost 8 years ago
- Status changed from Accepted to Fixed
- Fixed in set to 5.0-1490