Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Compute-Deformation-Node.md
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

989 B

Compute Deformation Node

Description

This node lets you pass compute deformed vertex data to a vertex shader, and only works with the DOTS Hybrid Renderer. You must provide DeformedVertexData in the _DeformedMeshData buffer. The node uses the _ComputeMeshIndex property to calculate where the DeformedVertexData associated with the current mesh are located in the _DeformedMeshData buffer. To output data, you must either install both the DOTS Hybrid Renderer and DOTS Animation packages, or use a custom solution.

Ports

Name Direction Type Stage Description
Position Output Vector3 Vertex Outputs the deformed vertex position.
Normal Output Vector3 Vertex Outputs the deformed vertex normal.
Tangent Output Vector3 Vertex Outputs the deformed vertex tangent.