Files
obsidian-notes/4Archives/海量渲染战斗/GPU动画工程/GPU顶点动画.md
2026-06-29 00:19:54 +08:00

7 lines
371 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 顶点动画原理
- 将蒙皮**网格**基于根骨骼的相对位移Vector3都写进一张图片中
- 在运行时在Shader中根据根骨骼空间矩阵算出每个顶点
### 烘焙阶段
- 采样Clip在根骨骼的GameObject上的动画
- 将采样到的每一帧网格顶点Vector3写进图片里
- 另外烘焙一份uv1进网格用来存储顶点索引