Преглед на файлове

Adding twoSidedLighting property in BabylonStandardMaterial.cs

Adding missing support for serialization of twoSidedLighting property in
StandardMaterial
Ellerbach преди 8 години
родител
ревизия
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]
         public bool linkEmissiveWithDiffuse { get; set; }
 
+        [DataMember]
+        public bool twoSidedLighting { get; set; }
+
         public BabylonStandardMaterial() : base()
         {
             ambient = new[] {1.0f, 1.0f, 1.0f};