Retro Look CRT (RGB CELL) Overlay Filter Tutorial.

Started by Tycho Magnetic Anomaly, Wed 26/04/2017 18:41:30

Previous topic - Next topic

Tycho Magnetic Anomaly

Hello everyone,

I thought to post a quick tutorial on how to get a nice effective old skool CRT look, however I had a look about the forum index and saw no specific area related to posting tutorials. My apologies if I have posted this into the wrong section.


Ok so I really like that old CRT  look, in particular when it comes to pixel art. Over the years I have seen various games and emulators try to simulate various styles of scan-lines and CRT looks, however I have rarely (if ever) seen ones that try to simulate the actual RGB component to each cell on a CRT screen. This style may not be to everyone's taste though.

Anyway I thought to try come up with something effective and thought to post my method here on the AGS forum since many of you are working at the pixel art level. This method could be applied to any lod res , however Its designed and most effective for pixel art styles.


So first of all to make this work you have to understand that you must upscale your artwork to at least 300%. This means for every pixel of your art work it will now have 9 pixels of detail, this will be needed for 2 reasons,  the first reason is to get Red Green and Blue going horizontally across each of your pixels, and the second reason is you will simulate the CRT cell beveling at the top and bottom of this 3x3 pixel.

This upscaling of art work may obviously not work with some projects  since those projects would be locked to a certain game res, but in general this is just the method and could in theory be applied to any game no matter its res.


Ok here are the very simple steps, and underneath are images of the process and underneath that is another image demonstrating how effective it can be.


Step 1:
Up-Scale your raw pixel art work up by 300% using nearest neighbor scaling (to avoid aa/blurring)
then zoom right in on one of your artwork pixels (which is now 3x3 pixels), then simply paint 3 vertical lines of 3 pixels, Red, Green and Blue. (Make sure to keep neatly inside your art work pixel)

Step 2
Now to simulate the slight bevel you see on CRT cells if you look close enough. Either apply a bevel or just paint lighter shade of Red,Green, Blue on the top row of 3 pixels, then at the bottom row of 3 pixels paint in darker R, G, B colors.


Step 3
Now you simply (but very carefully) copy and paste this to make a row,, then copy that row to make a block, and copy that block.. and so on. But its very import to take care that in each of your art work pixels the RGB cell is sitting in snug, with the highlight of the bevel on top and the dark part on the bottom and the Red component starting first.

Step 4
Once you have the whole of your image covered , simply use a "Soft Light" layer blend and your done. No need to touch Opacity settings. In this example I am using PS, however most GFX software that has layers will have a close equivalent to PS Layer Blends.

Step 5
On zooming right in you can make sure you didn't go wrong with the copy/pasting of the cells/rows..etc





And here are some examples of how effective this overlay filtering can be. , I have also provided you with a strip of overlay filter at the very bottom that's on a transparent background so if your too lazy to make it your self, just grab that and copy/paste until you have your image covered. (you will still need to apply a layer blend such as Soft Light)
You could bake this overlay effect into your image, or in theory it could be used as a real-time screen overlay filter in a game engine however I am not sure AGS could do that.




There is one disadvantage to this CRT effect in that it darkens the image slightly, however due to the nature of the effect its  kind of unavoidable , but its authentic to how a CRT would do it. You could brighten your under lay image up or  brighten your baked image but you might run the risk of washing the colors out a bit then.

Anyway have fun with it, hope it's useful to someone out there.




Crimson Wizard

Have you considered making this effect with a translucent overlay created at runtime, instead of altering every graphic in the room? Sort of "shader" style.

If that is achieveable, that will have a tremendous advantage in terms of development speed. And also one will be able to let player toggle it at will if they don't like it.

Tycho Magnetic Anomaly

#2
Howdy Crimson Wizard.

You dont have to create a new filter for ever image you want the effect, All you do is make the filter (takes 10 mins max) then drop any image under it, . use it again and again.

Regarding engine, yes as I mentioned this could be done with a game engine, ie a real-time screen overlay filter, however I am not so sure AGS could do it, in that case baking the effect into the image (as i have done) is fine.

Another advantage to using this overlay in engine would be you would not have to up-scale the source images, but rather the engine could do that in realtime.

qptain Nemo

Interesting. I like the look. Thanks for sharing.

selmiak

this is pretty cool. If you want to try the effect crimson Wizar is talking about, afaik did Alan v Drake add proper alpha blending support to some of the newer AGS versions, but I have no idea if it is released already and how to get it...

Olleh19

Maybe it's just me but couldn't you just export the "CRT grid" or whatever you wanna call it at the "pleasant" setting. Have the "right" settings so it blends over the images correctly.
Then just use it as a gui unclickable, or object unclickable and with a option have it go on/off?
(roll)

SMF spam blocked by CleanTalk