Firstborn/Library/PackageCache/com.unity.postprocessing@3.2.2/Documentation~/Grain.md

32 lines
1.3 KiB
Markdown
Raw Normal View History

2023-03-28 13:24:16 -04:00
# 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](images\Grain_image_1.png)
![Scene with Grain](images\Grain_image_0.png)
### Properties
![](images/grain.png)
| 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