Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liuyehua opened this issue Aug 28, 2024 · 4 comments
Open

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

liuyehua opened this issue Aug 28, 2024 · 4 comments

Comments

@liuyehua
Copy link

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
Copy link
Owner

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

@liuyehua
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants