-
Notifications
You must be signed in to change notification settings - Fork 294
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
DitherFade material layer causes serious artifact with forward rendering / MSAA #1104
Comments
#1414 doesn't address this. I think that it has to do with the fact that the "DitherTemporal AA" node that we use, doesn't have good defaults when Temporal AA isn't enabled. So it's stuck on a permanent dither pattern. You can actually kind of see that pattern in the material function preview: We could possibly account for the current AA mode by querying it, and passing a flag into the material indicating whether or not to use dithering. But because the user could possibly change it, we'd need to constantly check for updates to that setting. So something like this (taken from
But I'm concerned about doing it this way because it seems like things can commonly override the project's default AA method? From
And I can't really tell where a post process volume / camera / game setting override would make a difference, but it does make me nervous to try and make this change. I think a better change instead would be a |
You'll see serious dithering artifacts in all Cesium objects, while objects that user other materials look fine:
Deleting the
DitherFade
layer from our default material fixes the problem. We're using an engine-provided material node that is meant for temporal AA, but it's not clear why it fails so badly with MSAA.Originally reported on the forum:
https://community.cesium.com/t/forward-rendering-msaa-black-squares-and-dithering-artifacts-on-terrain/24149
The text was updated successfully, but these errors were encountered: