diff --git a/src/ruis/render/scene/gltf_loader.cpp b/src/ruis/render/scene/gltf_loader.cpp index fe45007..68982b7 100644 --- a/src/ruis/render/scene/gltf_loader.cpp +++ b/src/ruis/render/scene/gltf_loader.cpp @@ -623,8 +623,8 @@ utki::shared_ref gltf_loader::create_vao_with_tangen const auto& texcoords = std::get>(texcoord_0_accessor.get().data); const auto& normals = std::get>(normal_accessor.get().data); - std::vector tangents; - std::vector bitangents; + std::vector tangents; // texture x-axis + std::vector bitangents; // texture y-axis tangents.resize(total_vertices); bitangents.resize(total_vertices);