diff --git a/Assets/VRM/UniGLTF/Editor/Tests/MaterialTests.cs b/Assets/VRM/UniGLTF/Editor/Tests/MaterialTests.cs index 8109ecdfd..7e65293fb 100644 --- a/Assets/VRM/UniGLTF/Editor/Tests/MaterialTests.cs +++ b/Assets/VRM/UniGLTF/Editor/Tests/MaterialTests.cs @@ -183,6 +183,7 @@ namespace UniGLTF { var material = new Material(Shader.Find("Standard")); material.SetColor("_EmissionColor", new Color(0, 1, 2, 1)); + material.EnableKeyword("_EMISSION"); var materialExporter = new MaterialExporter(); var textureExportManager = new TextureExportManager(new Texture[] { }); var gltfMaterial = materialExporter.ExportMaterial(material, textureExportManager);