Open liuyehua opened 3 months ago
Try increasing distance falloff perhaps... I could also introduce a way to manually multiply bias to fix this issue.
distanceFalloff
I have set the distanceFalloff to 1000, it also have this problem, Anyway, as long as the scene is large or the camera is zoomed far away, there will be this kind of flickering shadow.....
Try increasing distance falloff perhaps... I could also introduce a way to manually multiply bias to fix this issue.
configuration
There are many configuration items for n8ao that I am not sure about their specific functions. Could you please provide information on how to configure AO parameters when encountering extremely large scene? Thank you very much
The documentation is quite extensive? The flickering shadow is caused by the bias being too small.
My current use n8ao version is 1.8.4. and I use the configuration is : { aoSamples: 16.0, denoiseSamples: 4.0, denoiseRadius: 12.0, aoRadius: 48.0, halfRes: true, distanceFalloff: .2, screenSpaceRadius: true, intensity: 3.0, gammaCorrection: true, }
. When i set camera position is not far, the scene look like normal:
But when make camera position is far away from the scene center, the scene have many abnormal problem: