VitorVilela7 / wide-snes

Super Mario World (SNES) Widescreen Project
1.6k stars 56 forks source link

Transparency Layer issue at the beginning of the Sunken Ghost Ship #14

Closed princenb closed 3 years ago

princenb commented 3 years ago

Once inside the Ghost Ship, right before the Ghosts begin to appear, there is a horizontal band of grey transparency that's positioned in front of Mario instead of behind him. Checked my original cart and it's definitely different.

Super Mario World (USA) SA-1 Widescreen v1 2-003 Super Mario World (USA) SA-1 Widescreen v1 2-004

TheLX5 commented 3 years ago

The issue is also present on the original game: vanilla002

It's related to how color substraction only works on certain palette rows on the SNES. Color substraction is used by the reappearing ghosts on the ship. You can see how red mushrooms and fire flowers also have their colors affected while the feather isn't during this area.

princenb commented 3 years ago

Ah you're right, I just tried an original Cart on a SuperNT and saw the same problem.

But using Vitor's 1.40 SA-1 patch, on a MiSTer system, it renders without the horizontal band for whatever reason. That's what I'd used to check before.

VitorVilela7 commented 3 years ago

As LX5 pointed out, it also happens with the original game. Some systems may not have the same behavior depending on how they interpret color translucency.