When I use the geometry I create, I cause the map to shift and pull up, and only map half?
I don’t know what the cause of the problem is. (BufferGeometry)
There is no such problem when I manually create a CircleGeometry parameter to Reflector.
Does it depend on the matrix?
When camera is mapping, the matrix is transformed, right?
Code
let newGeo = new THREE.CircleGeometry(140, 140); let geo = []; this.engine.nodeManager.meshes.map((i) => { if (i.mesh.name === “di”) { geo.push(i.geometry); } }); let geo3 = geo[0].geometry.clone(); this.groundMirror = new Reflector(geo3, { clipBias: 0.003, textureWidth: window.innerWidth * window.devicePixelRatio, textureHeight: window.innerHeight * window.devicePixelRatio, color: 0x777777, });
help me
If applicable, add screenshots to help explain your problem (drag and drop the image).