# How to use an image to control the displace modifier?

I have a simple rectangle which I have subdivided multiple times, added UV for colors and then added Displace modifier.

For the displace texture I've set a black and white version of the image used for the material.

Now the problem is when I set strength to some value to see the result, this is what i see (I set it more than I need but just so details are easier to see):

As you can see first problem is that it started displacing on top of the object. I know i can handle this with Direction but the Displacement image on that part is painted black (so it should stay down).

Second problem is that as I can see it doesn't even follow Texture i have assigned. As you can see on the image, it has wide displacement from top to the bottom all the way, and it is not like that in texture!

So what is the solution? What am i doing wrong?

I have done this in Blender Render but i would like to do it in Cycles also (which i know how to do on flat surface)

• First, check if scale of the object is applied (Object mode > Ctrl+A). Then your Displace modifier doesn't in any way use UV map of the object for now, to make it use it choose Texture Coordinates > UV. – Mr Zak Apr 18 '18 at 0:13
• Yap. It was Texture Coordinates..... Thank you very much. – Aleksa Ristic Apr 18 '18 at 0:15
• @MrZak One more question, it go little over top and sides (where it should not be) displace. How i can fix that? IMAGE – Aleksa Ristic Apr 18 '18 at 0:17
• you can set the displacement to occur in some vertex group (and exclude the vertex that are not part of such group) – cegaton Apr 18 '18 at 1:22
• It may be better in your case to choose a direction for displacement instead of "normal", like maybe the y axis. That seems more like what you want than using vertex groups, although both could achieve the desired result. – Uncle Snail Apr 18 '18 at 3:25