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
Shader Effector & Changing Material
--------------------------------------------------------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
- Metcalf951
- Posts: 1
- Joined: Tue Jul 03, 2018 9:30 am
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.
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.