I’ve open sourced the shader from Unto Deepest Depths
I’ve previously released the prototype code for my tactical strategy game Unto Deepest Depths and now I’m releasing the post-processing shader as well! Other than some of the code I use to dynamically adjust settings based on gameplay, which didn’t seem to useful for a game that’s not Unto Deepest Depths, this is the exact shader I use to get my crunchy retro look. It features scanlines, chromatic aberration, vignetting, noise, and glow, though be warned that realism is not the goal here, and if you want a realistic CRT effect, there are other shaders more suitable, some of which are linked in the repo as I used them to help make my simplified shader. But if you want something that get’s the job done to add a bit of character to your game, while being only a few lines of code per effect (making it easy to adjust for your own use case), then maybe you’ll find this useful!
I’m also including a small demo app in the repository in case you just want to play around with it a bit before integrating into your own project.