study/first_study/Library/PackageCache/com.unity.shadergraph@3686fafd4720/Documentation~/Bitangent-Vector-Node.md

22 lines
955 B
Markdown
Raw Normal View History

# Bitangent Node
## Description
Provides access to the mesh vertex or fragment's **Bitangent Vector**, depending on the effective [Shader Stage](Shader-Stage.md) of the graph section the [Node](Node.md) is part of.
The bitangent vector is derived from the normal and tangent vectors and is orthogonal to both. The three vectors provide a reference frame to perform complex light calculations, for example.
You can select the coordinate space of the output with the **Space** dropdown parameter.
## Ports
| Name | Direction | Type | Binding | Description |
|:------------ |:-------------|:-----|:---|:---|
| Out | Output | Vector 3 | None | **Bitangent Vector** for the Mesh Vertex/Fragment. |
## Controls
| Name | Type | Options | Description |
|:------------ |:-------------|:-----|:---|
| Space | Dropdown | Object, View, World, Tangent | Selects coordinate space of **Bitangent Vector** to output. |