Baking displacement map from diffuse color

Sorry for my english, i use an interpreter
I saw this video https://www.youtube.com/watch?v=UFsVzDXYOKw
And I create same node group (not sure i’m repeated absolutely accurate) but I got good result.
Then I wanted to baking desplacement texture. I connect displacement value to diffuse color and hit Bake button.
But baked texture is looks not the same like on preview.



How to bake displacement map with all details?
Blend file

Attachments

BakeDisp.blend (787 KB)

Video, demonstration of the process

Thanks guys from another forum that helped solve the problem.

  1. Setup nodes

  2. In Color Ramp change Linear to Constant

  3. In Math node change the value until white spots almost disappear. Will remain almost imperceptible spots.
  4. In Color Ramp change back Constant to Linear.
  5. Bake Diffuse color.

That’s what I got:
Procedural node setup
Put baked texture into displace node input (add math node with multiply blending and tweak value)
Put baked texture into displace modifier (need some change modifier values)


sorry for my English

Here I found how to bake normal map frome node setupe to texture http://digicreatures.net/articles/cycles-normal-baking.html

[ATTACH=CONFIG]495510[/ATTACH]

It will be even easier now:

:wink: