Yes, of course. this is color changes while obj moves per-pixel.
I have try your custom code in shader, but shows error. how could you do that?