-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
OutlinePass: correct gaussian probability density function input #24262
Conversation
@spidersharma03 What do you think about this change? |
@bhouston Do you have the reference for the |
I think this was just never done properly. It seems like this was just skipped over as not a major concern in the original PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When comparing this version with prod, the new style looks indeed cleaner. Especially when setting edgeStrength
and edgeThickness
to high values.
Thanks! |
OutlinePass' blur material uses too small step when they calculate weighted sum. As a consequence it becomes practically a box filter. As you can see when you thicken the outline, the pointy parts' outline resembles a box.
I think they meant to step discretely( e.i by 1, instead of like 1/1024 ) so I corrected it. Now you can see the pointy parts resembles a circle (the shape of gaussian kernel).