I am unable to solve the problem I am currently stuck in:
I found great advice on how to randomize texture offset with the OSL shader method and
Code: Select all
color variance = noise("cell",rndm, Seed);
c = noise("cell",_getinstanceid(),Seed);
So the instance IDs the low-level cloner generates simply get repeated in each of the high-level cloner instances.
Do you have a hint for me on how I can get unique instance IDs?
Alternatively, I would love to use an instance-independent random number, but cannot find a way to generate one in OSL.
Thanks in advance
Wolfgang