Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

NSMB: Incorrect Z-ordering in W8-3 #661

Closed
waddlesplash opened this Issue Apr 14, 2017 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

waddlesplash commented Apr 14, 2017

See the bubble on the left -- the plant inside the bubble appears behind the green plant.
new super mario bros-4

Related to polygon IDs, not Z, afaict. I saw the same bug while implementing polygon IDs in melonDS. I don't remember the exact cause, but basically: the polygon ID check for translucent pixels is only done when the destination pixel was translucent too (regardless of the stored alpha), except when drawing shadows.

(this, based on what I observed and tested. may be wrong)

Owner

endrift commented Apr 24, 2017

I implemented that part of polygon ID stuff already. It was, for example, causing trees to show through each other in SM64 before I fixed it. Wonder if I got it wrong somehow.

@endrift endrift closed this Apr 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment