Thought I'd test Unity aswell, so my first question here will be just as with the Unreal version, how do I assign material on my instances ? with the Unreal HE you assign “unreal_face_material” to your polygon's with the copy reference from Unreal, is there a similar approach in Unity ?
Unity Face Material ?
4900 4 1- MagnusL3D
- Member
- 1104 posts
- Joined: Aug. 2008
- Offline
- damian
- Member
- 402 posts
- Joined: March 2013
- Offline
Well, you can't assign material overrides per instance, only per polygon of a regular mesh (which can itself be instanced).
To do that, you use the “unity_material” primitive attribute and give it the path to the Unity material (can be a Substance as well), including the material's file extension (which is not visible by default in the Unity Project pane). If your materials are in the special Resources folder (any old folder named exactly “Resources”), you can just provide the material name (no file extension) in your attribute.
Unity still has an additional limitation that each assignment of materials to a set of polygons should have a corresponding primitive group. Ideally, the only groups you have on the display SOP geometry are those corresponding to material assignments and are mutually exclusive.
To do that, you use the “unity_material” primitive attribute and give it the path to the Unity material (can be a Substance as well), including the material's file extension (which is not visible by default in the Unity Project pane). If your materials are in the special Resources folder (any old folder named exactly “Resources”), you can just provide the material name (no file extension) in your attribute.
Unity still has an additional limitation that each assignment of materials to a set of polygons should have a corresponding primitive group. Ideally, the only groups you have on the display SOP geometry are those corresponding to material assignments and are mutually exclusive.
- MagnusL3D
- Member
- 1104 posts
- Joined: Aug. 2008
- Offline
- damian
- Member
- 402 posts
- Joined: March 2013
- Offline
- MagnusL3D
- Member
- 1104 posts
- Joined: Aug. 2008
- Offline
-
- Quick Links