Animated Toon Material


I have a problem animating a Toon object. I generated the material with a “Texture Coordinate” - “Dot Product” - “ColorRamp” and “Emission”. (see screenshot)

If you animate the object with the toon material, light and shadow move along like a texture. (see below)

the Blendfile:

Can I prevent this by animating the object from the “Texture Coordinate”? Or is there an easier way to generate a toon material in this look (just with lights and shadows)?

Thanks for your help!