- Home /
Question by
Andrei201724 · Feb 06, 2020 at 09:09 PM ·
2dmeshmeshesline of sight
How to add smooth edges to 2D mesh?
I made a script that creates a mesh (and does more stuff with it, doesn't matter). It is a line of sight effect if that matters in any way. The mesh looks ok (you can see it in the attached picture as the white mesh) but I would like it to have blurred / smooth edges. So instead of those sharp edges that it has right now, it would look better with slightly smoother ones. Does anyone have any idea about how to do that?
screenshot-259-1.png
(23.0 kB)
Comment
You can probably do a blur effect in Shader Graph, where the strength of the blur is based on the distance from the center (magnitude of position in local space if the object center is set correctly)