material rotate position and normal

Hey @pemcode, first of all thank you for posting your shader work, even if it is not working as you wanted it to. It helped me a lot, and I got it working almost as I need it. Strangely enough (or it’s just me missing something) I don’t seem to have the normals problem you had. So I slightly adapted it to

with the results

Problem is, if I start rotating the mesh, this happens

136161-lever03.png

Do you have any suggestion how to account for object rotation?