Documentation / Node reference / code nodes

code/GammaCorrection

Applies a gamma curve to a colour.

Color

Raises each channel of a colour to the power 1 / gamma. 2.2 turns linear light into the values a screen expects.

Parameters

Name Type What it does
color Color Colour to correct.
gamma Float 1 changes nothing. Higher brightens the midtones.

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.