Grade

Read with AI
All docs in one file (llms-full.txt)
Grade #Fx #Node
Grade

A grading node that applies exposure, contrast, saturation and tint together. Processing goes in the order color × Exposure × Tint → contrast → saturation, where contrast is max(0, (c - 0.18) × Contrast + 0.18) pivoted on middle gray 0.18, and saturation is a lerp with luminance (0.299/0.587/0.114). The intended position is before Tonemap (still in HDR).

  • Exposure — Default 1. Negative values are treated as 0 (Exposure input / exposureInput)
  • Contrast — Default 1. Negative values are treated as 0 (Contrast input / contrastInput)
  • Saturation — Default 1. Negative values are treated as 0. 0 is monochrome, above 1 boosts saturation (Saturation input / saturationInput)
  • Tint — The color to multiply by. Default white

Because max(0, ...) is applied after the contrast, values that sink below zero are raised to 0. The upper side is not clamped, so HDR values pass through as they are.

The alpha of the output is always fixed to 1. Removing the input clears the output to black.

The output supports HDR, and the resolution is the same as the input.

Input ports

Port IDType
Render TextureRenderTexture
Exposurefloat
Contrastfloat
Saturationfloat
TintColor

Output ports

Port IDType
Render TextureRenderTexture

Scriptable members

PathType
exposureInputfloat
contrastInputfloat
saturationInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "Grade" })

Pages linking here

Also referenced from