Please tell me how to make a neon effect in a shader? ( 2D project )
I didn’t find a built-in tool to make a neon effect. (I was looking) But I assume that the effect is in the 3D project when installing the material. But I have a 2D project. Can anyone tell me how I can achieve the neon effect.
I tried to make a neon effect through code. but I don’t understand how I can access the pixels that are located on the edge of the image outline.
o = CCSampleWithAlphaSeparated(cc_spriteTexture, uvEdit);