I need to add realistic materials to CAD-based models with unfriendly geometry. There are thousands of models, so re-meshing and UV-unwrapping is not an option.
I've gotten decent results with procedural textures, as shown below in image (1). But when I create an instance of the object and rotate the instance, the texture does not rotate with the geometry. See image (2) which has the texture blown up so it's easier to see the difference.
My shader nodes are shown in image (3). As you can see from the left-most nodes, I've tried different vector inputs for the textures, but I can't find a working combination.
Is what I'm trying to achieve possible? What am I doing wrong?
I am new to making procedural materials so please bear with me. Also, please don't mind the non-standard nodes. I am using AMD's Radeon Pro renderer. Note that the result is the same in Cycles renderer.