You will have to assign a separate shader to the object because shaders act the same on all objects to which they're assigned.