MIT License

项目介绍

chenjd/Render-Crowd-Of-Animated-Characters 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 MIT License 许可证,目前获得 1.8k 个 Star、304 次 Fork。

仓库全名
chenjd/Render-Crowd-Of-Animated-Characters
开源许可证
MIT License
Star 数
1.8k
Fork 数
304
未关闭 Issue
5

README 摘要

AnimMap Baker For Animated Characters BlogPost How To Render 10,000 Animated Characters With 20 Draw Calls In Unity Description: 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. Useing GPU instancing to reduce draw calls. Supporting Shadows Using Unity’s AR Foundation to create 10,000 toy soldiers in the real…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Render-Crowd-Of-Animated-Characters 用什么语言开发?

主要使用 C# 编写,采用 MIT License 许可证,目前有 1.8k 个 Star。

Render-Crowd-Of-Animated-Characters 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Render-Crowd-Of-Animated-Characters 的源码?

可以直接克隆仓库:git clone https://github.com/chenjd/Render-Crowd-Of-Animated-Characters.git,默认分支为 master;安装与运行步骤见仓库 README。

Render-Crowd-Of-Animated-Characters 最近还在维护吗?

仓库最近一次更新为 2024年12月29日,当前有 5 个未关闭 Issue;Star 数为 1.8k,可作为社区活跃度的参考。

简要分析

热度分
2456
价值分
1165
活跃状态
活跃

语言占比

C#
ShaderLab

README

AnimMap Baker For Animated Characters

GitHub

BlogPost

How To Render 10,000 Animated Characters With 20 Draw Calls In Unity

Description:

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. Useing GPU instancing to reduce draw calls.

Supporting Shadows

Using Unity’s AR Foundation to create 10,000 toy soldiers in the real world on an Old iPhone 7.

The 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 happy :-).

:heart: Sponsor

:heart: Animation Baker and Instancing for Animated Characters on Asset Store

Recently I added support for Unity 2023 and the Universal Render Pipeline (URP), so it can be used from Unity 5.X to Unity 2023.

And 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 I wrote.

Features:

✅ Support Unity 2023.

✅ Support Shadows.

✅ Using the animation map to modify the position of vertices of your characters at runtime to avoid a lot of cost of skin calculation.

✅ Using GPU Instancing to reduce the number of draw calls, only 20 draw calls are needed to render 10,000 soldiers playing attack actions in the demo scene.

✅ Using the animation map to modify the position of vertices of your characters at runtime to avoid a lot of cost of skin calculation.

✅ 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.

✅ Support AR Foundation.

✅ Support URP(SRP Batcher)only 7 draw calls are needed to render 10,000 cats playing idle actions in the demo scene.

RTS Mini Legion Footman Handpainted


Bake legacy animation info into anim map:

1201111111111111.gif

120111111111111.gif animated characters without animator & skinnedmeshrender.

GPU Instancing & mesh render for large number of animated characters:

1372105-fa2cb8df2d12c0b3.gif 10,000 animated characters with 22 drawcalls.

评论

暂无评论