Colour Correction
Using the Colour Correction of this module, you are able to change the following attributes. Please note that this Actions change ALL colours or ALL Game Objects in a scene by applying a post processing filter to the Main Camera. The attributes avaliable to change are:
  • Colour Hue
  • Colour Saturation
  • Overall Brightness
  • Overall Contrast
There are separate Actions to change individual Attributes or a Single Action to change the all of them at once.
The default setting for each attribute is 1.
Before you start using any of the Colour Correctings Actions, you must add the Camera Colour Correcting Script to the Main Camera. This can be done manually by dragging the Script from the components folder directly to the main camera game object.
Or by selecting the Component from the Component/Game Creator/Accessibilty menu.
You can verify that this has been completed by viewing the Main Camera in the Unity Inspector Window. You only need one instance of this script in the scene, or if you have more than one Camera (not Camera Motors) and wish to apply the filters to each, then each camera will need the component.
The Camera Colour Component must be applied to the Main Camera for these Actions to work. However, if you enable an Action without applying the Camera Component, the Action will attempt to do it for you.
The settings available to each attribute using Actions are as follows;
  • Colour Hue: from -180 to +180.
  • Colour Saturation: from 0 to +3.
  • Overall Brightness: from 0 to +3.
  • Overall Contrast: from -1 to +3.
Each of these values can be set in the Inspector using the Slider or can be obtained from a GC Variable. They can be set using the ALL Colours Action, or each individual attribute has a separate Action.
However, you must Trigger the Enable Correcting Colours Actions first. This can also be done in the Inspector or by using a Variable. This Action can also be used to turn off Colour Correcting and revert all colours to their original state.
By using Variables, you can combine these with a GC Slider in a UI Canvas, and allow the player to set their own preferences.
Recommended Settings for players with Visual impairments:
  • Colour Hue: 1
  • Colour Saturation: 1.2
  • Overall Brightness: 0.9
  • Overall Contrast: 1.5
Or allow the player to choose their own values using an in-game settings panel.
See the Examples Scenes and Settings Canvas provided with this Module.
A Colour Correcting Shader is also provided and is found in the Resources Folder. This is automatically included in your build.
Last modified 2yr ago
Copy link