Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Baking bone matrices for skinning

Discussion in 'Animation' started by VictorKs, Dec 2, 2018.

  1. VictorKs

    VictorKs

    Joined:
    Jun 2, 2013
    Posts:
    129
    So I created a vertex shader to do my skinning on the GPU but my bone matrices are completelly wrong.
    How can I calculate the bone matrices so I can send them to my GPU?
     
  2. polyflow3d

    polyflow3d

    Joined:
    Oct 6, 2014
    Posts:
    126
    transform.localToWorldMatrix