docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PrepareShadowsMidtonesHighlights

    PrepareShadowsMidtonesHighlights(in Vector4, in Vector4, in Vector4)

    Pre-filters shadows, midtones and highlights trackball values for shader use.

    Declaration
    public static (Vector4, Vector4, Vector4) PrepareShadowsMidtonesHighlights(in Vector4 inShadows, in Vector4 inMidtones, in Vector4 inHighlights)
    Parameters
    Type Name Description
    Vector4 inShadows

    A color used for shadows.

    Vector4 inMidtones

    A color used for midtones.

    Vector4 inHighlights

    A color used for highlights.

    Returns
    Type Description
    (Vector4, Vector4, Vector4)

    The three input colors pre-filtered for shader use.

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