検索 - User list
Full Version: Unity Face Material ?
Root » Houdini Engine for Unity » Unity Face Material ?
MagnusL3D
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 ?
damian
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.
MagnusL3D
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
damian
Mind I ask which video? Just curious.
MagnusL3D
this one. Around 3:40

https://www.youtube.com/watch?v=fNXhOUXdpoo [youtube.com]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB