docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Tonemapping

    A volume component that holds settings for the Tonemapping effect.

    Inheritance
    object
    Object
    ScriptableObject
    VolumeComponent
    Tonemapping
    Implements
    IPostProcessComponent
    Inherited Members
    VolumeComponent.active
    VolumeComponent.Override(VolumeComponent, float)
    VolumeComponent.SetAllOverridesTo(bool)
    VolumeComponent.GetHashCode()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    [VolumeComponentMenuForRenderPipeline("Post-processing/Tonemapping", new Type[] { typeof(HDRenderPipeline) })]
    public sealed class Tonemapping : VolumeComponent, IPostProcessComponent

    Fields

    gamma

    Sets a gamma correction value that HDRP applies to the whole curve. This parameter is only used when Custom is set.

    Declaration
    [Tooltip("Sets a gamma correction value that HDRP applies to the whole curve.")]
    public MinFloatParameter gamma
    Field Value
    Type Description
    MinFloatParameter

    lutContribution

    How much of the lookup texture will contribute to the color grading effect. This parameter is only used when External is set.

    Declaration
    [Tooltip("How much of the lookup texture will contribute to the color grading effect.")]
    public ClampedFloatParameter lutContribution
    Field Value
    Type Description
    ClampedFloatParameter

    lutTexture

    A custom 3D texture lookup table to apply. This parameter is only used when External is set.

    Declaration
    [Tooltip("A custom 3D texture lookup table to apply.")]
    public Texture3DParameter lutTexture
    Field Value
    Type Description
    Texture3DParameter

    mode

    Specifies the tonemapping algorithm to use for the color grading process.

    Declaration
    [Tooltip("Specifies the tonemapping algorithm to use for the color grading process.")]
    public TonemappingModeParameter mode
    Field Value
    Type Description
    TonemappingModeParameter
    See Also
    TonemappingMode

    shoulderAngle

    Controls how much overshoot to add to the shoulder. This parameter is only used when Custom is set.

    Declaration
    [Tooltip("Controls how much overshoot to add to the shoulder.")]
    public ClampedFloatParameter shoulderAngle
    Field Value
    Type Description
    ClampedFloatParameter

    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.

    Declaration
    [Tooltip("Sets how many F-stops (EV) to add to the dynamic range of the curve.")]
    public MinFloatParameter shoulderLength
    Field Value
    Type Description
    MinFloatParameter

    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.

    Declaration
    [Tooltip("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.")]
    public ClampedFloatParameter shoulderStrength
    Field Value
    Type Description
    ClampedFloatParameter

    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.

    Declaration
    [Tooltip("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.")]
    public ClampedFloatParameter toeLength
    Field Value
    Type Description
    ClampedFloatParameter

    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.

    Declaration
    [Tooltip("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.")]
    public ClampedFloatParameter toeStrength
    Field Value
    Type Description
    ClampedFloatParameter

    Methods

    IsActive()

    Tells if the effect needs to be rendered or not.

    Declaration
    public bool IsActive()
    Returns
    Type Description
    bool

    true if the effect should be rendered, false otherwise.

    ValidateLUT()

    Validates the format and size of the LUT texture set in lutTexture.

    Declaration
    public bool ValidateLUT()
    Returns
    Type Description
    bool

    true if the LUT is valid, false otherwise.

    Implements

    IPostProcessComponent
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)