OBS Studio colour blindness simulation shader?
OBS Studio colour blindness simulation shader?
So I’ve been looking high and low for a filter / shader that simulates what I see (Tritanopia) has anyone run into an obs widget / filter? I’m not looking for a shader that assists with my colour deficiency. Just replicate it for those with normal vision. I used to have a shader in my autoload but unfortunately it’s no longer compatible with the current build of GZDoom. I figure it would be interesting for my followers to view games with this shader where almost everything is shades of blue and pink. Any help would be greatly appreciated.
- Redneckerz
- Spotlight Team
- Posts: 1115
- Joined: Mon Nov 25, 2019 8:54 am
- Graphics Processor: Intel (Modern GZDoom)
Re: OBS Studio colour blindness simulation shader?
This is not something that would be default in GZ. The best bet is if that particular shader gets updated.
Why does it not work, by the way?
Why does it not work, by the way?
Re: OBS Studio colour blindness simulation shader?
well the GZDoom shader used to work. but here's the error that shows up upon launching the game.
Code: Select all
Shader 'colorblind.glsl' could not be compiled:
ERROR: 0:79: 'sampler/image' : cannot construct this type
ERROR: 0:79: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
Re: OBS Studio colour blindness simulation shader?
Post the shader, it's possible someone might be able to update it for you.
Re: OBS Studio colour blindness simulation shader?
Here's the fixed version:
For some reason, it didn't like Texture2D. I changed it to Texture instead, and it worked.
This did not happen in OpenGL, at least on NVidia.
It seems extremely probable that you were using Vulkan to test this, and the SPIR-V compiler included in GZDoom choked on this.For some reason, it didn't like Texture2D. I changed it to Texture instead, and it worked.
This did not happen in OpenGL, at least on NVidia.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: OBS Studio colour blindness simulation shader?
I've heard of shaders to compensate for colorblindness, but this is a neat idea. 

Re: OBS Studio colour blindness simulation shader?
Ah thank you kindly friend
Re: OBS Studio colour blindness simulation shader?
You're welcome