* Sets the occlusion proximity cutoff. * * @deprecated Use ssaoMaterial instead. * @param {Number} threshold - The proximity threshold. Range [0.0, 1.0]. * @param {Number} falloff - The falloff. Range [0.0, 1.0].
(threshold, falloff)
| 523 | */ |
| 524 | |
| 525 | setProximityCutoff(threshold, falloff) { |
| 526 | |
| 527 | this.ssaoMaterial.proximityThreshold = threshold; |
| 528 | this.ssaoMaterial.proximityFalloff = falloff; |
| 529 | |
| 530 | } |
| 531 | |
| 532 | /** |
| 533 | * Sets the depth texture. |