()
| 95 | } |
| 96 | |
| 97 | private copyShadow(): void { |
| 98 | const shadow = this.shadow |
| 99 | const currentUniforms = this.currentMaterial.uniforms |
| 100 | for (let i = 0; i < shadow.cascadeCount; ++i) { |
| 101 | const cascade = shadow.cascades[i] |
| 102 | currentUniforms.inverseShadowMatrices.value[i].copy(cascade.inverseMatrix) |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | private copyReprojection(): void { |
| 107 | const shadow = this.shadow |