- Home /
Blurry smooth edges of a mesh
i have a volumetric light scripts which creates a MESH in 2d space and the result looks like this:
and i want to add the edge effect like blur+glow like in this one i used the fragment shader to achieve the decrease of radial luminance but i failed to access the adjacent pixels and change the values of them.Well i know that i must access the pixels by using TexelSize offset to get adjacent pixels but i only know how to get color values of them not to change the actual color.
current.png
(148.8 kB)
wanted.png
(183.8 kB)
Comment
Your answer
Follow this Question
Related Questions
Glowing material/shader ? 1 Answer
Dynamic batching breaks with the material Mobile/Alpha Blended. 0 Answers
Shaders : Blur only part of the screen 1 Answer
MaterialPropertyBlock causes Z-fighting sprites 0 Answers
Shader Graph transparency issue 0 Answers