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

transparency effects when scaling #117

Open
InanimateCrbnRod opened this issue Aug 14, 2022 · 2 comments
Open

transparency effects when scaling #117

InanimateCrbnRod opened this issue Aug 14, 2022 · 2 comments

Comments

@InanimateCrbnRod
Copy link

I don't know if this is an issue or expected behavior. When I turn off mode 7 hd scaling and I have the "simulate blur" option turned on, the effect works as intended and things like the water in super mario world are transparent. The effect is even better when adding something like the jinc2 shader on top of it. However if scaling is on, the transparency is now checkerboarded. Jinc2 and other de-dithering shaders have a harder time counteracting this as well when hd mode 7 scaling is on. is there a solution to this or is this just the expected behavior? Thank you

@InanimateCrbnRod
Copy link
Author

okay so the problem only happens when hd mode 7 is active, I'm just a casual user so forgive me if I'm misunderstanding anything, but what appears to be happening is that because it increases the resolution, doubling the pixels, the "simulate blur" option is still doing the math at og resolution. it needs to scale with the mode 7 setting. Is there any way to make this happen? I love the way games look with the hd mode factor at 480 (2x), but no matter what shaders I use I can't get transparency effects to work unless I disable the scaling. Thanks in advance!

@DerKoun
Copy link
Owner

DerKoun commented Sep 1, 2022

BLur emulation and shaders can't handle the scaling (which is pretty much integer nearest neighbor for non-mode7 elements) in most cases. I have ideas to help with that, but those won't work until the GPU fork is established, which won't be soon.

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