-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Very noticeable banding with SSAO. #13129
Comments
I noticed today that if you mark the turn on the materials Ambient Occlusion that this problem is greatly reduced. But it still happens on large surfaces like the floor. |
an example scene would be appreciated, otherwise reproduction is next to
impossible
…On Tue, Nov 21, 2017 at 6:26 PM, antony jones ***@***.***> wrote:
I noticed today that if you mark the turn on the materials Ambient
Occlusion that this problem is greatly reduced. But it still happens on
large surfaces like the floor.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13129 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z26ZE1h3YFZSMtAIPFAxhCrGgeiIiks5s4z_pgaJpZM4QlPd1>
.
|
I have an Asset, but it is an Unreal Asset that I converted to work with Godot. It is quite large. It is a 286k zip file. Is it safe to add here? Since it is an Unreal Sample? |
Probably not, perhaps email it to reduz directly (see his email on his profile page). Alternatively, reproduce the issue using a project created from scratch (it doesn't have to look beautiful, it just needs to reproduce the bug) and upload it here as an attachment. |
send me email or share me drive folder if you wish
…On Tue, Nov 21, 2017 at 6:47 PM, Hugo Locurcio ***@***.***> wrote:
Is it safe to add here? Since it is an Unreal Sample?
Probably not, perhaps email it to reduz directly (see his email on his
profile page <https://github.com/reduz>).
Alternatively, reproduce the issue using a from-scratch project (it
doesn't have to look beautiful, it just needs to reproduce the bug) and
upload it here as an attachment.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13129 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z2x13NI9-lCPfZ3Yl2If_WaJw1sqoks5s40TVgaJpZM4QlPd1>
.
|
We need someone to make demos like this for Godot :P |
Here is a link to a video of what it is suppose to look like. |
I unfortunately can't reproduce the banding problem.. may need to try a lower end gpu for this.. |
It's happening for me on a Quadro K5200...I don't think thats a low-end gpu is it? https://imgur.com/a/rNftU |
@lehthanis test scene and reproduction steps welcome |
@reduz Just sent you a google drive link. Sorry it's not really that small. But if you run the game (problem doesn't exist in editor) and face one of the hallway walls perpindicularly you'll see the banding...the closer you get to it, the worse it is. |
I could never really reproduce this issue, but i have seen it reported a few times. I have your same hardware, which makes it even weirder. Will have to kick it to 3.1 until more information on reproduction or hardware where it fails can be obtained.. |
This is likely due to the shadow bias (and not SSAO), try disabling the directional shadow and see if it's still there. To counter it, increase the shadow bias (and/or normal bias) value, but don't increase it too much or the shadow's base will "detach" from the object. |
Thanks for the tip. It was actually my GIProbe. After playing with the bias there the banding disappeared. |
I can also reproduce the banding in the game Solus Stunts (ambient occlusion: middle): |
Kicking to 3.2, where the AO code will probably be rewritten, I could never reproduce this problem and may be related to drivers. |
In my case, this hapens when the far property of the camera is set too high (like 99999). AO looks ok when it's set to 100. |
You might be on to something, mine is not 100 either (but definitely not something egregiously high - I think it's 250 or 300?) |
Seems to be fixed for me. |
It's been two years but we still lack a simple, public reproduction project to be able to confirm and investigate the bug. So it's pretty hard to do anything to fix it. If anyone can reproduce the issue, please provide a project that exhibits it, otherwise we'll have to close it. |
I was setting up a project in 3.2 stable when I encountered this issue. I've included the project as a file here, (it's still minimal). The banding is mostly noticeable on the sides of the cube in main.tscn OS: Windows 10 |
It seems SSAO banding no longer occurs in the Editor with Zfar = 200Editor with Zfar = 4000There's no difference in terms of SSAO quality, and directional shadows look mostly identical. It even works if you set the Zfar distance to 1000000 (the highest allowed value in the editor), so I'll consider this resolved 🙂 |
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Microsoft Windows Home. Micro-Star I7. Geforce GTX 1060.
Godot Engine 3.0.alpha.custom_build.6fd1b94.
Issue description:
SSAO causes very noticeable banding.
Steps to reproduce:
I'm not sure why the banding is so very obvious. I had the SSAO set to default settings. It was most noticeable at the left and right edges of the image.
Link to minimal example project:
The text was updated successfully, but these errors were encountered: