I have tried some of the different shadergraph approaches people have posted, but none work with UI masks. The rason is that the default UI shader does not work with single-pass rendering, and it has not worked for months now.
Has anybody had any success with this, and are you willing to share your solution?