0
$\begingroup$

I tried to make something like in this tutorial but my result is like this : enter image description here how can I change the deirection of displacement?

-----edit-----------------------------------------------------------------------

Thank you for answering my question Martynas Žiemys.

I mapped this grayscale image.

enter image description here

But my result is

enter image description here

Grayscale image have positive values between 0 and 1 but I think normal vector needs to have negative values to deform radially. Is there any way to make an image which has negative values?

$\endgroup$
  • $\begingroup$ Please don't make your question depend on links. To add an image read: how to add images to a question $\endgroup$ – susu Aug 5 at 6:51
  • 3
    $\begingroup$ Hello, this tutorial is outdated. Now you need to add a "Displacement" or "Vector Displacement" between your image texture and the "Displacement" input of the "Material Output" node. The displacement strenght is determined by what you plug into the "Height" of the "Displacement" node $\endgroup$ – Gorgious Aug 5 at 7:25
0
$\begingroup$

Like Gorgious indicated in the comments, the tutorial uses older Blender version where the displacement input in the Material Output node detects what it is, but in current version 2.83.4 the Material Output node's Displacement input only accepts a vector (3 values for x, y and z for displacement) so you need to use the new Displacement or Vector Displacement nodes that you can find in the Add menu -> Vector. They will let you control the displacement faster and more conveniently then it used to be before.

enter image description here

What you see in the tutorial seems to be because the camera is placed above the plane being displaced and a short focal length is set for the camera lens so because of the perspective the displacement seems to go outwards from the center.

| improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ For downvoters - what's wrong with this answer? Just curious :). $\endgroup$ – Jachym Michal Aug 5 at 7:32
  • 2
    $\begingroup$ I think I made a mistake and somebody downvoted because of that. I am testing it and there is something different about displacement now than I expect. It seems to need vector input so if greyscale image is plugged in, the result seems to be the same value used for x, y and z as vector displacement and because of that it seems to have a direction now. I think it used to detect greyscale image before but I cannot remember. $\endgroup$ – Martynas Žiemys Aug 5 at 7:39
  • $\begingroup$ imgur.com/a/hId29UY it seems to expect vector displacement even from greyscale input. I think it used to detect a greyscale input in previous versions. $\endgroup$ – Martynas Žiemys Aug 5 at 7:43
  • $\begingroup$ Right :). Still, it'd be great if downvoters would leave a comment. We all come here to learn, after all :). $\endgroup$ – Jachym Michal Aug 5 at 7:46
  • 1
    $\begingroup$ Not sure if this is a bug or a new feature or if I am mistaken and it always expected vector input... I will try to edit the answer and sort it out later when I have some time. $\endgroup$ – Martynas Žiemys Aug 5 at 7:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.