mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-25 07:28:51 -05:00
update schema done
This commit is contained in:
parent
cc89cb104c
commit
dd31a7d611
|
|
@ -83,7 +83,6 @@ namespace UniVRM10
|
|||
mtoon.ShadingToonyFactor = context.ShadingToonyFactor;
|
||||
|
||||
// GI
|
||||
// TODO: update schema
|
||||
mtoon.GiEqualizationFactor = context.GiEqualizationFactor;
|
||||
|
||||
// Emission
|
||||
|
|
|
|||
|
|
@ -110,12 +110,12 @@ namespace UniVRM10
|
|||
// Rendering
|
||||
var alphaMode = GetMToon10AlphaMode(material);
|
||||
{
|
||||
yield return (MToon10Prop.AlphaMode.ToUnityShaderLabName(), (float) alphaMode);
|
||||
yield return (MToon10Prop.AlphaMode.ToUnityShaderLabName(), (float)alphaMode);
|
||||
}
|
||||
|
||||
var transparentWithZWrite = GetMToon10TransparentWithZWriteMode(material, mToon);
|
||||
{
|
||||
yield return (MToon10Prop.TransparentWithZWrite.ToUnityShaderLabName(), (float) transparentWithZWrite);
|
||||
yield return (MToon10Prop.TransparentWithZWrite.ToUnityShaderLabName(), (float)transparentWithZWrite);
|
||||
}
|
||||
|
||||
var cutoff = material?.alphaCutoff;
|
||||
|
|
@ -127,12 +127,12 @@ namespace UniVRM10
|
|||
var renderQueueOffset = mToon?.RenderQueueOffsetNumber;
|
||||
if (renderQueueOffset.HasValue)
|
||||
{
|
||||
yield return (MToon10Prop.RenderQueueOffsetNumber.ToUnityShaderLabName(), (float) renderQueueOffset);
|
||||
yield return (MToon10Prop.RenderQueueOffsetNumber.ToUnityShaderLabName(), (float)renderQueueOffset);
|
||||
}
|
||||
|
||||
var doubleSidedMode = GetMToon10DoubleSidedMode(material, mToon);
|
||||
{
|
||||
yield return (MToon10Prop.DoubleSided.ToUnityShaderLabName(), (float) doubleSidedMode);
|
||||
yield return (MToon10Prop.DoubleSided.ToUnityShaderLabName(), (float)doubleSidedMode);
|
||||
}
|
||||
|
||||
// Lighting
|
||||
|
|
@ -164,7 +164,6 @@ namespace UniVRM10
|
|||
var giEqualization = mToon?.GiEqualizationFactor;
|
||||
if (giEqualization.HasValue)
|
||||
{
|
||||
// TODO: Update schema
|
||||
yield return (MToon10Prop.GiEqualizationFactor.ToUnityShaderLabName(), giEqualization.Value);
|
||||
}
|
||||
|
||||
|
|
@ -192,7 +191,7 @@ namespace UniVRM10
|
|||
// Outline
|
||||
var outlineMode = GetMToon10OutlineWidthMode(material, mToon);
|
||||
{
|
||||
yield return (MToon10Prop.OutlineWidthMode.ToUnityShaderLabName(), (float) outlineMode);
|
||||
yield return (MToon10Prop.OutlineWidthMode.ToUnityShaderLabName(), (float)outlineMode);
|
||||
}
|
||||
|
||||
var outlineWidth = mToon?.OutlineWidthFactor;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user