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

    Normal Blend Node

    Description

    Blends two normal maps defined by inputs A and B together, normalizing the result to create a valid normal map.

    Ports

    Name Direction Type Binding Description
    A Input Vector 3 None First input value
    B Input Vector 3 None Second input value
    Out Output Vector 3 None Output value

    Generated Code Example

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

    void Unity_NormalBlend_float(float3 A, float3 B, out float3 Out)
    {
        Out = normalize(float3(A.rg + B.rg, A.b * B.b));
    }
    
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX