Log lines are quoted as Lenga writes them. During Play, the running game's log lines appear in the editor's Console. In a Web build they appear in the browser's developer console.
Effects Do Not Show
Check these in order:
-
The scene names a profile. Select the scene's root row in the Hierarchy panel and look at Backdrop > Post Processing in the Inspector. A field that reads "Select post-processing profile..." means the scene has none.
-
The effect is enabled. In the profile, the checkbox in the effect's header is ticked.
-
The effect's values change the picture. A new profile has every Intensity at 0.
Effect Draws nothing while Tonemapping Mode is NoneColor Adjustments every field is at its default Bloom, Vignette, Film Grain, Chromatic Aberration Intensity is 0 Lens Flare Intensity is 0, or Ghost Count and Halo Radius are both 0 -
The camera has Post Processing ticked. Select the camera the game uses and check Post Processing in its Camera component. See Switch post-processing off for a camera.
-
The log has no warning about the profile or a shader. The sections below quote each one.
The Profile Is Missing or Is Not a Profile
Post-processing: the profile '<path>' is missing or is not a post-processing profile. The scene is drawn without effects.
The scene names a path that has no file, or a file with no
postProcessing object. The warning is logged once for each path. Assign
the profile again in the scene's Post Processing row, or restore the
file. See
Post-processing profile file format.
Bloom Shows Nothing
- Intensity is 0. Raise it.
- Nothing in the scene is brighter than Threshold. Lower it. In a Gamma project scene color stops at 1, so a threshold of 2 or more leaves no bloom.
- Clamp is 0, which limits every pixel's contribution to 0.
Lens Flare Shows Nothing
- Intensity is 0, or Ghost Count and Halo Radius are both 0.
- Lens Flare reads the bright areas that Bloom's Threshold lets through. With nothing above the threshold there is nothing to mirror. Bloom's own checkbox can stay unticked.
Bloom and Lens Flare Are Missing While Other Effects Work
One of these lines is in the log:
Bloom: a bloom shader did not compile. Bloom and Lens Flare are off.
Bloom: this device did not complete a <format> target of <width> x <height>. Bloom and Lens Flare are off for frames of <width> x <height>.
Lens Flare: this device did not complete its target of <width> x <height>. Lens Flare is off for frames of <width> x <height>.
The device refused a shader or a target the two effects need. The final pass leaves them out and applies the rest of the profile.
No Effect Shows and the Log Names the Final Pass
Post-processing: the final pass shader did not compile for this profile's effects. The scene is presented without them.
The device did not compile the shader for this combination of effects. The scene is drawn as a scene with no profile. Lenga tries each combination once.
A Linear Project Looks Too Dark
Scene present: the present shader did not compile. Scenes are copied to the display without it, so a Linear project looks too dark.
The step that encodes linear color for the display is missing, so linear values reach the screen unencoded.
Parts of a Linear Project Look Too Bright
Shapes, sprites, particles and unlit materials:
Linear colour space: the engine's default shader for linear targets did not compile. Shapes, sprites, particles and unlit materials are drawn with display colour and look too bright.
One of your project's shaders:
Lenga: shader asset '<path>' has no main function or no single vec4 output the engine can convert for Linear colour space. It is drawn with display colour and looks too bright.
Give the shader's fragment shader a main function and exactly one vec4
output. Lenga then converts the color it writes. See
Gamma and Linear color space.
The Scene Color Target Fell Back to RGBA8
Scene colour target format: RGBA8. RGBA16F was requested and this device does not complete a framebuffer with it.
A Linear project asked for a float target and the device refused it. The project still draws in linear color, in 8 bits per channel, and scene color above 1 is cut off before Bloom and Tonemapping read it. In a Web build this depends on the player's browser and device. See Post-processing in Web builds.
No Scene Color Target Could Be Built
Scene colour target: no framebuffer could be completed at <width> x <height> (<format> requested). The scene is drawn without it.
The scene is drawn straight onto its destination, in display color, with no effects.
A Color Space Change Does Not Show in Play
The Console shows "Restart Play to apply the Color Space change." A Play session keeps the Color Space it started with. Stop Play and start it again.
A Profile Edit Does Not Show in a Running Game
A running game reads each profile once and keeps it. It does not reload a profile whose file changes. Stop Play and start it again. The editor's Scene view, Game view and camera preview show an edit on the next frame.
2D Sprites Look Lighter After Switching to Linear
In a Linear project translucent sprites, glows and tints blend on linear values, so they look lighter than in Gamma, and a half-transparent dark shadow darkens less. This is the same in every 2D scene of the project, with or without post-processing. Lower the alpha of shadows and overlays, or choose Gamma if you want darker blends throughout the project. See Which scenes the setting reaches.
The Vignette Is an Ellipse
With Rounded unticked, the vignette follows the frame's shape. Tick Rounded for a circle.
The Scene View's Grid Looks Different With an Effect On
With an effect on, the Scene view draws the grid, outlines and gizmos after the final pass. The grid then no longer shows through a translucent object that wrote depth in front of it, and in a 2D scene it is drawn over sprites at its depth.
The Profile File Shows Long Decimals
The editor saves numbers as 32-bit floats with all their digits, so a
Threshold of 0.9 is written to the file as 0.8999999761581421. The
value reads back as 0.9. See
Post-processing profile file format.
UI Is Not Affected by the Profile
UI canvases are drawn after the final pass, so no effect reaches them. See Post-processing limitations and costs.