Documentation / Node reference / code nodes
code/Contrast
Changes the contrast of a colour.
Color
Pushes a colour away from grey, or pulls it toward grey, along the curve type picks. contrast 1 leaves the colour unchanged, except with SCURVE.
Parameters
| Name | Type | What it does |
|---|---|---|
| type | UInt8 LINEAR · LOG · POWER · SCURVE · WITH_PIVOT | The contrast curve. |
| color | Color | Colour to adjust. |
| contrast | Float | How strong the contrast is. Higher is stronger. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.