Unity Face Material ?

   4928   4   1
User Avatar
Member
1104 posts
Joined: Aug. 2008
Offline
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 ?
/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
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.
User Avatar
Member
1104 posts
Joined: Aug. 2008
Offline
Thanks I actually found a video where someone desribed it too after hours of searching but in the end I think I will stick with unreal since it's _alot_ easier to make materials there, and hope that the pointlight / emissive materails work them self out sooner or later
/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
Member
402 posts
Joined: March 2013
Offline
Mind I ask which video? Just curious.
User Avatar
Member
1104 posts
Joined: Aug. 2008
Offline
this one. Around 3:40

https://www.youtube.com/watch?v=fNXhOUXdpoo [youtube.com]
Edited by MagnusL3D - July 12, 2016 08:31:42
/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
  • Quick Links