Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question how to create LOD frames for anims? (optimization for rendering multiple units animating on screen)

Discussion in 'Animation' started by the_unity_saga, Aug 29, 2022.

  1. the_unity_saga

    the_unity_saga

    Joined:
    Sep 17, 2016
    Posts:
    261
    so i was watching this video:


    and at the 0:59 mark (abouts)

    you see the giants in the distance look like they're spasming with crappy skipped framerate animations (slideshow), which helps some with performance in my experience, as only a certain number of entities on screen are rendering all frames of their animation at maximum framerate at any given time.

    now, my question, how do we do this in unity? is there someway to apply a delta time value to all animated skinned meshes or any objects with animator component? and simply check to see if the object is being rendered by camera first, etc?
     
  2. james_cg

    james_cg

    Joined:
    Nov 13, 2019
    Posts:
    16
    Looking for Lod for Animator/Animation, too.

    The simplest way, I think is deactive animator, and update them manually. The Update Interval should calculated by distance/importance/number of units in scene.

    But I think Unity should provide "Lod Of Animator" function, instand of devs add tons of Monobehaviors for the units.
     
    the_unity_saga likes this.