Hello, I am using Unity 2019.3.11 with HDRP 7.3. I am unable to use materialIds in the spline for shape extrusion. In the 'Input Spline Path' node for the cross I get a warning saying 'MaterialId option not supported!' Is using HRDP got anything to do with this? If not then what could I do to resolve this?
04-29-2020, 07:28 PM (This post was last modified: 04-29-2020, 07:53 PM by sebjwallace.)
I'm hoping to vary the materials along the cross spline. The nodes have differing materialIds in their 'Meta CG Options'.
I've just started using this asset today, so maybe I'm using it wrong. I'm using the material option on the Extrusion node. Only when I tick that I get the warning. This this what I need to do to achieve what I want?
04-29-2020, 08:01 PM (This post was last modified: 04-29-2020, 08:16 PM by sebjwallace.)
Thanks to your code comments I realised I needed to use a 'Input Spline Shape' node instead of 'Input Spline Path'. However, I'm still not getting the material variations. I'll keep cracking at it.
I finally got it working after switching options on/off. When I finally toggled Materials on it seemed to work.
You can see examples of usage of material variations in train scenes, like scene 12, where it is used on the rails. Check the "RailtrackShapeMain" object in that scene, and see how its Control Points have different material ids
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.