Page 1 of 1

Changing color in Light Group Mixer

Posted: Wed Apr 07, 2021 2:17 pm
by bartek_zgo
Hi Guys,
I have seen that in blender there is Light Group Mixer. I'm trying to implement something similar. So for each light I have in the scene, I create a separate Light Group. In that way I get one image output (OUTPUT_RADIANCE_GROUP) for each light. After this I take all images and merge them to obtain the render. This is working. I can multiply each radiance group by some factor to make light stronger or weaker. That is working too.
Now I would like to implement a nice thing that is working in maxwell. I want to change light color. I have no idea how to do this. As I have seen in Light Group Mixer you can change light color, but it is working by mixing the original light with another color. So it means that if the light was pure red, I will never get pure green. How can I do this?

Re: Changing color in Light Group Mixer

Posted: Wed Apr 07, 2021 9:07 pm
by B.Y.O.B.
I'd say the user should use white light. Then the light groups can be colored with a simple multiply operation.

Re: Changing color in Light Group Mixer

Posted: Fri Apr 09, 2021 6:47 am
by bartek_zgo
Thank you very much. I had the same idea but wanted be sure before writing code. Your answers are very helpful.