This is your basic world aligned material:
When you scale the object, nothing happens to the material: