N8python / n8ao

An efficient and visually pleasing implementation of SSAO with an emphasis on temporal stability and artist control.
Creative Commons Zero v1.0 Universal
378 stars 14 forks source link

When camera position is far, the scene is abnormal #31

Open liuyehua opened 3 months ago

liuyehua commented 3 months ago

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:

image

But when make camera position is far away from the scene center, the scene have many abnormal problem:

1724829945974
N8python commented 2 months ago

Try increasing distance falloff perhaps... I could also introduce a way to manually multiply bias to fix this issue.

liuyehua commented 2 months ago

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.....

liuyehua commented 2 months ago

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

N8python commented 2 months ago

The documentation is quite extensive? The flickering shadow is caused by the bias being too small.