What I want to do is that I want to have a shader that is gonna be affected by box. If the box is close enough to the object - the whole object is gonna change his color from purple to green. But on the half way it doesn't change the color instantly - it has this half-done color. Is there a way to make whole object change his color INSTANTLY, without this transition?