Thanks for contacting us. There are a couple of issues to address here: Randomising Material IDs and UVWs with Corona.
At present the Materials and UVW Xform nodes are not natively supported by Corona render, in fact only V-Ray's SDK makes these features possible. The only way to get these two nodes to work is to disable the instancing engine. The option for this can be found in the Display rollout. RC always mix shaders all together?
Unlike Forest Pack, RailClone does not automatically consolidate materials and reassign IDs automatically. At present you need to create a Multi-Sub object material that uses the same material IDs as set on the source geometry, so the same material applied to both RailClone object and the individual components yields the same results.
In our original design for RailClone we expected material creation to be a part of the preparation to create a style. For example Forest includes the ability to consolidate materials because it's much more dependent on using multiple plants from different sources. But in RailClone each segment is usually designed uniquely for a specific style, so part of the design includes preparing the materials.
However we've had a few requests for this feature so it's now on our to-do list. Initially we would implement the same method used in Forest (create a multi-sub material on the fly), but we must evaluate carefully what side effects may be.
In any case, we want to provide a solution for this issue in the future
Until we release this feature you might find this quick tip useful. If you don't want to create a multi-sub object shader and re-assign IDs manually, an easy way to consolidate materials is as follows:
- Attach all the objects into a single mesh. Use the default options, so Max creates the multi-sub object.
- Detach each object back into separate objects.
- Re-adjust the pivots if necessary.
You may find there are some scripts that can make a multi-sub object for you. For example I use RappaTools
which has a Multi-Material from Selection option. This creates a multi-sub object material and automatically re-assigns the IDs. I believe the free version
may have the same functionality, but we haven't tried it
I hope that helps, please let me know if you have any further questions.