World Position Offset - Scale and rotation problem

Hello everyone !

I am having a hard time figuring out how to scale an object in one axis through material editor using world position offset. The problem is that when the object is rotated, the scaled axis doesn’t rotate with the object.

Thank you for your help !

This works but leaves the object in the wrong place:

So, probably something along those lines…

Maybe you can do something ( not quite sure what ) with a:

303149-transform.jpg

You can swap the direction in the details…

Boom…

Thank you ! Works great :slight_smile: also found this if anybody would have the same problem Scale Objects via Vertexshader (along local axis) - YouTube

1 Like