Skip to content

頂点の位置と法線を、Texture2Dに保存しておく。ARGBFloatとか、HDR Textureを使用したバージョン

License

Notifications You must be signed in to change notification settings

sugi-cho/Animation-Texture-Baker

Repository files navigation

Animation Texture Baker for Unity

Description

  • Bake vertex of Animation(legacy) to Texture2D
  • Bake data of Positions and Normals

  • Original GameObject has Animation Component, SkinnedMeshRenderer, Bones.
  • Convert Animation-Data to Texture2D.

data of Positions.

data of Normals.

Converted, has only one GameObject.

running.

Animation Texture Baker

  • C# script(for setup)
  • ComputeShader(Texture Generator)
  • Shader(Texture Animation Player)

Shader Graph

  • Assets/ShaderGraph
  • Need to edit the mesh at runtime..
    • Vertex index data is being copied to mesh.uv1 by script

Horse

horse is from Unity AssetStore. big up

About

頂点の位置と法線を、Texture2Dに保存しておく。ARGBFloatとか、HDR Textureを使用したバージョン

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published