@@ -45,7 +45,7 @@ public PbrMetalRoughDecorator(IIGameMaterial node) : base(node)
4545 public ITexmap MetalnessMap => _getTexMap ( _node , "metalness_map" ) ;
4646 public float Roughness => Properties ? . GetFloatProperty ( "roughness" , 0 ) ?? 0 ;
4747 public ITexmap RoughnessMap => _getTexMap ( _node , "roughness_map" ) ;
48- }
48+ }
4949
5050 public class PbrSpecGlossDecorator : PbrGameMaterialDecorator
5151 {
@@ -290,14 +290,14 @@ private void ExportPbrSpecGlossMaterial(IIGameMaterial materialNode, BabylonScen
290290 // the target material
291291 var babylonMaterial = new BabylonPBRSpecularGlossinessMaterial ( maxDecorator . Id )
292292 {
293- maxGameMaterial = materialNode ,
294- name = maxDecorator . Name ,
295- backFaceCulling = babylonDecorator . BackFaceCulling ,
296- doubleSided = ! babylonDecorator . BackFaceCulling ,
297- separateCullingPass = babylonDecorator . SeparateCullingPass ,
298- isUnlit = babylonDecorator . IsUnlit ,
299- baseColor = maxDecorator . BaseColor . ToArray ( ) ,
300- } ;
293+ maxGameMaterial = materialNode ,
294+ name = maxDecorator . Name ,
295+ backFaceCulling = babylonDecorator . BackFaceCulling ,
296+ doubleSided = ! babylonDecorator . BackFaceCulling ,
297+ separateCullingPass = babylonDecorator . SeparateCullingPass ,
298+ isUnlit = babylonDecorator . IsUnlit ,
299+ baseColor = maxDecorator . BaseColor . ToArray ( ) ,
300+ } ;
301301
302302 // --- Global ---
303303 if ( babylonMaterial . isUnlit )
0 commit comments