diff --git a/UnityGLTF/Assets/UnityGLTF/Runtime/Scripts/Extensions/SchemaExtensions.cs b/UnityGLTF/Assets/UnityGLTF/Runtime/Scripts/Extensions/SchemaExtensions.cs index 86c8ffebe..8f90edf7f 100644 --- a/UnityGLTF/Assets/UnityGLTF/Runtime/Scripts/Extensions/SchemaExtensions.cs +++ b/UnityGLTF/Assets/UnityGLTF/Runtime/Scripts/Extensions/SchemaExtensions.cs @@ -327,7 +327,9 @@ public static UnityEngine.Color ToUnityColorRaw(this GLTF.Math.Color color) public static GLTF.Math.Color ToNumericsColorRaw(this UnityEngine.Color color) { - var c = color.linear; + var c = color; + // if (QualitySettings.activeColorSpace == ColorSpace.Linear) + // c = c.linear; return new GLTF.Math.Color(c.r, c.g, c.b, c.a); }