docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetL1

    SetL1(ref SphericalHarmonicsL2, Vector3, Vector3, Vector3)

    Set all L1 coefficients per channel.

    Declaration
    public static void SetL1(ref SphericalHarmonicsL2 sh, Vector3 L1_R, Vector3 L1_G, Vector3 L1_B)
    Parameters
    Type Name Description
    SphericalHarmonicsL2 sh

    The SphericalHarmonicsL2 data structure to store information on.

    Vector3 L1_R

    The red channels for each L1 coefficient.

    Vector3 L1_G

    The green channels for each L1 coefficient.

    Vector3 L1_B

    The blue channels for each L1 coefficient.

    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)