Просмотр исходного кода

Adding twoSidedLighting property in BabylonStandardMaterial.cs

Adding missing support for serialization of twoSidedLighting property in
StandardMaterial
Ellerbach 8 лет назад
Родитель
Сommit
e923180a4e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      Exporters/3ds Max/BabylonExport.Entities/BabylonStandardMaterial.cs

+ 3 - 0
Exporters/3ds Max/BabylonExport.Entities/BabylonStandardMaterial.cs

@@ -68,6 +68,9 @@ namespace BabylonExport.Entities
         [DataMember]
         [DataMember]
         public bool linkEmissiveWithDiffuse { get; set; }
         public bool linkEmissiveWithDiffuse { get; set; }
 
 
+        [DataMember]
+        public bool twoSidedLighting { get; set; }
+
         public BabylonStandardMaterial() : base()
         public BabylonStandardMaterial() : base()
         {
         {
             ambient = new[] {1.0f, 1.0f, 1.0f};
             ambient = new[] {1.0f, 1.0f, 1.0f};