You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rendering issue with tornado in Lunar Silver Star #17451
This turns out to be fallout from #17032 - was expected we'd run into something eventually...
The game uses the blend mode add: 2.0 * src.a, 1.0 - 2.0 * dst.a which isn't supported by non-PSP GPUs, so we go on the fallback path where we copy the framebuffer and blend in the shader, and we'd really need to copy between every draw here.
I think we can save the optimization in Dante's Inferno by only "preserving" the copied framebuffer if we did the copy because of overlap, and not in case of weird blend modes. Will fix for 1.15.4.
Activity
hrydgard commentedon May 11, 2023
This turns out to be fallout from #17032 - was expected we'd run into something eventually...
The game uses the blend mode
add: 2.0 * src.a, 1.0 - 2.0 * dst.awhich isn't supported by non-PSP GPUs, so we go on the fallback path where we copy the framebuffer and blend in the shader, and we'd really need to copy between every draw here.I think we can save the optimization in Dante's Inferno by only "preserving" the copied framebuffer if we did the copy because of overlap, and not in case of weird blend modes. Will fix for 1.15.4.
Don't cache render target copies for shader blending, only cache copi…