I know you can get random color per instance, but it would be very useful if it was possible to get a random color for any object in the scene, like redshift and arnold can do, to use for texture offsets or color offsets. There is a workaround to use mograph but that is not always practical.
Is there any way to do this in OSL?
Random color per object
Moderators: ChrisHekman, aoktar
Hi,
you can do it also with c4doctane, with a couple of clicks.
Select all the desired objects, apply an Octane Object tag, and enter num in the Instance ID field, to assign a different sequential number to each object.
Then use the Instance Range node to pilot a gradient, or an OSL random projection node: ciao Beppe
you can do it also with c4doctane, with a couple of clicks.
Select all the desired objects, apply an Octane Object tag, and enter num in the Instance ID field, to assign a different sequential number to each object.
Then use the Instance Range node to pilot a gradient, or an OSL random projection node: ciao Beppe