|
@@ -401,7 +401,7 @@ export default class ModelTextureMaterial extends THREE.RawShaderMaterial {
|
|
|
this.uniforms.ceilHeight0.value = this.pano0.getCeilHeight() - this.pano0.position.z
|
|
|
}
|
|
|
if(this.pano1){
|
|
|
- this.uniforms.depthMap1.value = this.pano1.entered ? this.pano1.depthTex : null;
|
|
|
+ this.uniforms.depthMap1.value = this.pano1.depthTex //pano1还没entered时也需要,可能在飞入
|
|
|
this.uniforms.cameraHeight1.value = this.pano1.floorPosition.distanceTo(this.pano1.position)
|
|
|
this.uniforms.ceilHeight1.value = this.pano1.getCeilHeight() - this.pano1.position.z
|
|
|
}
|