SaschaWillems / Vulkan-glTF-PBR

Physical based rendering with Vulkan using glTF 2.0 models
MIT License
979 stars 132 forks source link

Fix jointByteStride for uint16 bufferJoints #31

Closed Peach1 closed 4 years ago

Peach1 commented 4 years ago

Animated models displayed incorrectly because jointByteStride was not correct, /sizeof(float) was wrong because bufferJoints array is uint16_t, not float (sizeof(uint16_t) is 2; sizeof(float) is 4)

SaschaWillems commented 4 years ago

Thx for your PR. Very much appreciated.