H-uru / Plasma

Cyan Worlds's Plasma game engine
http://h-uru.github.io/Plasma/
GNU General Public License v3.0
205 stars 81 forks source link

Fix for Metal skinning blend matrix being multiplied in wrong order #1593

Closed colincornaby closed 4 months ago

colincornaby commented 4 months ago

Affects the single weight animations in places like Garden.

We used to transpose matrices on the CPU side before they were sent to the GPU. I removed transposing and just flipped the multiply order in the shaders, but I think this case escaped. This was causing the trees in Garden to be wildly distorted.