Post subject: CRT shader for windows. Is there such a thing?
nesrocks
He/Him
Player (241)
Joined: 5/1/2004
Posts: 4096
Location: Rio, Brazil
As I'm sure most everyone here is aware, the HLSL CRT simulation filter for mame helps achieve the old CRT look for arcade games running on high resolution displays, mostly LCD. Similar filters have been implemented on other emulators (some harder to configure/find than others), and I love how it looks closer to the original games than sharp pixel perfection. The thing is, not every emulator has it. Wouldn't it be simpler if one could simply run a program that filters the whole desktop screen to achieve that look and then run whatever game he wants? I have found some hardware that intercepts the vga signal, processes it and releases a vga signal with scanlines added to it. But that only adds scanlines, whereas mame's use of HLSL adds a range of other effects needed to get that CRT look. I have a component video output board that I can use to convert VGA to component and play any pc game on a real CRT tv. That is cool but not as practical as running a process so you can switch between both experiences. Plus, it lacks configuration. Does anyone know a solution for this, or maybe knows how to implement it in a simple way? I don't know the technical details, but I figure that windows must have some sort of protection and forbid easy access to programs intending to alter the display signal. If that is the case, maybe you could capture the screen and display it on a separate window which could be seen in fullscreen mode? Not sure if that is even feasible, as it would be capturing itself... Maybe with dual monitor setups?
Patashu
He/Him
Joined: 10/2/2005
Posts: 4017
Out of curiosity, how would such a program run without frames of visual latency?
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
nesrocks
He/Him
Player (241)
Joined: 5/1/2004
Posts: 4096
Location: Rio, Brazil
Yeah, I hadn't thought about that. I guess that to avoid having a 1 frame input lag it would be necessary for the program to really work together with the desktop video driver instead of just doing the work sepparately and then outputting to a window. Again, not sure how hard, logical, or even possible that is.
Titan91
He/Him
Joined: 8/9/2015
Posts: 22
What CRT shaders I have seen have not been that impressive to me really. Getting the scanlines right and the pixel blurring is key. Here are a few videos I made with a filter in post-editing to give you an idea. Supposed to look like RGB on a Sony PVM monitor (basically the most perfect picture you can get). https://www.youtube.com/playlist?list=PLMRncWY3xJFjaJnFJoKzAR5qxYwloGrS8
Post subject: Re: CRT shader for windows. Is there such a thing?
Tub
Joined: 6/25/2005
Posts: 1377
So you want something similar to the windows magnifier, that upscales a portion of your screen, but with a special upscaling filter? Thanks to the magic of modern composited desktops, such a solution should be possible to implement without adding a frame of latency. Google suggest there are open source implementations of similar tools, e.g. http://magnifier.sourceforge.net/ - could be used as a starting point, but obviously requires more coding.
m00