-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
SSAO doesn't play well with smooth shading #8237
Comments
This is a known limitation of SSAO, unfortunately there is not much it can be done. You can even see this happen in blockbuster titles like Zelda BOTW. Best you can do is create geometry that is not affected by this, make the SSAO radius bigger or not use SSAO. |
I had a look at Unity terrains which are a soup of triangles like the one I shown, but somehow I don't see such artefacts. |
It is most likely related to the SSAO radius, did you try changing it?
…On Tue, Jun 13, 2017 at 3:13 PM, Marc ***@***.***> wrote:
I had a look at Unity terrains which are a soup of triangles like the one
I shown, but somehow I don't see such artefacts.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#8237 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z26S32rhhSN7bz8icSrXUiR-Im9haks5sDtFCgaJpZM4MxB2u>
.
|
Hmm after more testing with a very similar mesh, Unity does have the same issue, though it looks slightly different (this is an Obscurance image effect with a radius of 0.3, in case it matters): I would even say it looks better even though there are visible edges, not sure how to explain why^^" |
looks like the same thing you have on Godot with less intensity.. |
Tested on Godot 3.0 af282b5
Windows 10 64 bits nVidia GeForce 940M
I generated a smooth mesh out of voxels, it looks smooth, but SSAO makes its edges appears anyway:
I understand it's based on depth, in which case it will indeed make "edges" stand out. But what's the point of having a smooth mesh then? Is there any way of using the normals to improve this?
Also, borders of the screen got affected by SSAO too, it doesn't looks right.
Could be related to #8120
The text was updated successfully, but these errors were encountered: