bjorn
40d85c6a16
Model uses sn10x3 normals and tangents;
...
This shaves 20 bytes off of each model vertex, or around 40% savings.
The vertex size is also a power of two which results in extreme amounts
of style points.
2024-01-20 17:39:36 -08:00
bjorn
eefc89909e
Fix bitangent sign;
...
Really gotta compress ModelVertex at some point.
2023-11-09 16:50:52 -08:00
bjorn
73b1b951f5
Model:clone has separate blend shape state;
2023-09-24 23:51:42 -07:00
bjorn
97cc7d9137
Fix issue with blend shape compute shader;
...
It was only copying the raw vertex data for the first blend shape,
not the first blend shape in each group.
2023-06-20 21:42:44 -07:00
bjorn
4ec065757d
Optimize blendshapes;
...
To initialize the vertices to their default state, it's way faster to
use a branch in the compute shader rather than using a copy.
2023-06-17 17:14:00 -07:00
bjorn
747c7fdddf
Optimize blend shape shader;
...
This is ~20% faster, I think it's because all the SSBO stores are
"batched" at the end.
2023-04-05 21:53:39 -07:00
bjorn
ff10461e69
Reduce blend shape chunk size from 128 to 64;
2023-03-31 18:45:16 -07:00
bjorn
f56b48b3a7
Blend shapes and skinning work at the same time;
2023-03-31 18:45:16 -07:00
bjorn
4a6de6caf5
Write blend shape compute shader; Bugfixes;
2023-03-31 18:45:16 -07:00
bjorn
530db8c7f8
WIP blend shape compute dispatch;
2023-03-31 18:45:16 -07:00