Modelowanie_Wirtualnych_Swi.../Library/PackageCache/com.unity.postprocessing@3.1.1/Documentation~/Grain.md
2021-07-10 09:33:09 +02:00

1.3 KiB
Raw Permalink Blame History

Grain

The Grain effect overlays film noise onto your image. Film noise is the effect that real-world cameras produce when small particles in the cameras film give the image a coarse, unprocessed effect. Unitys Grain effect is based on a coherent gradient noise. This gives your game a gritty effect that simulates the imperfections of film.

The Grain effect available in Unity is based on a coherent gradient noise.

Scene without Grain

Scene with Grain

Properties

Property Function
Colored Enable the checkbox to use colored grain.
Intensity Set the value of the Grain strength. Higher values show more visible grain.
Size Set the value of the Grain particle size.
Luminance Contribution Set the value to control the noisiness response curve. This value is based on scene luminance. Lower values mean less noise in dark areas.

Performance

Disabling Colored makes the Grain effect run faster.

Requirements

  • Shader Model 3