dotrix
dotrix copied to clipboard
Hybrid skeletal animation
We need a possibility to mix animations, for example run and shoot
Perhaps on a compute shader.
Load a two bones transform matricies and the vertex buffer and weights.
Apply both to the vertex buffer separately.
Combine the verts with weighted average on the result.
Write result to a buffer.
For multiple mixes we simply apply the compute multiple times with appropriate weights.
Moving of animation calculations to compute shader in general is a quite interesting idea.