Random color on polygon Island
Random color on polygon Island
Hi all,
just want to share a little trick that I've occasionally discovered. Usually these discovers appear to me on rainy days That is, how to set some random color on polygon islands, even they aren't 'organized' in advance. Let's say, leaves on imported models of trees, bricks, so on. Method is based on Guillaume Laforge tutorial, I won't explain again how it works.
How to use it:
1: create vertex color support, or weight map on mesh
2: create ICE tree
3: set output ( end of last row) to vertex color
4: slowly increase input of "repeat" node, until all islands gets the same color
5: freeze ICE operator if you're satisfied
6: drive your material with vertex color
Same method works with weight maps too, in this case you don't need the last row, just set the weight map "weight" directly from random value.
Method likes more the huge count of smaller islands, instead of opposite. Leaves are OK, that is it.
ICE tree
Cheers
Re: Random color on polygon Island
Cause I used this example to distribute different textures on leaves I would say its even better not to set a vertex color map or a color but an integer instead.
You can use that integer attribute then later on in the render tree as input for a color_multi_switch.
You can use that integer attribute then later on in the render tree as input for a color_multi_switch.
Who is online
Users browsing this forum: No registered users and 32 guests