Skip to content

lib.img.adjust.ColorGrade

Thomas Mann edited this page Jan 17, 2024 · 4 revisions

ColorGrade

in lib.img.adjust


Adjusts the color grading of the incoming image for the Gain (highlights), Gamma (mid-tones), and Lift (shadows).

Gray values are neutral. Alpha can be used to amplify the effect. Vignette color, size, and position can be used for additional effects.

Try:

  • blending by hovering over presets while holding the ALT key.
  • dragging the parameter color swatches vertically with the left and right mouse button to quickly adjust brightness and alpha.
  • adding a [WaveForm2] operator to visualize the image properties.

Also consider using [AdjustColors].


Input Parameters

Name (Relevancy & Type) Description
Texture2d (Texture2DRequired) -
PreSaturate (Single) -
Gain (Vector4) -
Gamma (Vector4) -
Lift (Vector4) -
VignetteColor (Vector4) -
VignetteRadius (Single) -
VignetteFeather (Single) -
VignetteCenter (Vector2) -
GenerateMipmaps (Boolean) -
ClampResult (Boolean) -

Outputs

Name Type
Output SharpDX.Direct3D11.Texture2D

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally