docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetL1

    GetL1(SphericalHarmonicsL2, out Vector3, out Vector3, out Vector3)

    Returns the L1 coefficients organized in such a way that are swizzled per channel rather than per coefficient.

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

    The SphericalHarmonicsL2 data structure to use to query the information.

    Vector3 L1_R

    The red channel of all coefficient for the L1 band.

    Vector3 L1_G

    The green channel of all coefficient for the L1 band.

    Vector3 L1_B

    The blue channel of all coefficient for the L1 band.

    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)