Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Linear-Blend-Skinning-Node.md

16 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-06 14:45:45 -04:00
# Linear Blend Skinning Node
## Description
This node lets you apply Linear Blend Vertex Skinning, and only works with the [DOTS Hybrid Renderer](https://docs.unity3d.com/Packages/com.unity.rendering.hybrid@latest/). You must provide skinned matrices in the `_SkinMatrices` buffer. The node uses the `_SkinMatrixIndex` property to calculate where the matrices associated with the current mesh are located in the `_SkinMatrices` buffer.
## Ports
| Name | Direction | Type | Stage | Description |
|:--------- |:-----------|:--------|:-------|:------------|
| Position | Input | Vector3 | Vertex | Position of the vertex in object space. |
| Normal | Input | Vector3 | Vertex | Normal of the vertex in object space. |
| Tangent | Input | Vector3 | Vertex | Tangent of the vertex in object space. |
| Position | Output | Vector3 | Vertex | Outputs the skinned vertex position. |
| Normal | Output | Vector3 | Vertex | Outputs the skinned vertex normal. |
| Tangent | Output | Vector3 | Vertex | Outputs the skinned vertex tangent. |