How can I bake a position map with Blender, I don't have the option in Cycles baking.

  • 1
    $\begingroup$ what is a position map? $\endgroup$ – David Feb 12 '18 at 23:22
  • 1
    $\begingroup$ Position maps are useful on software like Substance Designer that do not allow to paint directly on the model to add for example gradient dirt and grunge with more at the bottom of the model. Alternatively a vertical gradient map can mask in the same way. $\endgroup$ – Danyl Bekhoucha Feb 16 '18 at 23:51

To bake a position map you need to create an emissive shader and bake in emit mode.

For the node setup use for the input an Input > Texture Coordinate. You will need to use the generated output of the node, by default the axis in Blender aren't the same as most 3D software so you will need to change the RGB channels. For that connect the Generated output to a Converter > Separate RGB and add a Converter > Combine RGB node, here are the connections:

  • R > R
  • G inverted > B
  • B > G

Then add a Color > Gamma and set it at 2.2 to convert the color in Linear, by default it's in sRGB and doesn't work in other software. Then on the Emissive node.

Here is the result and the complete node setup:

enter image description here


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.