4
$\begingroup$

I've found a few questions around this already, however none are quite satisfactory IMO.

Basically, my use case is to have

  1. several materials on a quick switch panel for a number of objects to select theme variations - that works quite well with a custom operator that assigns the materials when triggered from the panel (if there's a better no-code solution I'm happy to look into that).

  2. Those materials share (at least) one (base) colour that's globally settable, again e.g. from a panel. Now I could also add custom code for that I guess, updating all nodes for all affected materials when a new selection is picked, however,

  3. the global colour value should also ideally be animateable, which is where the node-group trick doesn't work anymore (if I read that ticket correctly; outside of the shared node group the animation of course works again).

So, is there a better alternative than what I mentioned above already? I had some trouble putting a colour as an object property - if that should actually work maybe you could point me to an example for it.

$\endgroup$
  • $\begingroup$ The third bullet is a bit unclear. What should be animateable? the global color? If that is the case have you tried to use a driver to update a RGB node that is inside a node group? $\endgroup$ – J. Bakker Jan 19 '18 at 11:44
  • $\begingroup$ @J.Bakker yes, exactly and while the driver does update the colour inside the node group, the cycles renderer doesn't pick that up when the animation is running. That seems to be a limitation that hasn't been addressed yet as far as I can see from the linked ticket. $\endgroup$ – ferada Jan 19 '18 at 12:55
2
+50
$\begingroup$

Start Blender from the console with the '--enable-new-depsgraph' parameter. The Nodegroup will work now.

$\endgroup$

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.