add Mtoon new props

This commit is contained in:
iCyP
2019-06-04 22:28:08 +09:00
parent 5c5a966f18
commit 6ce12e9a3c

View File

@@ -15,7 +15,8 @@ namespace UniGLTF.ShaderPropExporter
new ShaderProps
{
Properties = new ShaderProperty[]{
new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
new ShaderProperty("_MToonVersion",ShaderPropertyType.Float)
,new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
,new ShaderProperty("_Color", ShaderPropertyType.Color)
,new ShaderProperty("_ShadeColor", ShaderPropertyType.Color)
,new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
@@ -30,6 +31,11 @@ new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
,new ShaderProperty("_ShadeToony", ShaderPropertyType.Range)
,new ShaderProperty("_LightColorAttenuation", ShaderPropertyType.Range)
,new ShaderProperty("_IndirectLightIntensity", ShaderPropertyType.Range)
,new ShaderProperty("_RimColor",ShaderPropertyType.Color)
,new ShaderProperty("_RimTexture",ShaderPropertyType.TexEnv)
,new ShaderProperty("_RimLightingMix",ShaderPropertyType.Range)
,new ShaderProperty("_RimFresnelPower",ShaderPropertyType.Range)
,new ShaderProperty("_RimLift",ShaderPropertyType.Range)
,new ShaderProperty("_SphereAdd", ShaderPropertyType.TexEnv)
,new ShaderProperty("_EmissionColor", ShaderPropertyType.Color)
,new ShaderProperty("_EmissionMap", ShaderPropertyType.TexEnv)
@@ -38,6 +44,10 @@ new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
,new ShaderProperty("_OutlineScaledMaxDistance", ShaderPropertyType.Range)
,new ShaderProperty("_OutlineColor", ShaderPropertyType.Color)
,new ShaderProperty("_OutlineLightingMix", ShaderPropertyType.Range)
,new ShaderProperty("_UvAnimMaskTexture", ShaderPropertyType.TexEnv)
,new ShaderProperty("_UvAnimScrollX", ShaderPropertyType.Float)
,new ShaderProperty("_UvAnimScrollY", ShaderPropertyType.Float)
,new ShaderProperty("_UvAnimRotation", ShaderPropertyType.Float)
,new ShaderProperty("_DebugMode", ShaderPropertyType.Float)
,new ShaderProperty("_BlendMode", ShaderPropertyType.Float)
,new ShaderProperty("_OutlineWidthMode", ShaderPropertyType.Float)