# Render-Crowd-Of-Animated-Characters **Repository Path**: erratas/Render-Crowd-Of-Animated-Characters ## Basic Information - **Project Name**: Render-Crowd-Of-Animated-Characters - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AnimMap Baker For Animated Characters ---- #### 描述 Description: Using GPU to achieve large number of animated characters rendering. * anim map for vertex shader to modify the vertex position of the mesh at runtime. * use gpu instancing to reduce draw call. #### Model Resource Link: [RTS Mini Legion Footman Handpainted](https://www.assetstore.unity3d.com/en/#!/content/86576) --- #### Bake legacy animation info into anim map: ![1201111111111111.gif](http://upload-images.jianshu.io/upload_images/1372105-004a0ddd0f256df1.gif?imageMogr2/auto-orient/strip) ![120111111111111.gif](http://upload-images.jianshu.io/upload_images/1372105-35954dfd4ca03f7b.gif?imageMogr2/auto-orient/strip) animated characters without animator & skinnedmeshrender. #### GPU Instancing & mesh render for large number of animated characters: ![1372105-fa2cb8df2d12c0b3.gif](http://upload-images.jianshu.io/upload_images/1372105-310c57df8cfc83bc.gif?imageMogr2/auto-orient/strip) 10,000 animated characters with 22 drawcalls. #### BlogPost [How To Render 10,000 Animated Characters With 20 Draw Calls In Unity](https://medium.com/@chen_jd/how-to-render-10-000-animated-characters-with-20-draw-calls-in-unity-e30a3036349a)