So, I get the UV coordinates and shift them halfway. it should give me range from -0.5 to 0.5. Then I clamp the values to get rid of negative range using Max node (saturate and clamp had the same result here). After that i use 1-x node to invert it and get weird, unexpected results as if the range still has negative values (1 - -x gives 1 + x). What is going on?
My mistake, I just blind apparently.