diff --git a/src/scene/skybox/sky.js b/src/scene/skybox/sky.js index 71e99f8b9dc..0f5b84deef2 100644 --- a/src/scene/skybox/sky.js +++ b/src/scene/skybox/sky.js @@ -61,6 +61,7 @@ class Sky { applySettings(render) { + this.type = render.skyType ?? SKYTYPE_INFINITE; this.node.setLocalPosition(new Vec3(render.skyMeshPosition ?? [0, 0, 0])); this.node.setLocalEulerAngles(new Vec3(render.skyMeshRotation ?? [0, 0, 0])); this.node.setLocalScale(new Vec3(render.skyMeshScale ?? [1, 1, 1]));