CommunityDragon / CDTB

A library containing everything to extract files from client files.
GNU Lesser General Public License v3.0
119 stars 33 forks source link

Support skn vertex type 2 #67

Closed Morilli closed 1 year ago

Morilli commented 1 year ago

Previously, the vertex type was interpreted as bool, which isn't correct and doesn't handle the difference between type 1 and 2.

I've added support for type 2 vertex (color + tangent) and fixed the existing code that considering type 1 (just color) to be tangent data.