Film Grain
膜颗粒效应是模拟照相膜的随机光学纹理,通常是由物理膜上存在的小颗粒引起的。
Using Film Grain
膜颗粒使用体积框架,所以要启用和修改胶片颗粒属性,你必须在场景的体积中添加一个膜颗粒覆盖。将膜颗粒添加到一个体积中:
- 在场景或层次视图中,选择一个包含体积组件的游戏对象,在检查器中查看它。
- 在检查器中,导航到Add Override > Post-processing 点击Film Grain膜颗粒。URP现在应用膜颗粒到这个体积影响的任何相机。
Properties
Property | Description |
---|---|
Type | Use the drop-down to select the type of grain to use. You can select from a list of presets that URP includes, or select Custom to provide your own grain Texture. 使用下拉菜单选择要使用的纹理类型。您可以从URP包含的预设列表中进行选择,或者选择Custom来提供您自己的纹理。 |
Texture | Assign a Texture that this effect uses as a custom grain Texture.This property is only available when Type is set to Custom. 分配一个纹理,这个效果使用自定义纹理。此属性仅在类型设置为Custom时可用。 |
Intensity | Use the slider to set the strength of the Film Grain effect. 使用滑块设置胶片颗粒效果的强度。 |
Response | Use the slider to set the noisiness response curve. The higher you set this value, the less noise there is in brighter areas. 使用滑块设置噪声响应曲线。这个值设置得越高,亮度较高的区域的噪音就越小。 |