mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-07-26 20:51:47 -05:00
LookAt は DefaultExpressionValidator.Validate よりあとで処理されて IsBinary の閾値が 0 であった
see DefaultExpressionValidator.Validate var weight = expression.IsBinary ? Mathf.Round(inputWeights[key]) : inputWeights[key];
This commit is contained in:
parent
4a40f0015b
commit
0dc81ba7a1
|
|
@ -63,7 +63,7 @@ namespace UniVRM10
|
|||
|
||||
if (clip.IsBinary)
|
||||
{
|
||||
value = value > 0 ? 1 : 0;
|
||||
value = value > 0.5f ? 1 : 0;
|
||||
}
|
||||
|
||||
m_morphTargetBindingMerger.AccumulateValue(key, value);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user