Procedural Texture Generator doesn't work with displayed terrain

hey guys and girls,

do you know how I can use procedural texture generator with real data which is displayed, I mean to set texture according to the real orientation of vertices. This generator seems to work according to the location of points inside heightMap, but when I scale the terrain for example when I use vector ( x, 0.0, z ) then still textures are put according to the old value in heightMap object, not according to the new values.