2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

wip: map file format now uses gltf instead of fbx

This commit is contained in:
LJW-Dev
2026-01-28 19:17:35 +08:00
committed by Jan Laupetin
parent 2f07a70448
commit 43e84b394e
5 changed files with 768 additions and 89 deletions
@@ -27,7 +27,8 @@ namespace BSP
gfxVertex->color.packed = pack32::Vec4PackGfxColor(bspVertex.color.v);
gfxVertex->texCoord.packed = pack32::Vec2PackTexCoordsUV(bspVertex.texCoord.v);
gfxVertex->normal.packed = pack32::Vec3PackUnitVecThirdBased(bspVertex.normal.v);
gfxVertex->tangent.packed = pack32::Vec3PackUnitVecThirdBased(bspVertex.tangent.v);
// gfxVertex->tangent.packed = pack32::Vec3PackUnitVecThirdBased(bspVertex.tangent.v);
gfxVertex->tangent.packed = 0;
// unimplemented variables
gfxVertex->binormalSign = 0.0f;