docs.unity3d.com
    Show / Hide Table of Contents

    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.
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023