Skip to content

SMAA weights not working as expected #663

Answered by vanruesc
AdrianFahrbach asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the weights seem to be calculated correctly and the detected edges seem to be smoothed as expected.

If you're talking about the broken lines and shimmering in motion, then that's not something SMAA can fix. You'd need to use MSAA to get more stable highlights in a dark scene like this. TAA would likely also yield better results in this case, but that's currently not included in postprocessing.

For SMAA I'd recommend sticking to the color edge detection with depth-based predication. Use a low predicationThreshold around 0.0002, a predicationStrength of 1 and a predicationScale of 2. Also, make sure to optimize your depth buffer range by setting the camera's near plane to something like 0…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AdrianFahrbach
Comment options

Answer selected by AdrianFahrbach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants