| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
float2 Reflection vector.
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0f " dot(i, n) " n.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
float3 Reflection vector.
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0f " dot(i, n) " n.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
float4 Reflection vector.
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0f " dot(i, n) " n.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
double2 Reflection vector.
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0 " dot(i, n) " n.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
double3 Reflection vector.
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0 " dot(i, n) " n.
| Parameter | Description |
|---|---|
| i | Incident vector. |
| n | Normal vector. |
double4 Reflection vector.
Given an incident vector i and a normal vector n, returns the reflection vector r = i - 2.0 " dot(i, n) " n.