From 302fd612fb3663adfeccdf7a945a835d269dd187 Mon Sep 17 00:00:00 2001 From: notargs Date: Mon, 27 Dec 2021 19:52:01 +0900 Subject: [PATCH] =?UTF-8?q?MeshVertex=E3=81=AEdefault=20color=E3=82=92whit?= =?UTF-8?q?e=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshContext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshContext.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshContext.cs index 784243c73..da5b5c4a4 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshContext.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshContext.cs @@ -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);