Shaders & Effects

Colorblind Unity

Colorblind Shader for Unity

Example image

Usage

Scene

The test scene is called Colorblind Test Scene. This scene is set up with a few colored test objects and a Camera with the image effect shader applied.

Example image

Example image

Edit the shader to control the type of colorblindness to simulate, the error mask effect texture, the error mask strength, and the error blinking effect speed (0 for none).

Example image

Color Space

Your project MUST be configured to use Linear color. Edit > Project Settings > Player > Other Settings > Color Space

If you need to use Gamma, then you’ll need to make a modification in the shader code to map RGB to linear RGB and back. Otherwise, shoot me a request to add it (via Twitter or GitHub or something).

Sources

Algorithm: http://ixora.io/projects/colorblindness/color-blindness-simulation-research/

Error texture: https://www.toptal.com/designers/subtlepatterns/worms/

Releases

Get as Unity Package

License

MIT License © 2017