Why are the normals not constant

My material (based on normals) flickers when I move the camera … Why? and how can i fix that? it may be a problem with the deferred renderer. i cant find any solution… i even see that problem in the material preview…

I don’t completely understand what DDX and DDY do, but why don’t you just get PixelNormalWS and calculate the dot product with Z? Wouldn’t that give the result you want?

thanks that works. Now I have a problem with the low poly normal calculation, any tipps?