{"id":33022576,"url":"https://github.com/chenjd/Render-Crowd-Of-Animated-Characters","last_synced_at":"2025-11-23T07:01:25.446Z","repository":{"id":41091629,"uuid":"98776782","full_name":"chenjd/Render-Crowd-Of-Animated-Characters","owner":"chenjd","description":"Animation Baker and Instancing for Animated Characters: Using GPU to implement large-amount animation characters rendering. The animation map for vertex shader to modify the vertex position of the mesh at runtime. Using GPU instancing to reduce draw calls. ","archived":false,"fork":false,"pushed_at":"2024-12-28T22:33:56.000Z","size":10280,"stargazers_count":1683,"open_issues_count":5,"forks_count":298,"subscribers_count":71,"default_branch":"master","last_synced_at":"2025-05-21T12:12:38.075Z","etag":null,"topics":["animated-characters","animation-map","baker","draw-calls","gpu-instancing","unity","vertex-animation","vertex-animation-texture"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chenjd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["chenjd"]}},"created_at":"2017-07-30T05:18:17.000Z","updated_at":"2025-05-20T03:22:22.000Z","dependencies_parsed_at":"2024-03-30T07:22:14.970Z","dependency_job_id":"0a3e968f-6e00-4c1b-81f7-9755eba5398f","html_url":"https://github.com/chenjd/Render-Crowd-Of-Animated-Characters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chenjd/Render-Crowd-Of-Animated-Characters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FRender-Crowd-Of-Animated-Characters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FRender-Crowd-Of-Animated-Characters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FRender-Crowd-Of-Animated-Characters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FRender-Crowd-Of-Animated-Characters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenjd","download_url":"https://codeload.github.com/chenjd/Render-Crowd-Of-Animated-Characters/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FRender-Crowd-Of-Animated-Characters/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285914727,"owners_count":27252968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-23T02:00:06.149Z","response_time":135,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animated-characters","animation-map","baker","draw-calls","gpu-instancing","unity","vertex-animation","vertex-animation-texture"],"created_at":"2025-11-13T19:00:34.926Z","updated_at":"2025-11-23T07:01:25.441Z","avatar_url":"https://github.com/chenjd.png","language":"C#","funding_links":["https://github.com/sponsors/chenjd"],"categories":["Animation"],"sub_categories":[],"readme":"# AnimMap Baker For Animated Characters \n![GitHub](https://img.shields.io/github/license/chenjd/Render-Crowd-Of-Animated-Characters)\n![](https://img.shields.io/badge/platform-win--64-brightgreen)\n![](https://img.shields.io/badge/unity-2023.2%2B-brightgreen)\n\n#### BlogPost\n\n[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)\n\n#### Description：\nUsing GPU to implement large-amount animation characters rendering. The animation map for vertex shader to modify the vertex position of the mesh at runtime. Useing GPU instancing to reduce draw calls. \n\n#### Supporting Shadows\n[![](https://assetstorev1-prd-cdn.unity3d.com/package-screenshot/9e708bba-1a7d-4df6-8c1d-f209a8052f84.webp)](https://www.youtube.com/watch?v=WUNq5sDMAg8 \"\")\n\n\n#### Using Unity’s AR Foundation to create 10,000 toy soldiers in the real world on an Old iPhone 7.\n[![](http://img.youtube.com/vi/choBOPO1xgo/0.jpg)](http://www.youtube.com/watch?v=choBOPO1xgo \"\")\n\n\nThe initial version was released on GitHub on 30 Jul 2017, and of course, it is still on GitHub. However, if you can buy me **a cup of coffee**, I will be very\nhappy :-).\n\n[:heart: Sponsor](https://github.com/sponsors/chenjd)\n\n[:heart: Animation Baker and Instancing for Animated Characters on Asset Store](https://assetstore.unity.com/packages/tools/animation/animation-baker-and-instancing-for-animated-characters-183598)\n\nRecently I added support for Unity 2023 and the Universal Render Pipeline (URP), so it can be used from Unity 5.X to Unity 2023.\n\nAnd I will create a video tutorial to demonstrate how to use it. If you want to know more about the implementation behind it, you can read this [article](https://medium.com/chenjd-xyz/how-to-render-10-000-animated-characters-with-20-draw-calls-in-unity-e30a3036349a) I wrote.\n\n#### Features:\n✅ Support Unity 2023.\n\n✅ Support Shadows.\n\n✅ Using the animation map to modify the position of vertices of your characters at runtime to avoid a lot of cost of skin calculation.\n\n✅ Using GPU Instancing to reduce the number of draw calls, only 20 draw calls are\nneeded to render 10,000 soldiers playing attack actions in the demo scene.\n\n✅ Using the animation map to modify the position of vertices of your characters at runtime to avoid a lot of cost of skin calculation.\n\n✅ Using GPU Instancing to reduce the number of draw calls, only 20 draw calls are needed to render 10,000 cats playing idle actions in the demo scene.\n\n✅ Support AR Foundation.\n\n✅ Support URP(SRP Batcher)only 7 draw calls are needed to render 10,000 cats playing idle actions in the demo scene.\n\n#### Model Resource Link：\n\n[RTS Mini Legion Footman Handpainted](https://www.assetstore.unity3d.com/en/#!/content/86576)\n\n---\n#### Bake legacy animation info into anim map：\n\n![1201111111111111.gif](http://upload-images.jianshu.io/upload_images/1372105-004a0ddd0f256df1.gif?imageMogr2/auto-orient/strip)\n\n\n\n![120111111111111.gif](http://upload-images.jianshu.io/upload_images/1372105-35954dfd4ca03f7b.gif?imageMogr2/auto-orient/strip)\nanimated characters without animator \u0026 skinnedmeshrender.\n\n#### GPU Instancing \u0026 mesh render for large number of animated characters：\n![1372105-fa2cb8df2d12c0b3.gif](http://upload-images.jianshu.io/upload_images/1372105-310c57df8cfc83bc.gif?imageMogr2/auto-orient/strip)\n10,000 animated characters with 22 drawcalls.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenjd%2FRender-Crowd-Of-Animated-Characters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenjd%2FRender-Crowd-Of-Animated-Characters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenjd%2FRender-Crowd-Of-Animated-Characters/lists"}