Skip to content

Latest commit

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date

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 ChannelGreen ChannelBlue Channel
TypeRGBRGBRGB
Normal100%100%100%
Protanopia56.667%43.333%55.833%44.167%24.167%75.833%
Protanomaly81.667%18.333%33.333%66.667%12.5%87.5%
Deuteranopia62.5%37.5%70%30%30%70%
Deuteranomaly80%20%25.833%74.167%14.167%85.833%
Tritanopia95%5%43.333%56.667%47.5%52.5%
Tritanomaly96.667%3.333%73.333%26.667%18.333%81.667%
Achromatopsia29.9%58.7%11.4%29.9%58.7%11.4%29.9%58.7%11.4%
Achromatomaly61.8%32%6.2%16.3%77.5%6.2%16.3%32.0%51.6%

ColorMatrix presets in RGB(255)

Red ChannelGreen ChannelBlue Channel
TypeRGBRGBRGB
Normal255255255
Protanopia144.500110.499142.374112.62561.625193.374
Protanomaly208.250110.499142.374112.62561.625193.374
Deuteranopia159.37595.625178.576.576.5178.5
Deuteranomaly204.051.065.874189.12536.125218.874
Tritanopia242.2512.75110.499144.500121.125133.875
Tritanomaly246.5008.499186.99968.00046.749208.250
Achromatopsia76.244149.68429.06976.244149.68429.06976.244149.68429.069
Achromatomaly157.58981.59915.80941.565197.62515.80941.56581.599131.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

Stars

3 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages