-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Remaining glitches in Blazing Souls Accelate #8145
Comments
unknown weights (1) hmm? The blend mode is add: fixed, 1.0 - 2.0 * dst.a. That means the destination alpha is very important. This will require a framebuffer copy. What does the stencil preview look like in this scene when it's drawing that graphic? -[Unknown] |
After some debugging I'm pretty sure I know what the issue likely is here. We don't handle alpha replacement correctly when doing framebuffer copies for bleinding. I think this is causing alpha to be replaced by the output of the framebuffer copy. Per your tabs, stencil test is disabled so it ought to retain the stencil value, but I don't think there's any code that actually retains right now. Oops... -[Unknown] |
I was wrong, our strategy there is using a color mask, which ought to be working. The problem was we lost the color mask during rendering. -[Unknown] |
Per: This is using a 565 buffer. What does Maybe we need to rewrite some blend modes in 565. This doesn't even require shader blending. Silly game. -[Unknown] |
Weird. Just goes to show how many bizarrely subtle behaviours there are to take care of in an emulator... |
Well #8158 did kind of fix it, as long as pause menu is not entered or if simulate block transfer is disabled. |
As mentioned in #4665 (comment) this game has some weird glitches which seems fixed by disabling slower effects, and appear differently depending if simulate block transfer is used or not. Screenshots made by PPSSPP will usually just make the glitch into completely black square, but they can be transparent gray as well as take shapes of elements they were under when the effect was created, like for example this:
which was created under character and so still has an empty shape of character legs inside.
I copied contents of GEdebugger tabs while looking at that effect here: https://gist.github.com/LunaMoo/8378e6ec0641929cab78
You can see the texture used for this:
which is the blue frame on a black square, seems that the arrow to the right of it which is also on black square(all colors 0, a = 255) also causes those glitches while other things there are issue free.
I really have no ideas what could it be, as mentioned disabling slower effects magically causes black/gray squares disappear and it shows normal graphics
.
The text was updated successfully, but these errors were encountered: