Class FilmGrain
A volume component that holds settings for the Film Grain effect.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Post-processing/Film Grain")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Film-Grain.html")]
public sealed class FilmGrain : VolumeComponent, IPostProcessComponent
필드
이름 | 설명 |
---|---|
intensity | Controls the strength of the film grain effect. |
response | Controls the noisiness response curve. The higher you set this value, the less noise there is in brighter areas. |
texture | Specifies a tileable Texture to use for the grain. The neutral value for this Texture is 0.5 which means that HDRP does not apply grain at this value. |
type | Specifies the type of grain to use. Use Custom to provide your own texture. |
메서드
이름 | 설명 |
---|---|
IsActive() | Tells if the effect needs to be rendered or not. |