4

After extensive research I still could not find a way to do this in Blender.
Does Blender support baking indirect lightmaps? I'm not talking about lightmaps baked with a sky light. I'm talking about lightmaps which contain only bounce lighting (from direct lighting) and no direct lighting. We need a separate direct and indirect lightmap for our game, so we can mix baked lighting correctly with dynamic lighting.

What we get
What we get (as a lightmap)

What we need
What we need (as a lightmap)

Tara
  • 143
  • 5
  • I am not sure but I don't think this is currently possible with cycles at least. Due to the nature of the unbiased render it may be impossible to separate or determine what is "direct" and "indirect" light. It might be possible with Blender internal though, haven't used it in a while. – Duarte Farrajota Ramos Jun 30 '16 at 17:57
  • Technically it's not a problem for a biased/unbiased renderer to support this. All it has to do is not store the result of the first hit. – Tara Jun 30 '16 at 18:22
  • Yes, it might be possible I was just not sure if it is currently implemented in Cycles or not. Apparently according to the answer bellow it is possible and I was wrong. – Duarte Farrajota Ramos Jun 30 '16 at 18:39

1 Answers1

9

Cycles Baking: Turn off the direct contribution.

If you are baking with Cycles you just have to turn off the direct contribution when baking.

florianfelix
  • 381
  • 2
  • 5
  • Thank you! This is exactly what we were looking for. Our artist already tried that ages ago, but it turns out he made a mistake somewhere else. – Tara Jul 02 '16 at 16:16