Skip to content

Commit f3d21e0

Browse files
authored
Allow exponential fall-off fog in scene
1 parent 7fba16b commit f3d21e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/scripts/three-class-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ module.exports = {
11701170
relativePath: './scenes/Scene',
11711171
superClass: 'Object3D',
11721172
properties: {
1173-
fog: new Types.ThreeType('Fog'),
1173+
fog: new Types.ThreeType(['Fog', 'FogExp2']),
11741174
overrideMaterial: new Types.ThreeType('Material'),
11751175
autoUpdate: new Types.Bool(true),
11761176
background: new Types.Color(null, {nullable: true}),

0 commit comments

Comments
 (0)