2
$\begingroup$

This is frustrating for me. The UV-textures to vertex cols add-on doesn't seem to work despite the specific instructions. Any other tutorials I can find are either very old or very poor.

I'd like to know how to do this in Blender 2.79. I need vertex colors in my ambient occlusion for use in Shader Forge.

$\endgroup$
4
$\begingroup$

Quick overview of the bake process & preview in Blender Render

enter image description here


How to bake the ambient occlusion into vertex colors

  1. Select the object and make sure the object has a vertex color layer assigned in Object Data > Vertex Colors. If not, create one by clicking the plus button.

    enter image description here

  2. Navigate to the Render tab > Bake. Select Bake Mode: Ambient Occlusion and Bake to Vertex Color

    enter image description here

  3. Select the object and hit Bake

Blender Render material setup to see the vertex colors

  1. Select the object's material and enable these:

    • Shading > Shadeless

      enter image description here

    • Options > Vertex Color Paint

      enter image description here

  2. Switch to viewport shading to Material

    Optionally, if you want to see your texture blended with vertex colors, you can go to Texture tab > Influence and set the Blend: Multiply enter image description here


Cycles material setup to see the vertex colors

  1. To add vertex colors into node tree, use Attribute node with the name corresponding to the object's vertex color layer name (it is named Col by default).
  2. In the example below, you can see a simple shadeless material where vertex colors and an image texture are combined: enter image description here
$\endgroup$
  • $\begingroup$ Nice answer. Could please add a short textual description of the process describing the steps so it is searchable and indexable? $\endgroup$ – Duarte Farrajota Ramos Sep 28 '17 at 2:17
  • $\begingroup$ Awesome!! Thank you so much Jan! :D I was losing hair over this. So simple too. $\endgroup$ – allen Sep 28 '17 at 4:58
  • $\begingroup$ Duarte Farrajota Ramos: updated the answer to include written steps $\endgroup$ – Jan Kadeřábek Sep 28 '17 at 10:29

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.