@xviewer.js/core 1.0.0-alpha.37 → 1.0.0-alpha.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -5233,7 +5233,7 @@ class EnvironmentPlugin extends Plugin {
5233
5233
  const cubeRenderTarget = viewer.createCubeRenderTarget(resolution, false, floatType, 0, true);
5234
5234
  this._cubeCamera = new three.CubeCamera(near || viewer.camera.near, far || viewer.camera.far, cubeRenderTarget);
5235
5235
  this._cubeCamera.position.copy(position);
5236
- this._cubeCamera.layers.set(layer);
5236
+ this._cubeCamera.layers.mask = layer;
5237
5237
  const reflectMap = cubeRenderTarget.texture;
5238
5238
  this._reflectPass = new MergeRefectPass({
5239
5239
  viewer,