From 11d6178990838cb57609a8b5da9d7e6cd50dd7ce Mon Sep 17 00:00:00 2001 From: yutopp Date: Wed, 13 Mar 2019 17:53:30 +0900 Subject: [PATCH] Trim unnecessary spaces --- Assets/VRM/UniGLTF/Scripts/IO/MaterialImporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM/UniGLTF/Scripts/IO/MaterialImporter.cs b/Assets/VRM/UniGLTF/Scripts/IO/MaterialImporter.cs index ed16a76b1..9963fbff2 100644 --- a/Assets/VRM/UniGLTF/Scripts/IO/MaterialImporter.cs +++ b/Assets/VRM/UniGLTF/Scripts/IO/MaterialImporter.cs @@ -240,7 +240,7 @@ namespace UniGLTF material.SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.One); material.SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.Zero); material.SetInt("_ZWrite", 1); - material.SetFloat("_Cutoff ", x.alphaCutoff); + material.SetFloat("_Cutoff", x.alphaCutoff); material.EnableKeyword("_ALPHATEST_ON"); material.DisableKeyword("_ALPHABLEND_ON"); material.DisableKeyword("_ALPHAPREMULTIPLY_ON");