Aeva / m.grl

Midnight Graphics & Recreation Library
http://mgrl.midnightsisters.org
GNU Lesser General Public License v3.0
44 stars 3 forks source link

improve robustness of vertex animation hook #257

Open Aeva opened 7 years ago

Aeva commented 7 years ago

Currently the vertex animation hook only operates on the model in local coordinates (eg, what was passed in to the shader). I chose to do it this way for simplicity. This is lacking in that vertex animations can't bypass how world coordinates are generated.

This update could do one of several things:

I feel warmer towards option 2.

This relates to issue #64, because a heightmap prefab would likely not use a world matrix to produce world coordinates.

Tasks: