Cycles texture independent of object size, but not object rotation

Hi Everyone!

During the last week i did an architectural visualisation, for which it would have been very handy to be able to create a texture with a size independent from the object size, but still rotating with the object.

Probably this will be just a scalar multiplication of the Texture Coordinates “Object” output, but i cannot figure out how to get the scale of the object. The setup i came up with until now is in the attachement to this post, maybe someone can help.


vec_rotation_test.blend (547 KB)

for independant scale you can use the camera and window mappng!

but not certain if this would follow the object rot

check the vector transform node might help

happy bl