Coder Social home page Coder Social logo

chenjd / render-crowd-of-animated-characters Goto Github PK

View Code? Open in Web Editor NEW
1.5K 73.0 276.0 10.04 MB

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.

License: MIT License

C# 54.29% ShaderLab 45.71%
animated-characters draw-calls animation-map unity gpu-instancing baker vertex-animation-texture vertex-animation

render-crowd-of-animated-characters's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

render-crowd-of-animated-characters's Issues

支持annimator和多材质

您好, fork了您的项目 根据我们项目的需求做了一些改动, 可以支持animator, 但是animationclip不能勾选legacy, 想知道animation制作时勾选legacy的作用, 另外我们项目的模型有多个材质, 扩展了一下支持多材质, 但是对应的drawcall也会多一些

SRP not competitive

I Use project with DOTs package and ENABLED HYBRID RENDER V2.
I baked my anim with your package. But it was not visible on runtime.

VertexLit

Hi, is it possible to use it like a VertexLit shader instead Unlit? Thank you

我在ECS1.0中使用出现以下问题,请问这要怎么解决

在普通的Scene下,显示正常

image

在ECS的SubScene中,不能正常显示了并提示错误:

A BatchDrawCommand is using a pass from the shader "chenjd/URP/AnimMapWithShadowShader" that is not SRP Batcher compatible. Reason: "Material property is found in another cbuffer than "UnityPerMaterial"" (_AnimLen) This is not supported when rendering with a BatchRendererGroup (or Entities Graphics). MaterialID: 4 ("Bat_Fly Forward In Place.animMap"), MeshID: 1 ("Bat"), BatchID: 2.

image

Known Issue - Unity 2021 not supported

There seems to be some issues with this project in Unity 2021, as shown in the images below. I don't know what has changed in Unity, but I know it might take some time to fix.

Unity 2020.3

cat-2020

Unity 2021.3

cat-2021

关于AnimMapShader

vid:SV_VertexID

float animMap_x = (vid + 0.5) * _AnimMap_TexelSize.x;

请问为什么vid需要加0.5呢

Clicking bake with no feedback

When I place my model in the prefab section and paste in a path for it to build, I get no feedback when I press Bake. There is no error message or anything telling me if or why it didn't work. Was wondering if there is a certain way my model needs to be for this to work since it works no problem when I use the foot soldier.

Blend Shape Issue

I tried to bake the blend shape animation but It didn't work
can you add this option to your plugin?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.