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

implement CRT shader effects #13

Open
nippur72 opened this issue Apr 26, 2020 · 3 comments
Open

implement CRT shader effects #13

nippur72 opened this issue Apr 26, 2020 · 3 comments

Comments

@nippur72
Copy link

I've found a comment in the source code mentioning CRT effects so I would like to point you to this very cool shader effect... it has scanlines, rgbmask and pincushion:

https://www.shadertoy.com/view/XsjSzR

It doesn't need to be included in the C source code, it can be simply applied to the HTML canvas.

@floooh
Copy link
Owner

floooh commented Apr 28, 2020

Yep I know that effect, and I even had it implemented in a previous emulator.

See here and click on the little "CRT" button in the bottom left corner:

http://floooh.github.io/virtualkc/

In this older emulator I had to make the effect optional because performance on mobile devices was very poor, so I tried to come up with cheaper effects in the new emulators, but this ended up in lots of tinkering without satisfying results, so I switched it off again to maybe do it "properly" later.

@nippur72
Copy link
Author

WOW that is absolutely amazing, it looks like a true CRT display! I wonder if there's a simple way to apply it to a HTML canvas, because I don't know much about shaders & c.

@chrisbward
Copy link

+1 would love to see some shaders in the mix!

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

3 participants