2
$\begingroup$

I have I procedural skin shader (applied to a human character mesh) with a couple of voronoi nodes that I connect to the 'normal' of the Principled BSDF shader which is cool, but I was thinking if it's possible to turn the generated bump/normals into a proper normal map so I can export to Godot?

I looked up some guides on "baking" textures but i can't seem to be able to do it.

Basically, I just want to tell blender: Hey that Bump node? take the output of it and create an 4k image texture with this UVmap for me.

showing the bump setup in shader editor

$\endgroup$
0

2 Answers 2

1
$\begingroup$

What you can do is plug your texture directly into the Base Color of the Principled BSDF (or even into the Output node), create an Image Texture with a new image, keep this node selected, make sure that the unwrap of your object is correct, then in the Bake panel choose Bake Type > Diffuse, uncheck Contributions > Direct and Indirect and bake:

enter image description here

It's not clear if you want a bump map or a normal map, as Tsybe says "in case you want to bake a normal map, you can just leave the nodes connected to the Normal socket and set the Bake Type to Normal".

$\endgroup$
6
  • $\begingroup$ In case you want to bake a normal map, you can just leave the nodes connected to the "Normal" socket and set the Bake Type to "Normal". $\endgroup$
    – Tsybe
    Apr 17, 2023 at 15:16
  • $\begingroup$ @Tsybe Oh yes of course thanks I'll edit $\endgroup$
    – moonboots
    Apr 17, 2023 at 15:22
  • $\begingroup$ @Tysbe when I set bake type to 'normal' and then select the new image in the shader editor and bake, it bakes an empty blue normal map to the diffuse skin texture :\ Maybe disconnect the diffuse? $\endgroup$ Apr 17, 2023 at 18:07
  • $\begingroup$ The other approach didn't work either - the image is saved over my skin diffuse image - not the new blank image (I have the new image selected in the shader editor). Also the resulting image looks wrong. $\endgroup$ Apr 17, 2023 at 18:18
  • $\begingroup$ @PetterThowsen It's hard to say what is the reason behind it. If you could share the blend file, we'll take a look at it. blend-exchange.com $\endgroup$
    – Tsybe
    Apr 17, 2023 at 18:57
0
$\begingroup$

Clearly feeding black and white data into a Normal socket won't result in anything. If you want to bake your Bump as NormalMap you need to connect your data to "Emission" socket (bc it will not interpolate your data) and bake as "Emit". Then you duplicate your object, you add Subdivision Surface (will surely need more than 2 subdiv). Then you add a Displace modifier and use your baked Bump texture. Then you proceed with the Selected to Active baking workflow using your displaced object as a High Poly

$\endgroup$

You must log in to answer this question.

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