Crt LightGun Shader & help with adding shader paramaters

Hi.

Anyone willing to help my add shader parameters for this shader so I can change some of the values when needed?

@hunterk helped me convert it from glslp to slang but I still need to have the ability to change some parameters if needed.

I also could not get the original shader working using gl.

According to @hunterk it had to do with

hunterk doesn’t include any of our boilerplate compatibility macros, so if your hardware is even slightly different from what they’re expecting, it’s not going to work *opengl is a bit of a mess like that

Thanks again.

Dowload here: lgun

Would anyone more knowable about this be able to help out? :pray: