All Projects → codewriter-packages → Mesh-Animation

codewriter-packages / Mesh-Animation

Licence: MIT license
Fast GPU vertex shader based animation library for Unity (VAT, Vertex Animation Texture, Morphing Animation)

Programming Languages

C#
18002 projects
ShaderLab
938 projects

Projects that are alternatives of or similar to Mesh-Animation

VertexAnimation
Vertex animation baking tool, shaders and animation system for Unity DOTS/ECS.
Stars: ✭ 132 (+16.81%)
Mutual labels:  gpu-instancing, vertex-animation
minimal gl
PC 4K Intro Editor
Stars: ✭ 36 (-68.14%)
Mutual labels:  shader
shaping-functions
Visualisation of shaping functions
Stars: ✭ 75 (-33.63%)
Mutual labels:  shader
Unity StarGlow
Simple star-glow effect.
Stars: ✭ 39 (-65.49%)
Mutual labels:  shader
DuEngine
An efficient interactive C++ renderer for ShaderToy-alike demos with 2D/3D/CubeMap/Video/Camera/LightField/Volume textures. (Partially used in my I3D 2018 papers)
Stars: ✭ 62 (-45.13%)
Mutual labels:  shader
360-VJ
Add another dimension to your VJing with the 360-VJ effect pack! Rotate 360 and Fisheye videos, convert 360 and Flat videos to Fisheye. Great for fulldome and immersive VJing.
Stars: ✭ 81 (-28.32%)
Mutual labels:  shader
Unity-Raymarched-Clouds-Simple-Wave
Unity project showcasing clouds volume rendering with raymarching, and a simple coloured wave.
Stars: ✭ 17 (-84.96%)
Mutual labels:  gpu-instancing
card-game-GLSL
card game in the single GLSL shader
Stars: ✭ 20 (-82.3%)
Mutual labels:  shader
DissolveEffectForUGUI
A dissolve effect for uGUI, without material instancing. Please star and watch this project :)
Stars: ✭ 67 (-40.71%)
Mutual labels:  shader
UnityChanToonShaderVer2 VerticalDissolve
UnityChanToonShaderVer2 with VerticalDissolve
Stars: ✭ 31 (-72.57%)
Mutual labels:  shader
Shader
🌃 Make simple shade view with Shader!
Stars: ✭ 16 (-85.84%)
Mutual labels:  shader
unity-built-in-shaders
A comprehensive archive for Unity's built-in shaders
Stars: ✭ 38 (-66.37%)
Mutual labels:  shader
hassle-rs
🦀 This crate provides an FFI layer and idiomatic rust wrappers for the new DirectXShaderCompiler library.
Stars: ✭ 34 (-69.91%)
Mutual labels:  shader
glsl-cos-palette
glsl function for making cosine palettes
Stars: ✭ 26 (-76.99%)
Mutual labels:  shader
ada
A general porpose OpenGL app library
Stars: ✭ 105 (-7.08%)
Mutual labels:  shader
UnityRaymarchingCollision
Raymarching x Rigidbody interaction example.
Stars: ✭ 53 (-53.1%)
Mutual labels:  shader
AndroidGLKit
AndroidGLKit provides OpenGL ES 2.0 boilerplate codes for Android.
Stars: ✭ 22 (-80.53%)
Mutual labels:  shader
URP-Sun-Shafts
A URP port of Unity's classic Standard Assets Effects package's Sun Shaft effect
Stars: ✭ 36 (-68.14%)
Mutual labels:  shader
unity-surfaceshader-flipbook
Surface shaders with flipbook / spritesheet animation functionality
Stars: ✭ 43 (-61.95%)
Mutual labels:  shader
notebookdrawings-shader-unity
Unity3D port of the excellent 'notebook drawings' post-processing shader by flockaroo.
Stars: ✭ 34 (-69.91%)
Mutual labels:  shader

Mesh Animation Github license

Mesh Animation is lightweight library for rendering hundreds of meshes in one draw call with GPU instancing.

NOTE: To use MeshAnimation library you need to install Tri Inspector - Free and open-source library that improves unity inspector.

How it works?

Mesh Animation bakes vertex positions for each frame of animation to texture. Custom shader then move mesh vertexes to desired positions on GPU. This allows draw the same original mesh multiple times with GPU Instancing. Unique animation parameters are overridden for each instance with Material Property Block.

Limitations

  • Supported up to 2048 vertices per mesh.
  • Bakes one SkinnedMeshRenderer animation per prefab.
  • Requires special shader for vertex animations.
  • Animations can only be baked in editor mode.
  • Possibly low animation quality on some GPUs.
  • Vertex animation may be not supported on some old devices.

How to use?

  1. Create Mesh Animation Asset (in Assets/Create/Mesh Animation menu).
  2. Assign skin, shader and animation clips fields in inspector.
  3. Click Bake button.
  4. Assign generated material to gameObject.
  5. Add MeshAnimator component to gameObject.
  6. Play animation from code.
gameObject.GetComponent<MeshAnimator>().Play("Zombie Walking");

Mesh Animation

FAQ

Which Rig AnimationType are supported?

Works with Humanoid. Not works with legacy. Other not tested.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].