UI element not showing after disable and enable with custom UI shader

My sandbox for some ui shader
https://playcanvas.com/project/575212/overview/uishader
I need create custom ui shader for some fill effect on image.All work fine, but after i disable image element and enable it, image not show again, nothing help, can you help me? Any advice?

Thanks a million breakpoints)), i found problem, need set up blendType = pc.BLEND_PREMULTIPLIED for custom ui material, because ui layer only rendered as transparent.

1 Like