Class Tonemapping
A volume component that holds settings for the Tonemapping effect.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Post-processing/Tonemapping")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Tonemapping.html")]
public sealed class Tonemapping : VolumeComponent, IPostProcessComponent
필드
이름 | 설명 |
---|---|
gamma | Sets a gamma correction value that HDRP applies to the whole curve. This parameter is only used when Custom is set. |
lutContribution | How much of the lookup texture will contribute to the color grading effect. This parameter is only used when External is set. |
lutTexture | A custom 3D texture lookup table to apply. This parameter is only used when External is set. |
mode | Specifies the tonemapping algorithm to use for the color grading process. |
shoulderAngle | Controls how much overshoot to add to the shoulder. This parameter is only used when Custom is set. |
shoulderLength | Sets how many F-stops (EV) to add to the dynamic range of the curve. This parameter is only used when Custom is set. |
shoulderStrength | Controls the transition between the midsection and the shoulder of the curve. A value of 0 results in no transition and a value of 1 results in a very hard transition. This parameter is only used when Custom is set. |
toeLength | Controls how much of the dynamic range is in the toe. Higher values result in longer toes and therefore contain more of the dynamic range. This parameter is only used when Custom is set. |
toeStrength | Controls the transition between the toe and the mid section of the curve. A value of 0 results in no transition and a value of 1 results in a very hard transition. This parameter is only used when Custom is set. |
메서드
이름 | 설명 |
---|---|
IsActive() | Tells if the effect needs to be rendered or not. |
ValidateLUT() | Validates the format and size of the LUT texture set in lutTexture. |