mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-20 09:34:42 -05:00
rename
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user