OBS Studio colour blindness simulation shader?
-
- Posts: 526
- Joined: Sun Aug 27, 2006 6:10 am
- Location: some where
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.
-
- Spotlight Team
- Posts: 970
- Joined: Mon Nov 25, 2019 8:54 am
- Discord: Redneckerz#8399
- 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?
-
- Posts: 526
- Joined: Sun Aug 27, 2006 6:10 am
- Location: some where
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.
-
- Admin
- Posts: 12892
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
Re: OBS Studio colour blindness simulation shader?
Post the shader, it's possible someone might be able to update it for you.
-
- Posts: 526
- Joined: Sun Aug 27, 2006 6:10 am
- Location: some where
-
- Admin
- Posts: 12892
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
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.
You do not have the required permissions to view the files attached to this post.
-
-
- Posts: 12298
- Joined: Tue Jul 21, 2009 12:04 pm
- Discord: NeuralStunner#4201
- Graphics Processor: nVidia (Modern GZDoom)
- Location: capital N, capital S, no space
Re: OBS Studio colour blindness simulation shader?
I've heard of shaders to compensate for colorblindness, but this is a neat idea. 

-
- Posts: 526
- Joined: Sun Aug 27, 2006 6:10 am
- Location: some where
Re: OBS Studio colour blindness simulation shader?
Ah thank you kindly friend
-
- Admin
- Posts: 12892
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
Re: OBS Studio colour blindness simulation shader?
You're welcome