@@ -630,6 +630,11 @@ private void ExportPhysicalMaterial(IIGameMaterial materialNode, IIPropertyConta
630630 excludeAttributes . Add ( "babylonBackfaceCulling" ) ;
631631 excludeAttributes . Add ( "babylonMaxSimultaneousLights" ) ;
632632 excludeAttributes . Add ( "babylonTransparencyMode" ) ;
633+ excludeAttributes . Add ( "babylonUseFactors" ) ;
634+ excludeAttributes . Add ( "babylonDirectIntensity" ) ;
635+ excludeAttributes . Add ( "babylonEmissiveIntensity" ) ;
636+ excludeAttributes . Add ( "babylonEnvironmentIntensity" ) ;
637+ excludeAttributes . Add ( "babylonSpecularIntensity" ) ;
633638
634639 // Export the custom attributes of this material
635640 babylonMaterial . metadata = ExportExtraAttributes ( materialNode , babylonScene , excludeAttributes ) ;
@@ -878,11 +883,6 @@ private void ExportArnoldMaterial(IIGameMaterial materialNode, IIPropertyContain
878883 excludeAttributes . Add ( "babylonBackfaceCulling" ) ;
879884 excludeAttributes . Add ( "babylonMaxSimultaneousLights" ) ;
880885 excludeAttributes . Add ( "babylonTransparencyMode" ) ;
881- excludeAttributes . Add ( "babylonUseFactors" ) ;
882- excludeAttributes . Add ( "babylonDirectIntensity" ) ;
883- excludeAttributes . Add ( "babylonEmissiveIntensity" ) ;
884- excludeAttributes . Add ( "babylonEnvironmentIntensity" ) ;
885- excludeAttributes . Add ( "babylonSpecularIntensity" ) ;
886886
887887 // Export the custom attributes of this material
888888 babylonMaterial . metadata = ExportExtraAttributes ( materialNode , babylonScene , excludeAttributes ) ;
0 commit comments