Light Probe Node | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Light Probe Node

    Description

    Provides access to the Light Probe parameters at the object's position. Requires Normal input for probe sampling.

    Ports

    Name Direction Type Binding Description
    Normal Input Vector 3 Normal (world space) Mesh Normal data
    Out Output Vector 3 None Output color value

    Generated Code Example

    The following example code represents one possible outcome of this node.

    void Unity_LightProbe_float(float3 Normal, out float3 Out)
    {
        Out = SampleSH(Normal);
    }
    
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX