So this is my material and I have the parameter set to one
and when I move under one it change the opacity of the material.
instead if I select the texture in the picture and I start to preview, your node actually works.

I hope I was enough clear, if you need anything else just let me know.
