Skip to content

imclab/AnimationCache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnimationCache in Unity

##Discription

  • アニメーションのデータを事前に、Vector3D配列にしておく

  • 実行時に配列データを入れたComputeBufferを作成

  • ShaderでComputeBufferを読み込み、アニメーションを表示

  • ついでに、GeometryShaderを使用したポリゴンの分割化

  • 頂点IDは、VertexShaderの"SV_VertexID"セマンティックで取得可能

  • インスタンスIDは、"SV_InstanceID"で取得可能

アニメーションを頂点位置をあらかじめキャッシュしておき、リアルタイム実行時のボーンアニメーションによる頂点計算の処理を省略

##Capture Image

##Author SUGINO Hironori (sugi.cho) http://sugi.cc/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 83.6%
  • GLSL 16.4%