Materia Scaling

I am trying to scale a material to a mesh but I want it to do it automatically so that if I stretch or shrink the mesh in any way the material will accommodate and scale with it.

Make a material using world space:

307032-ws.gif

What parameter are you using for the 0.01,0.01 thing?

Constant2Vector

Just hold 2 and click the background.