0
$\begingroup$

I just learned how to create a lightmap to add ambient occlusion to my object by following this explanation:

How do you bake ambient occlusion for a model?

Now I have a lightmap saved as an image (and currently mapped on my object), but I want to add a texture to my object as well. My texture is in an image file. I know how to add textures, but not overlaid ones. How do I do this in Blender Render?

$\endgroup$

1 Answer 1

2
$\begingroup$

A solution is to combine the baked AO texture with your texture using nodes.

enter image description here

  • Make a copy of your initial object (on the picture the original is white on the left and the copy is yellow on the right)
  • Assign a new material to the copy
  • Select the copy and open the node editor (bottom part here)
  • Add two textures : the baked one and yours (here i just used a full yellow texture)
  • Add a MixRGB color operator and set it to "multiply"
  • Connect them all as done on the picture

The result is shown on the top (in rendered mode)

Edit :

An alternative/better way in order to be closer to the original colors. It is using darken (MixRGB node) with a grey color (0.250). The darken effect is moderated by the inverted AOBacked texture.

enter image description here

Edit : for Blender Internal Render (same principle)

enter image description here

$\endgroup$
3
  • $\begingroup$ This is in Cycles. I'm working in Blender Render. I should have mentioned that. $\endgroup$ Commented Jun 1, 2016 at 8:11
  • $\begingroup$ Edited to add the equivalent for Blender Render $\endgroup$
    – lemon
    Commented Jun 1, 2016 at 10:43
  • $\begingroup$ Thank you very much. I had just figured it out without using nodes, but this is far simpler. Now on to the next problem! :-) $\endgroup$ Commented Jun 1, 2016 at 21:14

You must log in to answer this question.

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