Non-uniform material scaling

Hi there,

I’m trying to set up a material which will maintain its aspect ratio regardless of which axes I scale the object on. My current setup (shown) allows non-uniform scaling on two axes but not the third, so it’s perfect for large, flat surfaces (walls, floors, etc.) but not for 3D objects.

Any advice or suggestions would be much appreciated, as trawling Google, the answer hub and forums hasn’t turned much up :slight_smile:

check this WTF Is? Material - World Position in Unreal Engine 4 ( UE4 ) - YouTube


Thanks so much, 6r0m! That’s producing a very usable result for what we need =)

1 Like