Skip to main content
Version: Next (dev)

Film Grain

Film grain adds a fine, changing noise to the final image, like the grain of photographic film. It is applied by the tonemapper after tonemapping, in display space, so it looks the same at any exposure. It is strongest in the midtones and fades in deep shadows and highlights. With HDR output the grain has the same perceptual size as in SDR.

Film grain is off by default. A scene opts in with a Post Process Volume, or a project turns it on with the Rendering.FilmGrain.Enable cvar. Unlike motion blur, film grain also shows in editor views. Render modes and asset thumbnails never get grain.

A 100% crop of a lit facade without and with film grain: the grain adds fine animated noise to the midtones

Bistro sample, 100% crop. Global Post Process Volume with OverrideFilmGrain, Intensity 0.3, Size 1.5.

Turning on film grain for a scene​

  1. Add a Post Process Volume component to an object in the scene, or select an existing one.
  2. In its Film Grain group, turn on OverrideFilmGrain. FilmGrainEnabled is on by default.
  3. Adjust FilmGrainIntensity and FilmGrainSize. Raise FilmGrainChroma for coloured grain.

Post Process Volume settings​

PropertyDefaultDescription
OverrideFilmGrainOffApplies the settings below while the volume affects the camera.
FilmGrainEnabledOnTurns film grain on or off inside the volume.
FilmGrainIntensity0.15Grain amplitude in the midtones, 0 to 1.
FilmGrainSize1.5 pxGrain size in pixels, 1 to 4.
FilmGrainResponse0.8How much the grain fades in deep shadows and highlights: 0 = even everywhere, 1 = only in the midtones.
FilmGrainChroma0Colour of the grain: 0 = monochrome, 1 = independent per channel.

Player setting​

Players can turn film grain off with Film grain (Accessibility.FilmGrain, default on) in the Accessibility section of the game settings. It is written to the Accessibility.FilmGrain.Scale cvar, which volumes never change; 0 turns grain off whatever the scene asks for.

Console variables​

CVarDefaultDescription
Rendering.FilmGrain.EnablefalseMaster switch. Written by post process volumes. Shown as Film grain in the Camera effects group of the Quality Settings panel.
Rendering.FilmGrain.Intensity0.15Grain amplitude in the midtones, 0 to 1.
Rendering.FilmGrain.Size1.5Grain size in pixels, 1 to 4.
Rendering.FilmGrain.Response0.8Fade in shadows and highlights, 0 to 1.
Rendering.FilmGrain.Chroma00 = monochrome, 1 = independent per channel.
Accessibility.FilmGrain.Scale1Player setting. 0 turns film grain off.

Output dither​

Separate from film grain, the tonemapper dithers SDR output once, with zero-mean noise sized to the precision of the output target, to hide colour banding in gradients such as skies. Since 0.12 this is the only output dither: earlier versions also dithered scene colour in the lighting passes, so the image was dithered twice with a small bias. Turn it off with Rendering.Tonemap.Dither to see the banding it hides.

See Also​