mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-07 11:28:35 -05:00
Warning when importing not implemented MToon property.
This commit is contained in:
@@ -86,6 +86,13 @@ namespace UniVRM10
|
||||
yield return (MToon.Utils.PropShadeShift, shadingShift.Value);
|
||||
}
|
||||
|
||||
var shadingShiftTextureScale = mToon?.ShadingShiftTexture?.Scale;
|
||||
if (shadingShiftTextureScale.HasValue)
|
||||
{
|
||||
Debug.LogWarning("Need VRM 1.0 MToon implementation.");
|
||||
yield return ("_NEED_IMPLEMENTATION_MTOON_1_0_shadingShiftTextureScale", shadingShiftTextureScale.Value);
|
||||
}
|
||||
|
||||
var shadingToony = mToon?.ShadingToonyFactor;
|
||||
if (shadingToony.HasValue)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace UniVRM10
|
||||
if (TryGetShadingShiftTexture(parser, mToon, out var shadeShiftTex))
|
||||
{
|
||||
Debug.LogWarning("Need VRM 1.0 MToon implementation.");
|
||||
yield return ("_NEED_IMPLEMENTATION_MTOON_1_0", shadeShiftTex);
|
||||
yield return ("_NEED_IMPLEMENTATION_MTOON_1_0_shadingShiftTexture", shadeShiftTex);
|
||||
}
|
||||
|
||||
if (TryGetMatcapTexture(parser, mToon, out var matcapTex))
|
||||
|
||||
Reference in New Issue
Block a user