We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a7b805 commit 1454e7aCopy full SHA for 1454e7a
src/loaders/ObjectLoader.js
@@ -785,6 +785,12 @@ class ObjectLoader extends Loader {
785
786
}
787
788
+ if ( data.fog.name !== '' ) {
789
+
790
+ object.fog.name = data.fog.name;
791
792
+ }
793
794
795
796
if ( data.backgroundBlurriness !== undefined ) object.backgroundBlurriness = data.backgroundBlurriness;
src/scenes/Fog.js
@@ -25,6 +25,7 @@ class Fog {
25
26
return {
27
type: 'Fog',
28
+ name: this.name,
29
color: this.color.getHex(),
30
near: this.near,
31
far: this.far
src/scenes/FogExp2.js
@@ -23,6 +23,7 @@ class FogExp2 {
23
24
type: 'FogExp2',
density: this.density
};
0 commit comments