Browse article archive

Add a glow to 2D UI edges in Unity

English summary

Read the full post in Chinese

To make a 2D UI element glow, the shader looks at the transparency of nearby pixels. That reveals the edge, where it blends in a glow color. The original shows how to prepare the textures, tune the effect, animate it, and use the complete shader.