Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GBA/OpenGL: Sprites behind a Mode 4 background are hidden entirely #1907

Closed
lunasorcery opened this issue Oct 11, 2020 · 2 comments
Closed

Comments

@lunasorcery
Copy link

Any sprites with their priority set to draw behind a Mode 4 background will be hidden entirely - when populating the relevant background layer, the OpenGL renderer treats palette index 0 as a solid color rather than a transparent passthrough.
This might affect other background modes too; I'm not sure.

Observed on 7b3900f
Only occurs on the OpenGL Video Renderer. The Software Video Renderer is unaffected.

@endrift
Copy link
Member

endrift commented Oct 11, 2020

Do you have an example game this is used in? It's an easy fix but I want to make sure I do it properly.

@lunasorcery
Copy link
Author

lunasorcery commented Oct 11, 2020

Observed on Asterix & Obelix XXL:
Screen Shot 2020-10-11 at 22 36 47

Software renderer for comparison:
Screen Shot 2020-10-11 at 22 36 36

and Drome Racers:
Screen Shot 2020-10-11 at 22 32 04

Software renderer for comparison:
Screen Shot 2020-10-11 at 22 32 23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants