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?