Project

General

Profile

Actions

Emulator Issues #8565

closed

Black sky in Metroid Prime 2/3 (4.0-6204 depth regression)

Added by Villatoro.Cristian almost 9 years ago.

Status:
Fixed
Priority:
Urgent
Assignee:
-
Category:
GFX
% Done:

0%

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

Description

[READ THIS: https://forums.dolphin-emu.org/showthread.php?pid=276132 <<<
Your answers are there!]
[Leave the questions as they are and answer them in the next line]
[Remove lines written inside brackets [], but nothing else]

Game Name? Metroid Prime 2: Echoes

Game ID? G2ME01

What's the problem? Describe what went wrong in few words.
Using any version starting from 6024 will cause the sky in the game to be completely black. It literally has no sky when you are in an outside place within the game. The versions before it look completely normal in the game.

What did you expect to happen instead?
I expected there to be a regular sky when I look up and around.

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. Start Metroid Prime 2 in Dolphin 6192 to see what the sky should look like.
  2. Start Metroid Prime 2 in Dolphin 6204 to see the black sky that shouldn't be there.
    3.

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?
Many versions between the current latest 6266 and a really old version 6051 i think to bisect and find that 6204 was the build that broke the sky.

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
From my testing anything including 6192 and before works as it should.

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Windows 8.1, i5 4690k, MSI R9 280.

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
[Upload big files to a hosting service and post links here!]
http://imgur.com/a/xglKf
This link shows the normal sky in 6192 and the broken sky in 6204.

[Do not attach files to this issue. Upload them to another site and
link here. Use imgur.com for images and pastie.org for logs. Monitor the
email address that was used to create this issue.]

Actions #1

Updated by MayImilae almost 9 years ago

  • Status changed from New to Accepted
  • Regression set to Yes
  • Priority set to Urgent
  • Category set to gfx
  • Milestone set to Current

Reproduced in OpenGL and D3D in 4.0-6204 win64.

Tested on:
Core i5 3570K @ 4.7ghz
NVIDIA GeForce GTX 760
Windows 7 x64

Actions #3

Updated by MayImilae almost 9 years ago

This does not happen in Prime 1, but it occurs in Prime 3 as well.

Curiously, in Trilogy, Prime 1 is still not affected but Prime 2 and 3 still are. Usually a bug in Prime 2/3 applies to every game in Trilogy, so that's interesting.

Actions #4

Updated by MayImilae almost 9 years ago

For the record, PR2392 did not fix this.

Actions #5

Updated by paraxade almost 9 years ago

In Prime 2/3 the skybox is drawn by setting the depth range to 1.0 - 1.0, drawing the sky, changing it to something lower and then drawing the rest of the world. In Prime 1 they use a range of 0.99900001 - 1.0, which is probably why there's no issue in that game.

Actions #7

Updated by Armada almost 9 years ago

  • Status changed from Accepted to Fix pending
Actions #8

Updated by Autoran1 almost 9 years ago

  • Status changed from Fix pending to Fixed
Actions

Also available in: Atom PDF