Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sohne/colorblindness

Post-processing effects manager for Unity3D (URP & HDRP) in order to simulate different color palettes for color blind
https://github.com/sohne/colorblindness

colorblind colorblindness-simulator postprocessing unity

Last synced: 6 days ago
JSON representation

Post-processing effects manager for Unity3D (URP & HDRP) in order to simulate different color palettes for color blind

Awesome Lists containing this project

README

        

# SOHNE | Colorblindness
[![Unity Version](https://img.shields.io/badge/Unity-2018.4%20LTS+-green.svg?logo=unity&style=for-the-badge&colorA=000000)](https://store.unity.com/download?ref=personal)

[![Release](https://badgen.net/github/release/SOHNE/Colorblindness)][releases] [![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/SOHNE/Colorblindness)](https://www.tickgit.com/browse?repo=github.com/SOHNE/Colorblindness) ![License](https://badgen.net/github/license/SOHNE/Colorblindness) ![Contributors](https://badgen.net/github/contributors/SOHNE/Colorblindness)

Using the [Channel Mixer][channel-mixer] component, includes eight color blindness profiles, based on this [Color Blindness Simulation][color-matrix].

Currently, it only works with the following [Scriptable Render Pipeline][render-pipeline]:
- Universal RP (**URP**) / Lightweight RP (**LWRP**)
- High Definition RP (**HDRP**)

---

### Features

- Eight different types of color blindness simulation;
- Load color filter profile in runtime pressing **F1**(*default key*) on keyboard;
- Saving the current filter via [_PlayerPrefs_][playerprefs];
- Automatically apply filters to volumes when migrating to a new scene.

### Supported types
:warning: ***Studies and tests with colorblind people are lacking to confirm the effectiveness of this solution!***

1. Protanopia;
2. Protanomaly;
3. Deuteranopia;
4. Deuteranomaly;
5. Tritanopia;
6. Tritanomaly;
7. Achromatopsia;
8. Achromatomaly.

---

### Todos

- [x] ~~Unity Package~~
- [ ] Optimizations
- [ ] Polishing
- [ ] Documentation
- [ ] Support for the ***standard Unity renderer + [Post-processing stack][post-processing]*** (?)

## Installation

- *Colorblindness **.unitypackage***
- Import the customized package found in the [releases][releases].
- [Unity’s Package Manager][upm]
- Add `"com.sohne.colorblindness": "https://github.com/SOHNE/Colorblindness.git#upm"` to your project's package manifest file in dependencies section.
- Or, `Package Manager > Add package from git URL...` and paste this URL: `https://github.com/SOHNE/Colorblindness.git#upm`

[instructions taken from [GameToolkit-Localization](https://github.com/ibrahimpenekli/GameToolkit-Localization)]

---

### Implementation recommendations

- [Input System][inputsystem]
- [Addressables][addressables]

MIT License
----

Copyright 2020 SOHNE ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-----
![readme version](https://img.shields.io/badge/%2F~.-lightgrey.svg?style=flat-square&colorA=808080&colorB=808080)![readme version](https://img.shields.io/badge/05%2F07%2F20--lightgrey.svg?style=flat-square&colorA=000000&colorB=808080)

**Live long and prosper \V/,**

[//]: # (External links)

[channel-mixer]:
[color-matrix]:
[render-pipeline]:
[playerprefs]:
[post-processing]:
[releases]:
[upm]:
[inputsystem]:
[addressables]: