Page 1 of 1

Shader Effector & Changing Material

PostPosted: Sun Jul 01, 2018 10:49 pm
by Arash
Hi

I am using the Shader Effector in order to control the size and color of my Cloner object through a black and white image as you can see in the attachment, I managed to use a gradient to achieve different color based on different height but just wondering if I also can change material instead, like the black value get material A (Glass) and white value get material B (Rough Metal) for instance.

I hope my explanation was clear enough. I appreciate if anyone can help.


Thanks

Re: Shader Effector & Changing Material

PostPosted: Mon Jul 02, 2018 9:29 am
by bepeg4d
Hi,
please, have a look at the documentation:
Instance Color
Instance Range
ciao Beppe

Re: Shader Effector & Changing Material

PostPosted: Mon Jul 02, 2018 1:18 pm
by Arash
Hi,
please, have a look at the documentation:
Instance Color
Instance Range
ciao Beppe

--------------------------------------------------------

Thanks for your reply Beppe

I afraid the answer is not relevant to my question as I am looking for a way to change the entire material rather than changing color by a gradient.
Please correct me if I am wrong.
Based on the image I posted I need the columns that are blue turns to glass for example and when the height is lower they turn rough metal (just an example of how I meant by changing material in the topic)

Cheers

Re: Shader Effector & Changing Material

PostPosted: Tue Jul 03, 2018 9:38 am
by Metcalf951
Take a cube, activate display color under basics tab, activate interactive render region, make a new material, go to your color channel and select the mograph color shader, drop the material on your cube, now change your display color. Your material samples the display color.

Delete the color shader from the color channel, activate alpha channel, select the mograph color shader again, go to your cubes display color and set it to some grey color, change the grey to black or to white – your object will change opacity/alpha depending on this grey value.

Re: Shader Effector & Changing Material

PostPosted: Fri Jul 13, 2018 7:24 pm
by Arash
Thanks :D