Is it possible to mask a Substrate glass material?

Previously I would have blend mode to Masked to work with the Realtime virtual texture, but this doesn’t allow me to use the better looking substrate mode, which is 1000% better looking.