Outline Shader for Image

Is it possible to have the outline shader work with UI images? Specially images with transparent background, so the idea is that it will apply the outline not on the whole image, but only the part that is not transparent.

Hi @Marks,

Yes it’s possible, just add the OutlineLayer to the image element, example:


I can just remove or add the OutlineLayer at runtime right? If that’s the case then perfect!

Yes, you can definitely do so.