Guides Lighting Post Processing Post-Processing Effects Reference

Lighting Post Processing 8 min read Updated Nov 2026

Post-Processing Effects Reference

Every effect of a post-processing profile, with each field's Inspector label, key in the profile file, type, range, default and behavior.

The effects are listed in the order the Inspector shows them. They are applied in a fixed order of their own:

  1. Peripheral Warp and Chromatic Aberration
  2. Bloom
  3. Lens Flare
  4. Vignette
  5. Color Adjustments
  6. Tonemapping
  7. Film Grain

See How post-processing works.

Reading the Tables

  • Range is what Lenga keeps a value within when it reads a profile file. A value outside the range is moved to the nearest end. "0 or more" has no upper end.
  • Default is the value in a new profile, and the value used for a key missing from the file.
  • Every effect has an enable checkbox in its section header, stored as enabled, a boolean that defaults to false.
  • Colors are picked as display colors and stored as #RRGGBB, or as #RRGGBBAA when alpha is below 255. The effects use the red, green and blue of a color.

Tonemapping

Brings bright scene color into the range a display shows. Key: tonemapping.

Label Key Type Values Default What it does
Mode mode string None, Neutral, ACES None The curve applied to the scene color.
  • None applies no curve. Values above 1 clip to white.
  • Neutral is John Hable's filmic curve with a white level of 5.3. It maps 1 to about 0.63 and 2 to about 0.84, and keeps mid grey near 0.18.
  • ACES is Stephen Hill's fit of the ACES reference rendering transform and sRGB output transform. Its result stays between 0 and 1.

The step runs when the effect is enabled and Mode is Neutral or ACES. A mode string Lenga does not know is read as None.

Color Adjustments

Key: colorAdjustments. The four adjustments are applied in this order: Post Exposure, Contrast, Color Filter, Saturation.

Label Key Type Range Default What it does
Post Exposure postExposure number no limit in the file; the Inspector's field stops at -100 0 Brightness in stops. The color is multiplied by 2 to the power of the value: 1 doubles the scene's brightness and -1 halves it.
Contrast contrast number -100 to 100 0 Widens or narrows the range between dark and bright. -100 to 100 maps to a factor of 0 to 2, applied around a pivot of about 0.22 linear in a log encoding, so it is even across stops.
Color Filter colorFilter color #FFFFFF Multiplies the scene's color.
Saturation saturation number -100 to 100 0 The strength of all colors. -100 is greyscale. -100 to 100 maps to a factor of 0 to 2 around the color's luminance.

The step runs when the effect is enabled and at least one field differs from its default.

Bloom

Adds a glow around bright areas. Key: bloom.

Label Key Type Range Default What it does
Threshold threshold number 0 or more 0.9 Pixels brighter than this glow. It is in display units: 1 is white on screen. A pixel's brightness is its largest channel.
Intensity intensity number 0 or more 0 The strength of the glow. 0 draws no bloom.
Scatter scatter number 0 to 1 0.7 How far the glow spreads.
Tint tint color #FFFFFF The color of the glow. The tint's luminance is brought to 1, so it changes the glow's hue and Intensity alone sets its strength. A black tint is treated as white.
Clamp clamp number 0 or more 65472 The most a pixel adds to the glow, which keeps very bright pixels from flickering.
Downscale downscale string Half, Quarter Half The resolution the glow starts from: half or a quarter of the frame. Quarter is faster and softer.
Max Iterations maxIterations whole number 2 to 8 6 The most blur steps used. More steps spread the glow wider.
High Quality Filtering highQualityFiltering boolean false Reads the glow with a bicubic filter when it is added to the scene. Smoother, at four texture reads in place of one.

The step runs when the effect is enabled and Intensity is above 0.

How it works:

  • A bright pass reads the scene color into an image half or a quarter of the frame's size, limits each pixel to Clamp, and keeps what is above Threshold. The threshold has a soft knee of half its value, so brightness fades in from half the threshold upward.
  • That image is blurred down through smaller and smaller levels and back up. Scatter sets how much of each lower level is blended into the one above: 0 to 1 maps to a blend of 0.05 to 0.95.
  • The number of levels is the base-2 logarithm of the first level's longer side, rounded down, minus 1, kept between 1 and Max Iterations. A 1920 x 1080 frame at Half has a first level of 960 x 540 and uses 6 levels at the default.
  • The final pass adds the blurred image to the scene, multiplied by Tint and Intensity.

In a Linear project the bright pass works on linear values and compares them with the threshold converted to linear: 0.9 becomes about 0.787. In a Gamma project it works on display values and compares them with the threshold as typed. A downscale string Lenga does not know is read as Half.

Vignette

Fades the edges of the frame to a color. Key: vignette.

Label Key Type Range Default What it does
Color color color #000000 The color the edges of the frame fade to.
Center center object with x and y numbers not limited 0.5, 0.5 The middle of the vignette, in the frame from 0 to 1 measured from its bottom left corner. 0.5, 0.5 is the middle of the frame.
Intensity intensity number 0 to 1 0 How much of the frame the vignette covers. 0 draws no vignette.
Smoothness smoothness number 0.01 to 1 0.2 How gradually the vignette fades in.
Rounded rounded boolean false Keeps the vignette round on a frame that is not square. Unticked, the vignette follows the frame's shape.

The step runs when the effect is enabled and Intensity is above 0.

The scene's color is multiplied by a blend between Color and white. The blend is white at Center and reaches Color where the vignette is full.

Film Grain

Adds moving noise to the picture. Key: filmGrain.

Label Key Type Range Default What it does
Intensity intensity number 0 to 1 0 The strength of the grain. 0 draws no grain.
Response response number 0 to 1 0.8 How much the grain fades out of bright areas. At 0 the grain is equally strong at every brightness.

The step runs when the effect is enabled and Intensity is above 0.

The grain is generated in the shader for each pixel of the frame and uses no texture. It changes every frame. It scales the color it lands on, so black stays black.

Chromatic Aberration

Splits colors apart towards the edges of the frame. Key: chromaticAberration.

Label Key Type Range Default What it does
Intensity intensity number 0 to 1 0 How far colors split apart towards the edges of the frame. 0 splits nothing.

The step runs when the effect is enabled and Intensity is above 0.

Red is read at the pixel. Green is read one step and blue two steps towards the middle of the frame. The step is zero in the middle of the frame and grows with the square of the distance from it.

Lens Flare

Draws ghosts and a halo cast by bright areas. Key: lensFlare.

Label Key Type Range Default What it does
Intensity intensity number 0 or more 0 The strength of the ghosts and halo. 0 draws no flare.
Ghost Count ghostCount whole number 0 to 8 4 How many mirrored copies of the bright areas are drawn.
Ghost Spacing ghostSpacing number 0 to 1 0.3 The distance between ghosts along the line through the middle of the frame, as a fraction of the distance to the bright source.
Halo Radius haloRadius number 0 to 1 0.4 The size of the ring around the middle of the frame, as a fraction of the frame's height.
Chromatic Spread chromaticSpread number 0 to 0.1 0.01 How far apart red, green and blue are in the ghosts and halo.

The step runs when the effect is enabled, Intensity is above 0, and Ghost Count or Halo Radius is above 0.

Lens Flare reads the bright areas from the bloom image, mirrored through the middle of the frame. It uses Bloom's Threshold, Clamp, Scatter, Downscale and Max Iterations, and works whether or not Bloom itself is enabled. Ghosts and halo fade out towards the edges of the frame.

Peripheral Warp

Adds a radial ripple and optional color fringes at the edges of the scene. The center stays clear within Safe Radius. Screen-space UI remains sharp.

Inspector label Profile field Range Default
Enabled enabled true or false false
Intensity intensity 0 to 1 0
Safe Radius safeRadius 0 to 1 0.66
Smoothness smoothness 0.01 to 1 0.34
Ripple Amplitude rippleAmplitude 0 to 0.1 0.018
Ripple Frequency rippleFrequency 0 to 30 7
Phase phase radians 0
Chromatic Separation chromaticSeparation 0 to 0.05 0.012
Outer Tint outerTint hex color #C88CFF
Inner Tint innerTint hex color #96FFD4

For a short effect during gameplay, create a temporary screen effect.