Skip to content

Allows you to approximately see the way colorblind people see** as well as let you create your own colorshift which may help those that are colorblind*.

License

Notifications You must be signed in to change notification settings

DubyaDude/ColorShift-Mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorShift

Allows you to approximately see the way colorblind people see. Would mostly help in game/map/avatar design. Also allows you to make your own custom 'color shifts' which may help those that are colorblind.

Project Configuration

Open Command Prompt inside the project folder and type the following (replacing with YOUR directory)

mklink /j GameIL2CPP "PATH\TO\IL2CPP\GAME"

mklink /j GameMono "PATH\TO\MONO\GAME"

mklink /j GameMonoData "PATH\TO\MONO\DATA"

Keybinds

  • M - Changing filter mode (Forward)
  • N - Changing filter mode (Backward)

Configuration

In MelonPreferences.cfg:

  • MainCamMode(Enum) - The mode the camera is set to at launch (saved every filter change)
  • Keybinds(Bool) - To enable/disable the keybinds
  • ShowDifference(Bool) - Show how much colors have been affected with current filter
  • Custom1-5(Color[][]) - Cusom color shifts that can be configured by the user

ColorMatrix presets in Percentages

Red Channel Green Channel Blue Channel
Type R G B R G B R G B
Normal 100% 100% 100%
Protanopia 56.667% 43.333% 55.833% 44.167% 24.167% 75.833%
Protanomaly 81.667% 18.333% 33.333% 66.667% 12.5% 87.5%
Deuteranopia 62.5% 37.5% 70% 30% 30% 70%
Deuteranomaly 80% 20% 25.833% 74.167% 14.167% 85.833%
Tritanopia 95% 5% 43.333% 56.667% 47.5% 52.5%
Tritanomaly 96.667% 3.333% 73.333% 26.667% 18.333% 81.667%
Achromatopsia 29.9% 58.7% 11.4% 29.9% 58.7% 11.4% 29.9% 58.7% 11.4%
Achromatomaly 61.8% 32% 6.2% 16.3% 77.5% 6.2% 16.3% 32.0% 51.6%

ColorMatrix presets in RGB(255)

Red Channel Green Channel Blue Channel
Type R G B R G B R G B
Normal 255 255 255
Protanopia 144.500 110.499 142.374 112.625 61.625 193.374
Protanomaly 208.250 110.499 142.374 112.625 61.625 193.374
Deuteranopia 159.375 95.625 178.5 76.5 76.5 178.5
Deuteranomaly 204.0 51.0 65.874 189.125 36.125 218.874
Tritanopia 242.25 12.75 110.499 144.500 121.125 133.875
Tritanomaly 246.500 8.499 186.999 68.000 46.749 208.250
Achromatopsia 76.244 149.684 29.069 76.244 149.684 29.069 76.244 149.684 29.069
Achromatomaly 157.589 81.599 15.809 41.565 197.625 15.809 41.565 81.599 131.579

Sources:

Credits:

  • Requi - For helping me figure out the funky shader stuff when it came to VR.
  • Venclaire - For pushing me to make the mod in the first place.

DISCLAIMERS:

  • *This mod in no way is meant to act as a 'ColorBlind mode' for games. This mod is supposed to emulate an approximation of what colorblind people may see to account for color-blind people during game/map/avatar development.
    • HOWEVER some people that I've spoken to who were colorblind said that this helped in general gameplay, unfortunately, this is NOT what should be done to account for color-blind people. However, if it does indeed make others' experience better, then be free to use it as such.
  • **The accuracy of the preset color matrix is known to be inaccurate as the original author of these values himself stated "the ColorMatrix version is very simplified, and not accurate" (Source)

About

Allows you to approximately see the way colorblind people see** as well as let you create your own colorshift which may help those that are colorblind*.

Resources

License

Stars

Watchers

Forks

Languages