About UI Highlight Shader
- Art & Visuals > VFX
An unlit 2D shader for animating an emissive wave over UI elements and text. Highlight your game's title, your buttons, inventory slots, or any image in your scene. Ready to use out-of-the-box. Fully customizable. For Unity 6.0+.
This asset requires the Shader Graph package for the shaders to work. The Shader Graph package already comes bundled with most Unity versions and rendering pipelines, but it can also be imported into your project from the Package Manager window inside the Unity Editor.
Compatible with: Text (Legacy), Buttons, Images, Panels, Input Fields, Scrollbars, Scroll Views, TextMeshPro Elements (except TextMeshPro Dropdowns and TextMeshPro Text).
Not compatible with: Text (TextMeshPro), Dropdown (Legacy + TextMeshPro), UI Masks.
For Text (Legacy), use the Text Highlight Shader and attach TextHighlightSetup.cs to each Text object you wish to highlight. For all other supported UI elements, simply use the UI Highlight Shader. Works both with Graphic elements and with SpriteRenderer elements. Canvas Groups are respected; the shader overlays its effect on top and respects alpha values. Previous effects such as button highlights on mouse hover or mouse click are also respected; the shader overlays its effect on top.
This asset requires the Shader Graph package for the shaders to work. The Shader Graph package already comes bundled with most Unity versions and rendering pipelines, but it can also be imported into your project from the Package Manager window inside the Unity Editor.
Compatible with: Text (Legacy), Buttons, Images, Panels, Input Fields, Scrollbars, Scroll Views, TextMeshPro Elements (except TextMeshPro Dropdowns and TextMeshPro Text).
Not compatible with: Text (TextMeshPro), Dropdown (Legacy + TextMeshPro), UI Masks.
For Text (Legacy), use the Text Highlight Shader and attach TextHighlightSetup.cs to each Text object you wish to highlight. For all other supported UI elements, simply use the UI Highlight Shader. Works both with Graphic elements and with SpriteRenderer elements. Canvas Groups are respected; the shader overlays its effect on top and respects alpha values. Previous effects such as button highlights on mouse hover or mouse click are also respected; the shader overlays its effect on top.