Results 1 to 13 of 13

Thread: LW/Unity Tips and Tricks

  1. #1

    LW/Unity Tips and Tricks

    I would like to start some minor tips and tricks with working in a LW/Unity pipeline.

    I'm sure some of you might know these already, but just some things I'm discovering working between the two.

    1. Unity doesn't see the top of the Hierarchy name (a Null)
    2. For some reason the "topnode" Null doesn't show up in Unity as the Null name. It is the name given to the FBX file. My work around is just add another "topenode" Null then the one below will show it will show up in Unity.
    3. (Update) The topnode does show up if you do export camera and lights(weird)
    4. Cameras and Lights only show as unity nulls Looks like it only takes points and distant as far as types (but in Unity they are not lights or cameras, just empty unity nulls)
    5. No weights required to deform mesh in Unity. The LW default skinning falloff transfers fine in Unity.
    6. Z Axis is opposite in Unity. If you postion something on the postive Z it will be on the negative Z in Unity.
    7. Nulls do not show up if they are not apart of the hierarchy of an object. Even if they are children of an object they are a no show in unity. (unless an object is a child)
    8. Items cannot have a scale of "zero" for animation, the animation won't work correctly in Unity.
    9. Unity scale FBX default is 0.01 (I usually change it to 1.0 to match 1 meter in LW)
    Last edited by GraphXs; 09-08-2011 at 02:50 PM.

  2. #2
    10. For multiple UV's (FBX export to Unity) to show here are the steps:

    For a single object:

    1) All UV's should use the same name
    2) Use different surface names for the parts: head, body, etc.
    3) Add the UV to the color channel (no maps required, just the UV)
    4)Export FBX out of layout if you want to keep the object layer names
    5) Change the FBX Object setting to material name and the "head", "body" names show up in Unity.
    4) IF you are using a Shared/combined UV, it will only work with the (legacy) Lightmap channel in Unity and won't show up in Unity.
    Last edited by GraphXs; 10-05-2011 at 09:19 AM.

  3. #3
    areté adk's Avatar
    Join Date
    Feb 2003
    Cheers GraphXs some really good info here

  4. #4
    Thanks, If I discover more pipeline stuff I will share it. I want LW and Unity to have a great pipeline.

  5. #5

  6. #6
    LW to Unity Skinned/parent object mixed.

    On a recent project I'm working on I have a mixed object that has some of the parts skinned and rigged parented to items that are just objects. I ran into an issue when porting into Unity where the skinned item was not in the correct world space to it's parent item.
    What I discovered is if the skin item parent pivot is in a world space location unity ignores this. The work around is the parent item pivot needs to be at 0,0,0. Then all is good in Unity!

  7. #7
    You can use many different UV's in object to export as FBX to Unity. Each layer must have polygons with different UV. And in Unity is the best set up make materials from object materials, not from texture names.

  8. #8
    Another thing to note is don't use the pivots positions in modeler for the mixed skin and object hierarchys. Layout will look in correct if u zeroed out the pivots because it rembers the modeler pivots position. To correct zero out the pivots on the object side.

  9. #9
    Lightwaver SubDProxy's Avatar
    Join Date
    Oct 2010
    Blog Entries
    Great Stuff thanks! I have been working in Lightwave to Unity 3D at work for some months now and I have been discovering these issues as well.

    Thanks again, please keep them coming!


  10. #10
    Registered User
    Join Date
    Jan 2011
    Raleigh, NC

    Very well done

    We were beginning to lose faith in human intellect,
    thank you all who participated in this post;

    Maybe there is some hope to all these
    import/export issues.


    Using (.fbx) files or (.obj) files to make (.x) files.

    We hope to hear more from you on this LIGHTWAVE - UNITY topic!!!

  11. #11
    Lightwaver SubDProxy's Avatar
    Join Date
    Oct 2010
    Blog Entries
    We just figured out today when doing a mass export of models that the FBX200900 Exporter for Lightwave doesn't work with Unity 3.5.1. We had to reconfigure our script to work with FBX201200 for the models to come in correctly.

    Not a big deal but just in case someone wonders why there models aren't coming in properly. Just check you exporter version.


  12. #12
    For Lightmaps to work in Unity using Lightwave to render baked map (v11)
    (Lightmap is an Atlas map with AO, GI, and shadow baked into the map to use on-top of the tile-able diffuse texture)

    1) Need two different UVs (tiles and Atlas)
    2) In the color channel add the "Atlas map uv"
    3) Save scene (using the the Unity Scripts to convert/load scene into Unity)
    4) Under the shader/material on the object in Unity go to legacy/Lightmaps/Diffuse
    5) Load in tile texture in diffuse and lightmap (atlas) into Lightmap channel
    6) Done!
    Last edited by GraphXs; 09-05-2012 at 07:28 AM.

  13. #13
    In Unity, when light intensity on scene set up on 0.0 or 0.1, this lightmapped object is "glowing" in the dark ;]

    To solve this problem (for night/day cycle) you can use "Diffuse detail" shader (Base - tilled texture, Detail - occlusion map). Then only one UV per material.
    Last edited by MarcusM; 09-08-2012 at 05:09 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts