Hi,
I'm trying to find a way to randomly assign different colors / bitmaps to instanced objects in RT CUDA. At the moment only way seems to be randomly changing material ID and having multiple shaders in multi/Sub-Object shader, but that breaks instancing for RT and we're loosing a lot of memory.
Basically I would like to easily randomize colors for instanced objects in Forrest Pro or Railclone without adding too many different shaders / objects variations and saving memory usage. Is there any nice trick that works on RT CUDA ?
Best,
I'm trying to find a way to randomly assign different colors / bitmaps to instanced objects in RT CUDA. At the moment only way seems to be randomly changing material ID and having multiple shaders in multi/Sub-Object shader, but that breaks instancing for RT and we're loosing a lot of memory.
Basically I would like to easily randomize colors for instanced objects in Forrest Pro or Railclone without adding too many different shaders / objects variations and saving memory usage. Is there any nice trick that works on RT CUDA ?
Best,
Comment