i've posted this on redshift forum too but maybe it wasnt that visible
Hey guys, this might be a stupid thing but im stuck and im pretty sure im missing something really basic in here
Lets say i have a tree (trunk + leaves) all modeled and uv mapped.
I have 2 textures for the leaves, one is green and another is orangeish for the autumn season.
Two questions:
1) I want to randomly apply both of these textures at the same time to the leaves, in a way that when i render both colors appears randomly on the leaves. How to do this?
2) Is it also possible instead of randomizing, to group them for example a group of leaves that are close together has an orange texture and the rest of the leves have a green one?
Thanks a lot
Max
Softimage Assigning 2 different textures randomly to foliage
Re: Softimage Assigning 2 different textures randomly to foliage
I was looking for a solution to this the other day for some foliage, there are a couple of ways of doing it, could offset uvs, or switch materials if you have multiple colour texture variations, I've just shown a simple colour change. Uses Julian Johnson's excellent polygon island indexer ( http://julianjohnsonsblog.blogspot.co.u ... lands.html ), which i've just modulo-ed to get a repeating number between 0 and 3:
Re: Softimage Assigning 2 different textures randomly to foliage
Thanks Matt, im going to try this out! very nice result!
just to be sure, you created an ice tree on the leaves mesh right?
just to be sure, you created an ice tree on the leaves mesh right?
Re: Softimage Assigning 2 different textures randomly to foliage
Yep, that first get geo node should probably be self...
Re: Softimage Assigning 2 different textures randomly to foliage
The modulo is 4, so it loops from 0 to 3, but it could be any number depending on how many leaf variations you want. Make sure you set the ice tree first, and once you know that your custom integer (the self.islands in my case) is working, then you bring that into the integer attribute as it should show up in the drop down list of available attributes.
Re: Softimage Assigning 2 different textures randomly to foliage
Thanks, it works perfectly now
much appreciated
much appreciated
Who is online
Users browsing this forum: No registered users and 57 guests