diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/MaterialFactory.cs b/Assets/VRMShaders/GLTF/IO/Runtime/MaterialFactory.cs index 4fa5d62da..d30f029bc 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/MaterialFactory.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/MaterialFactory.cs @@ -24,8 +24,8 @@ namespace VRMShaders {"VRM/UnlitTransparent", "Unlit/Transparent"}, {"VRM/UnlitCutout", "Unlit/Transparent Cutout"}, // 互換性は無いがとりあえず、 - {"VRM/UnlitTransparentZWrite", "VRM/Mtoon"}, - {"UniGLTF/StandardVColor", "UniGLTF/UniUnlit"}, + {"VRM/UnlitTransparentZWrite", "VRM/MToon"}, + {"UniGLTF/StandardVColor", UniGLTF.UniUnlit.Utils.ShaderName}, }; public struct MaterialLoadInfo diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/VRMShaders.GLTF.IO.Runtime.asmdef b/Assets/VRMShaders/GLTF/IO/Runtime/VRMShaders.GLTF.IO.Runtime.asmdef index a0e6a1dc5..ae4551ebf 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/VRMShaders.GLTF.IO.Runtime.asmdef +++ b/Assets/VRMShaders/GLTF/IO/Runtime/VRMShaders.GLTF.IO.Runtime.asmdef @@ -1,13 +1,14 @@ { "name": "VRMShaders.GLTF.IO.Runtime", - "references": [], + "references": [ + "VRMShaders.GLTF.UniUnlit.Runtime" + ], + "optionalUnityReferences": [], "includePlatforms": [], "excludePlatforms": [], "allowUnsafeCode": false, "overrideReferences": false, "precompiledReferences": [], "autoReferenced": false, - "defineConstraints": [], - "versionDefines": [], - "noEngineReferences": false + "defineConstraints": [] } \ No newline at end of file