({
parameterUniforms,
layerUniforms,
atmosphereUniforms,
...options
}: ShadowPassOptions)
| 50 | private height = 0 |
| 51 | |
| 52 | constructor({ |
| 53 | parameterUniforms, |
| 54 | layerUniforms, |
| 55 | atmosphereUniforms, |
| 56 | ...options |
| 57 | }: ShadowPassOptions) { |
| 58 | super('ShadowPass', options) |
| 59 | |
| 60 | this.currentMaterial = new ShadowMaterial({ |
| 61 | parameterUniforms, |
| 62 | layerUniforms, |
| 63 | atmosphereUniforms |
| 64 | }) |
| 65 | this.currentPass = new ShaderArrayPass(this.currentMaterial) |
| 66 | this.resolveMaterial = new ShadowResolveMaterial() |
| 67 | this.resolvePass = new ShaderArrayPass(this.resolveMaterial) |
| 68 | |
| 69 | this.initRenderTargets() |
| 70 | } |
| 71 | |
| 72 | override initialize( |
| 73 | renderer: WebGLRenderer, |
nothing calls this directly
no test coverage detected