Merge pull request #2545 from saturday06/replace-obsoleted-URPUnityShaderName-with-UnityUrpShaderName
Some checks failed
Expired Issues Closure / cycle-weekly-close (push) Has been cancelled

MToon10Meta.URPUnityShaderNameがObsolete警告を出すのに対応
This commit is contained in:
ousttrue
2025-01-14 16:26:55 +09:00
committed by GitHub

View File

@@ -27,7 +27,7 @@ namespace UniVRM10
// use material.name, because material name may renamed in GltfParser.
matDesc = new MaterialDescriptor(
m.name,
Shader.Find(MToon10Meta.URPUnityShaderName),
Shader.Find(MToon10Meta.UnityUrpShaderName),
null,
Vrm10MToonTextureImporter.EnumerateAllTextures(data, m, mtoon).ToDictionary(tuple => tuple.key, tuple => tuple.Item2.Item2),
BuiltInVrm10MToonMaterialImporter.TryGetAllFloats(m, mtoon).ToDictionary(tuple => tuple.key, tuple => tuple.value),