Material node to help sharpen a mask

Hi I have a texture that I’m trying to use as a mask. My problem is the texture I was hoping would be mostly black with white areas where I would like the blended material to show through. Unfortunately the mask is actually a little grey and white. It there a function where I can say any pixel dark than 0.1 is 0 (so full black)?

328678-grey.png

You might be able to get something like this by using an if node.

Plug the red output of your texture sample into A, plug a scalar .1 into B, then, for A > B plug the RBG of your text sample, and for both A = B or A < B plug in a 0 constant.

If it’s just for a mask you can change the opacity mask clip value on the material