* Sets the occlusion distance cutoff. * * @deprecated Use ssaoMaterial instead. * @param {Number} threshold - The distance threshold. Range [0.0, 1.0]. * @param {Number} falloff - The falloff. Range [0.0, 1.0].
(threshold, falloff)
| 508 | */ |
| 509 | |
| 510 | setDistanceCutoff(threshold, falloff) { |
| 511 | |
| 512 | this.ssaoMaterial.distanceThreshold = threshold; |
| 513 | this.ssaoMaterial.distanceFalloff = falloff; |
| 514 | |
| 515 | } |
| 516 | |
| 517 | /** |
| 518 | * Sets the occlusion proximity cutoff. |