@xviewer.js/core 1.0.0-alpha.26 → 1.0.0-alpha.27

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/module.js CHANGED
@@ -3339,7 +3339,7 @@ class ReflectorMaterial extends ShaderMaterial {
3339
3339
  ]);
3340
3340
  }
3341
3341
  channels.forEach(([key, channel])=>{
3342
- this.defines[key] = "vUv" + channel;
3342
+ shader.defines[key] = "vUv" + channel;
3343
3343
  });
3344
3344
  }
3345
3345
  get metalness() {
@@ -4452,6 +4452,9 @@ class Viewer extends EventEmitter {
4452
4452
  get rootRotated() {
4453
4453
  return this._rootRotated;
4454
4454
  }
4455
+ get input() {
4456
+ return this._input;
4457
+ }
4455
4458
  destroy() {
4456
4459
  this._renderer.dispose();
4457
4460
  this._taskManager.destroy();
@@ -5083,6 +5086,7 @@ class EnvironmentPlugin extends Plugin {
5083
5086
  this._reflectPass.envMapIntensity = this.envMapIntensity;
5084
5087
  this._mipBlurPass.exposure = this.reflectExposure;
5085
5088
  this._mipBlurPass.blurIntensity = this.reflectBlurIntensity;
5089
+ renderer.autoClear = true;
5086
5090
  this._cubeCamera.update(renderer, this._scene);
5087
5091
  this._reflectPass.mergeReflect(this._mergeInfo);
5088
5092
  this._mipBlurPass.mergeMipBlur(this._mergeInfo);