|
Hi guys.
I have a scene with dozens ob Objects in it, and I’m searching for the best way to make a material that changes color dependent on the Y-Scale of the objects. Obviously this is quite easy for few materials, I currently have an expression in the an “Scalar Share"-Node in the material that reads the Scale from one specific Object, and I have one of these Material for every Object.
But isn’t there en easier way, when i’m dealing with much more Objects? Something more generally, in which I don’t need to edit an expression for every material?
I tried to write something like
this.kine.local.scly
instead of
Base.cube.kine.local.scly
but it didn’t work…
Can anyone give me an Idea?
Thx, Raschko
|
|
|
|
Put an ICE tree on each object, and store sclY in an attribute.
In the render tree, use a Scalar Attribute node to pull in the ICE attribute.
|
|
|
|
Ah, ok. That works, thx.
I didn’t do too much with ICE because I was caught in Maya the last years… ;-)
|
|
|