10
$\begingroup$

I have a cycles material (diffuse shader) with a procedural normal map on it, which renders as expected in Cycles. But if I bake the normal map it outputs a flat image (0.5, 0.5, 1.0).

I've tried Bake from Selected with a normal mapped material and that doesn't work either.

How do I bake a normal mapped material into a normal map?

$\endgroup$
2
  • $\begingroup$ blenderartists.org/forum/… Here's the node setup, BTW. And it works very well for me. $\endgroup$
    – therufuser
    Commented Nov 29, 2014 at 16:40
  • $\begingroup$ Use the displacement input of the material output node... $\endgroup$
    – JakeD
    Commented Feb 21, 2017 at 1:29

3 Answers 3

6
$\begingroup$

An obvious hack which, however, does seem to work well:

  • Connect the color output of your procedural normal map, that you would normally feed into Normal Map node to Emission node which has Strength set to 1

  • Connect Emission output of the node to Surface of Material Output

  • Bake Emit

$\endgroup$
1
  • $\begingroup$ This bakes the normal map in Object Space, but most normal maps are in tangent space. $\endgroup$
    – Chris D
    Commented Feb 14, 2021 at 1:39
3
$\begingroup$

Blender internal can use GLSL for baking so you can bake normal as well as black and white bump maps from one object to another. As long as the bump map texture is attached to the material of the source object it will work. As yet cycles can't so you can only bake actual geometry with cycles. If you want to use normal or bumps as a source for baking you need to use BI.

$\endgroup$
3
$\begingroup$

This is currently not possible. But: You can use your procedural texture (as long as the output is only black and white values) and plug it in the displacement slot of the shader output. You need to twig the values to your desired height for example with a color ramp. The cycles baking is able to render this to the normal map.

$\endgroup$
1
  • $\begingroup$ I do not think this answers the question. $\endgroup$
    – David
    Commented Apr 19, 2015 at 22:39

You must log in to answer this question.

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