Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to stop vertex normal from being transformed by joint tranform in skinned mesh renderer?

Discussion in 'General Graphics' started by Crocomodo, Apr 21, 2019.

  1. Crocomodo

    Crocomodo

    Joined:
    Nov 21, 2017
    Posts:
    29
    Unity automatically transforms vertex normals with joint transforms on a skinned mesh. I don't want that.
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,329
    You cannot prevent this. If you want the untransformed normal, you have to store that data in another channel like the vertex color or an extra UV set.
     
    Crocomodo likes this.