if you don’t already do, consider using GitHub - vanruesc/postprocessing: A post processing library that provides the means to implement image filter effects for three.js. i’ve found an example with fog + shadow plane + ao. may not be comparable since the plane is transparent but in any case, vanruesc is very responsive and works on it constantly, if you bring the issue up he will look at it.
in any case distanceThreshold should fix it as well:
Property | Description |
---|---|
options.distanceThreshold | Number |
* default: 0.97 | A global distance threshold at which the occlusion effect starts to fade out. Range [0.0, 1.0]. |
options.distanceFalloff | Number |
* default: 0.03 | The distance falloff. Influences the smoothness of the overall occlusion cutoff. Range [0.0, 1.0]. |