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

Avoid moire effect when using curvature #163

Open
franciscusm opened this issue Mar 28, 2021 · 3 comments
Open

Avoid moire effect when using curvature #163

franciscusm opened this issue Mar 28, 2021 · 3 comments

Comments

@franciscusm
Copy link

Hi.

When using curvature simulation a 'moire' effect appears. Would it be possible to avoid this? (maybe by altering the order each effect is executed).

While I remember some of my arcade monitors showed a subtle moire effect (Intervideo i.e.) others like the Hantarex Polo /2 didn't.

Thanks.

@hizzlekizzle
Copy link
Collaborator

Unfortunately, moire is a tough nut to crack, and basically requires pretty significant antialiasing/blurring. If you're trying to curve a previously flat shader using an additional pass, the "ewa-curvature" shader is one way to do it, the last pass of crt-royale is another. You can also use noise to hide it, like I did with the crtglow shader. (I don't think the crtglow curvature/noise or ewa-curvature are available in Cg format, only slang)

@franciscusm
Copy link
Author

I'm using just CRT Royale for Mame and old games in a 4k screen trying to mimic as much as possible the aspect of a CRT , so I use the curvature effect of CRT royale.

Oh, that's bad news then. But thanks anyway, the CRT feeling -even with a bit of moire- is incredible.

I'll play with antialiasing and blurring to see what can I achieve, though.

@hizzlekizzle
Copy link
Collaborator

Ah, yeah, if you're already using CRT-Royale, it's about as good as you're going to get, unfortunately. You can try increasing the anti-aliasing options in the shader's runtime parameters and see if higher values improve anything. Good luck :)

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