A game about forced loneliness, made by TACStudios
1# Reflection Node
2
3## Description
4
5Returns a reflection vector using input **In** and a surface normal **Normal**.
6
7## Ports
8
9| Name | Direction | Type | Description |
10|:------------ |:-------------|:-----|:---|
11| In | Input | Dynamic Vector | Incident vector value |
12| Normal | Input | Dynamic Vector | Normal vector value |
13| Out | Output | Dynamic Vector | Output value |
14
15## Generated Code Example
16
17The following example code represents one possible outcome of this node.
18
19```
20void Unity_Reflection_float4(float4 In, float4 Normal, out float4 Out)
21{
22 Out = reflect(In, Normal);
23}
24```