Basic shadow mapping rendering

This commit is contained in:
Dynamitos committed 2025-05-06 19:36:43 +02:00
1 parent ee412201e6
commit 3e36340b02
40 files changed
+607 -275

No files matched your search

-1
View File
@@ -155,7 +155,6 @@ void MeshLoader::loadMaterials(const aiScene* scene, const Array<PTextureAsset>&
if (material->GetTexture(type, index, &texPath, &mapping, &uvIndex, &blend, &op, &mapMode) != AI_SUCCESS) {
std::cout << "fuck" << std::endl;
}
uvIndex = 1;
std::string textureKey = fmt::format("{0}Texture{1}", paramKey, index);
auto texFilename = std::filesystem::path(texPath.C_Str());
PTextureAsset texture;