mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-26 04:39:51 -05:00
MeshVertexのdefault colorをwhiteにした
This commit is contained in:
@@ -142,7 +142,7 @@ namespace UniGLTF
|
||||
var joints = jointsGetter?.Invoke(i) ?? (0, 0, 0, 0);
|
||||
var weights = weightsGetter != null ? NormalizeBoneWeight(weightsGetter(i)) : (0, 0, 0, 0);
|
||||
|
||||
var color = colors != null ? colors[i] : Color.black;
|
||||
var color = colors != null ? colors[i] : Color.white;
|
||||
_vertices.Add(
|
||||
new MeshVertex(
|
||||
position,
|
||||
@@ -275,7 +275,7 @@ namespace UniGLTF
|
||||
}
|
||||
|
||||
var texCoord1 = texCoords1 != null ? texCoords1[i].ReverseUV() : Vector2.zero;
|
||||
var color = colors != null ? colors[i] : Color.black;
|
||||
var color = colors != null ? colors[i] : Color.white;
|
||||
var joints = jointsGetter?.Invoke(i) ?? (0, 0, 0, 0);
|
||||
var weights = weightsGetter != null ? NormalizeBoneWeight(weightsGetter(i)) : (0, 0, 0, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user