@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!
@studiospacefarer Thanks :) Feel free to use anything you can from the code, the GLSL code is embedded in the C code file, maybe that helps

@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?

@Mattias_G ah I got it working! GameMaker assigns textures into shaders differently, took a bit of finagling. UVs were different too. Managed to cobble something together from a few of my other shaders, learned a lot. The shader looks fantastic, great work and thank you again
@studiospacefarer hey, that’s great! Glad you got it working! Anything else, just ask :)
@studiospacefarer it’s basically assigning those textures samplers to slot 0, 1 and 2