Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-12-11 21:12:12 +02:00
parent a1061c873a
commit c856e0414c
7 changed files with 55 additions and 15 deletions

View File

@@ -178,7 +178,7 @@ auto Mesh::load_gltf_meshes(
}
}
constexpr bool OVERRIDE_COLORS = true;
constexpr bool OVERRIDE_COLORS = false;
if (OVERRIDE_COLORS) {
for (auto &vtx : vertices) {
vtx.color = smath::Vec4(vtx.normal, 1.f);