UniVRM icon indicating copy to clipboard operation
UniVRM copied to clipboard

bake 時に 法線 normalize するべきでは?

Open ousttrue opened this issue 1 year ago • 1 comments

https://github.com/vrm-c/UniVRM/pull/2329#discussion_r1650872748

スケールを含むモデルを bake したときに 法線に大きさが反映されてしまう可能性?

  • 明度
  • MToon の outline に影響

ousttrue avatar Jul 05 '24 09:07 ousttrue

https://docs.unity3d.com/ja/2019.4/ScriptReference/Matrix4x4.MultiplyVector.html

https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Math/Matrix4x4.cs#L323

スケールの影響ありそう

ousttrue avatar Jul 05 '24 09:07 ousttrue