# 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.&#x20;

{% hint style="warning" %}
The default setting for each **attribute is 1.**
{% endhint %}

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. &#x20;

![](/files/-LghCMws5f1MSruA9oJR)

Or by selecting the Component from the Component/Game Creator/Accessibilty menu.

![](/files/-LghCPq96EorTXYhNu44)

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.

{% hint style="danger" %}
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.
{% endhint %}

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.&#x20;

![](/files/-LghCXkPIXL8A0dfZtWo)

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.

![](/files/-LghAwmidSwxvCiS-YFR)

By using Variables, you can combine these with a GC Slider in a UI Canvas, and allow the player to set their own preferences.&#x20;

{% hint style="success" %}
**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.
{% endhint %}

{% hint style="info" %}
See the Examples Scenes and Settings Canvas provided with this Module.
{% endhint %}

{% hint style="warning" %}
A Colour Correcting Shader is also provided and is found in the Resources Folder. This is automatically included in your build.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://profpivec.gitbook.io/documentation-and-tutorials/game-creator/accessibility-module-for-game-creator/visual-aids/variable-text-size-and-font.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
