Page 1 of 1

Fluid Colors

Posted: Fri Jul 29, 2022 9:12 pm
by Sinelab01
I'm a newbie to Houdini I've been following a tutorial on two fluid streams hitting each other I can add a single color using the octane materials but how do I add two separate octane materials like in the viewport, any ideas would be much appreciated. Thanks :)

Re: Fluid Colors

Posted: Sat Jul 30, 2022 9:32 am
by galleon27
Here you go. I've attached a file.
Basically what you wanna do is pass the Cd attribute to the shader and use that to do whatever you need, color it, mix materials, etc...
It's explained here how to do it https://youtu.be/f4xNxOd1I0U

Re: Fluid Colors

Posted: Sat Jul 30, 2022 5:36 pm
by Sinelab01
Thanks galleon27 for your help I will check it out

Thanks
Graham