Firstborn/Library/PackageCache/com.unity.postprocessing@3.2.2/Documentation~/Grain.md
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

32 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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