MtoA: Can't render multiple lightgroups

MtoA: Can't render multiple lightgroups

Anonymous
Not applicable
1,008 Views
7 Replies
Message 1 of 8

MtoA: Can't render multiple lightgroups

Anonymous
Not applicable

The documentation says to create light groups (obviously), create an aov and then simply add your lightgroups to the Light Groups List in the aov node. However, only one light group ever renders. I've tried every combination of adding them from the drop down list, inputting manually, changing the names, adding them as a script in the light Path Expression, etc.

Is the documentation just really out of date?

0 Likes
Accepted solutions (1)
1,009 Views
7 Replies
Replies (7)
Message 2 of 8

Stephen.Blair
Community Manager
Community Manager

Did you set the light group names on the lights?



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 8

Anonymous
Not applicable

I did, yes. I have found a workaround by creating aovs for every light, which is a pain, but it works.

0 Likes
Message 4 of 8

Stephen.Blair
Community Manager
Community Manager

I do light groups all the time, so something is not right.



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 5 of 8

Anonymous
Not applicable

Perhaps I'm doing it wrong then? Could I ask if you use the method in the attached picture? I have three light groups, red, green, blue, and I select them in the aov's light groups list. Only one of these (say, green) will render. Thanks.7315-lightgroups.jpg

0 Likes
Message 6 of 8

Stephen.Blair
Community Manager
Community Manager
Accepted solution

If you use the default <exr> driver for your light groupg AOVs, then you need to enable Merge AOVs (Render Settings > Common tab).

7298-light-groups-example.png



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 7 of 8

Anonymous
Not applicable

ah, I didn't have Merge AOVs enabled. That works now. Thanks.

0 Likes
Message 8 of 8

metatoma
Participant
Participant

Thanks!

I was bypassing what I thought was a bug of some sort by doing custom aovs and light path expressions... when all it was really was activate the merge of aovs wihtin exr.

0 Likes