[FEATURE] single light support

This commit is contained in:
Menno
2021-05-21 08:36:04 +02:00
parent 01571d191f
commit 9e9d50da9e
12 changed files with 132 additions and 13 deletions

View File

@@ -125,5 +125,5 @@ models::RawModel LoadObjModel(std::string file_name)
vertex_array[p++] = vertex.z;
}
return render_engine::loader::LoadToVAO( vertex_array, texture_array, indices);
return render_engine::loader::LoadToVAO( vertex_array, texture_array, normal_array, indices);
}