PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.3k stars 1.58k forks source link

[BUG]: Gran Turismo 3 (SCES-50294) Sun is Visible Through Geometry in Hardware Mode #10163

Open sinisterseed opened 10 months ago

sinisterseed commented 10 months ago

Describe the Bug

The sun can be seen through map geometry in GT3 on certain tracks. I found it easiest to reproduce inside the tunnels of Grand Valley Reverse and a few other places on this track. Curiously, I actually don't remember seeing this on other tracks, but there's a few notable spots here where it loves showing up.

I noticed some reports about the sun in GT4 (notably it showing up in the rearview mirror, of all things), but none for GT3, so I figured I'd open one myself.

Here's a screenshot:

gfdgdfgd

Reproduction Steps

Start a race on Grand Valley Reverse in GT3, and go to the spot indicated in the screenshot, or try the tunnels. Perhaps the most interesting aspect of this bug is that it does not seem to show up on the forward version of the track, but does on the reverse one (or at least I couldn't, anyway).

Expected Behavior

The sun stays behind the tunnels and hills.

PCSX2 Revision

v1.7.5144

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

CPU

i5-6402P

GPU

GTX 950

GS Settings

No response

Emulation Settings

No response

GS Window Screenshots

No response

Logs & Dumps

No response

stenzek commented 10 months ago

Test at native resolution, and with the software renderer.

sinisterseed commented 10 months ago

Test at native resolution, and with the software renderer.

Peculiar, so this seems to be hardware rendering exclusive. I cannot reproduce the problem anymore in Software at native resolution.

Mrlinkwii commented 10 months ago

can i have a gs dump?

sinisterseed commented 10 months ago

can i have a gs dump?

Yes. GT3_SCES-50294_sun-through-geometry-hardware.zip

bigol83 commented 10 months ago

I still see the sun going through geometry with software renderer checking that gsdump.

refractionpcsx2 commented 10 months ago

The GS dump won't show the problem correctly, the sun relies on a GS download, which the result is hard coded in the GS Dump.

Similarly if the dump was made in SW mode (where it works), HW mode would show it working, too.

mirh commented 9 months ago

Possibly a cousin of #8254?

sinisterseed commented 9 months ago

Possibly a cousin of #8254?

Either that, or maybe https://github.com/PCSX2/pcsx2/issues/8990 , as the effect is identical. I actually don't recall ever seeing it in GT4, but then I never used features like the rearview mirror.

Mrlinkwii commented 8 months ago

Can this be rechecked on latest nightly :)

refractionpcsx2 commented 8 months ago

I doubt it's changed.

Mrlinkwii commented 3 months ago

i cant seem to recreate this , @sinisterseed can this be rechecked ?