GUI stencil with alpha

Sorry, I don’t know anything about shader coding to help with this.
Is this similar to the issue with passing constants to a GUI shader? How to set shader constants for GUI? (SOLVED) - #12 by Mathias_Westerdahl