This commit is contained in:
SoulliesOfficial
2025-12-14 18:40:00 -05:00
parent f7af60351b
commit 7c1cb7e8e1
291 changed files with 226851 additions and 353 deletions

View File

@@ -501,6 +501,13 @@ namespace PotaToon.Editor
{
copy.SetInt("_AutoRenderQueue", 0);
}
if (copy.renderQueue < 2450)
copy.SetInt("_SurfaceType", (int)SurfaceType.Opaque);
else if (copy.renderQueue < 2501)
copy.SetInt("_SurfaceType", (int)SurfaceType.Cutout);
else
copy.SetInt("_SurfaceType", (int)SurfaceType.Transparent);
}
private static void CopyNumericData(Material original, Material copy)