VitorVilela7/wide-snes

Transparency Layer issue at the beginning of the Sunken Ghost Ship

princenb opened this issue · 3 comments

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

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.

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.

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.