Page 1 of 1

Mograph Color Shader with Composite Material

Posted: Tue Feb 15, 2022 9:01 am
by SundancePioneer
Dear Fellow Octane Users,

i am trying to apply multiple materials to a Cloner/Fracture object using the Color Shader. I got a working setup with the Mix Material, using the Color Shader in conjunction with a Gradient as suggested.

Is there a way to have more than two materials, maybe using the Composite Mat? I tried with 3 submaterials and the color Shader as a Material mask, but i couldn't get it to work.

This setup gives me a similar result to the Mix Material setup:
Screenshot_20220215_001.jpg
However, when i try to add the color shader node to the second material mask, the mask doesn't seem to work as expected, no matter how i tweak the gradient.

Is there a best practice for this, or a workaround that doesn't require me to have a destructive workflow?

Thanks in advance! :)

Sundance

Re: Mograph Color Shader with Composite Material

Posted: Wed Feb 16, 2022 7:10 am
by bepeg4d
Hi,
instead of the MoGraph Color Shader (doesn't work with Render Instance), you should need to use the Octane Instance Color node:
https://docs.otoy.com/cinema4d/InstanceColor.html

Connected to an Octane Gradient node in Complex mode:
viewtopic.php?f=30&t=76540&p=393963&hil ... de#p393963
viewtopic.php?f=9&t=60854&p=311418&hili ... de#p311418

ciao,
Beppe

Re: Mograph Color Shader with Composite Material

Posted: Tue Feb 22, 2022 12:35 am
by SundancePioneer
Hi Bepe,

thanks for your suggestions - i have been trying to find a working setup and checked all the links, but can not get it to work. With the Fracture object, i can not set the Instance mode, so Instance Color doesn't seem to work here. The Mograph Color Shader kinda works, but as soon as i try to layer several materials within a composite Material, i can't seem to get it right.

Do you have a similar example that you maybe can provide?

Thanks in advance

Sundance

Re: Mograph Color Shader with Composite Material

Posted: Tue Feb 22, 2022 8:06 am
by bepeg4d
No sorry, I have not a ready example, but, if you are working without the Render Instance option active, try with the Instance Range node, with the Maximum ID number equals to the number of elements in the Fracture object:
https://docs.otoy.com/cinema4d/InstanceRange.html

ciao,
Beppe