How to fix opacity mask in material function?

the opacity mask isn’t working because the blend mode is set to opaque rather than masked. it’s also not two sided.