This commit is contained in:
Masataka SUMI 2021-09-28 19:02:41 +09:00
parent 67cba5f2f6
commit 2c4803b3eb
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ namespace VRM
MaterialDescriptor matDesc;
// legacy "VRM/UnlitTransparentZWrite"
if (VRMZWriteMaterialImporter.TryCreateParam(data, m_vrm, i, out matDesc))
if (VRMUnlitTransparentZWriteMaterialImporter.TryCreateParam(data, m_vrm, i, out matDesc))
{
return matDesc;
}

View File

@ -4,7 +4,7 @@ using VRMShaders;
namespace VRM
{
public static class VRMZWriteMaterialImporter
public static class VRMUnlitTransparentZWriteMaterialImporter
{
public const string ShaderName = "VRM/UnlitTransparentZWrite";
@ -32,7 +32,7 @@ namespace VRM
// use material.name, because material name may renamed in GltfParser.
var name = data.GLTF.materials[materialIdx].name;
//
//
// import as MToon
//
matDesc = new MaterialDescriptor(name, MToon.Utils.ShaderName);