Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Unity5 LoD

Discussion in 'Getting Started' started by chrisoooooooooooooooo1, Mar 30, 2015.

  1. chrisoooooooooooooooo1

    chrisoooooooooooooooo1

    Joined:
    Mar 30, 2015
    Posts:
    53
    Hello Unity-Community!

    Im pretty new to Unity3D, although ive been experianced in Game-Dev including couple of other engines, so im not a total noob :)
    Im getting along very good in Unity, love the workflow and graphics, but now my scene is getting to become slower and slower, and now it was time to look at LoD.
    The last engine i used was very simple when it came to LoD. Just import a model that ends with _0, _1 etc. and the engine handles all LoD-Stages automatically.
    In Unity however i have problems using LoD.
    First question, does Unity 5 offers a full working LoD-System?
    What i tried so far was this:
    - Import model
    - add component - LoD Group to model
    - Remove LoD-Stage 1-2, so only Stage 0 and culled are left (just for testing)
    - I add a model for Stage 0, but as soon i added it the model disappears (cullled already?) even im really close to the object...

    Does anyone can enlighten me?

    Many Thanks!
     
  2. mikaelwallin

    mikaelwallin

    Joined:
    Dec 11, 2013
    Posts:
    20
    If you name your objects (within the same .fbx) _LOD0, _LOD1, _LOD2 etc it will create a LODGroup for you.
    LODBias determines which LOD level that is chosen a value for holds LOD0 for longer. LODBias 1 uses the values specified in the LODGroup.
     
  3. chrisoooooooooooooooo1

    chrisoooooooooooooooo1

    Joined:
    Mar 30, 2015
    Posts:
    53
    hmmm, not sure how to add objects withing the same .fbx file...
    or do you mean creating an empty gameobject in Unity and add the _LOD0-2.fbx files as a child??

    Other question i have is, how to cull smaller objects early? I read somewhere in the manual about different layers for the camera, but i did'nt quite understand where to start for that.