Beispiel #1
0
 // collect properties from the material properties
 public override void FindProperties(MaterialProperty[] properties)
 {
     base.FindProperties(properties);
     shadingModelProperties = new SimpleLitGUI.SimpleLitProperties(properties);
     _PosTexProp            = FindProperty("_PosTex", properties, false);
     _NmlTexProp            = FindProperty("_NmlTex", properties, false);
     _DTProp     = FindProperty("_DT", properties, false);
     _LengthProp = FindProperty("_Length", properties, false);
     _LoopProp   = FindProperty("_Loop", properties, false);
 }
 // collect properties from the material properties
 public override void FindProperties(MaterialProperty[] properties)
 {
     base.FindProperties(properties);
     shadingModelProperties = new SimpleLitGUI.SimpleLitProperties(properties);
     lightMapProp           = BaseShaderGUI.FindProperty("_LightMap", properties);
 }
Beispiel #3
0
 // collect properties from the material properties
 public override void FindProperties(MaterialProperty[] properties)
 {
     base.FindProperties(properties);
     shadingModelProperties = new SimpleLitGUI.SimpleLitProperties(properties);
 }