@Mattias_G love how this looks. A good CRT shader for GameMaker (GLSL) is sort of my holy grail of effects, so this might be a good reference!
@Mattias_G I know this is like two years later lol, but I've been playing around with using that embedded GLSL from crtemu.h (currently the "lite" version).
I think I've got most of it, but I'm not super familiar with C++, so I'm not sure what is being passed in to the sampler2D uniforms (backbuffer, blurbuffer, frametexture)
It looks like the constants are being set to hex values? But then later on it looks like the uniforms are just respectively set to 0, 1, and 2?