1
$\begingroup$

I've tried three cubes with different height, and render the height map in Render View Image, the upper one is the height map, the lower one is a plane with the rendered height map.

From top-down view,

enter image description here

From side view

enter image description here

My question is why there is no difference when the height map is applied, my node steup is like this,

enter image description here

Edit:Slope doesn't help too much for the height, I can't tell the difference either.

enter image description here

$\endgroup$
4
  • 1
    $\begingroup$ There is only so far a bump map can trick you into believing there is an actual displacement. Try lowering the distance and / or strength of the bump node. Also, the illusion comes from the slope, not the actual bright value. Try to use a gradient for your bump map between dark and bright values $\endgroup$
    – Gorgious
    Feb 22, 2021 at 7:15
  • $\begingroup$ This might be working, to get better illusion a gradient slope should does the work, I will be doing some trials. $\endgroup$ Feb 22, 2021 at 7:24
  • $\begingroup$ Slope doesnt help either, I've added another screen shot. $\endgroup$ Feb 22, 2021 at 7:42
  • $\begingroup$ How do I add the depth to the map can you shed some light on it $\endgroup$ Feb 22, 2021 at 7:44

2 Answers 2

1
$\begingroup$

I'm not sure the Z depth value is helpful here.
I used this Robin Betts' answer for the height map instead

  1. Render the height map
  2. Set Bump Distance to correspond to your object's max height (0,5 m in my example)
  3. Done

enter image description here

Geometry with 0,5 meters max height enter image description here

Generated Height map enter image description here

Bump Distance with 0,5 m height enter image description here

$\endgroup$
12
  • 1
    $\begingroup$ While I created height map from the Z position, the black and white picture shows the difference, but no difference under render view, heightmap should've had height information $\endgroup$ Feb 22, 2021 at 9:15
  • $\begingroup$ I'll edit the answer to use the same geometry as your Q :) $\endgroup$ Feb 22, 2021 at 9:58
  • $\begingroup$ How do you render the height map? Just place the camera above and hit render? And couldn't you directly render a Normal map? Or is that not worth it? Should I then still rout it trough a Bump map or directly into the normal? $\endgroup$
    – Phönix 64
    Feb 22, 2021 at 10:27
  • $\begingroup$ Yes, I put an orthographic camera there and simply rendered. Baking a normal map would probably give better results (it has more information), but the Q is about bump maps :). $\endgroup$ Feb 22, 2021 at 11:38
  • $\begingroup$ Thanks @JachymMichal I am now trying your solution wish I would get better result $\endgroup$ Feb 22, 2021 at 12:52
0
$\begingroup$

In this case, you should use Displacement. First, you need enough geometry. So put a subdivision surface modifier on the mesh and crank it up then you can go into the Material tap and under settings in surface change the Displacement to Displacement Only. Then replace your Bump node in your material with a Displacement node and then feed it into the Displacement.

enter image description here

$\endgroup$
1
  • $\begingroup$ This is a solution however I want to know why the identical looking when different height is applied $\endgroup$ Feb 22, 2021 at 10:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .