Visibility reset doesnt work anymore for some reason

This commit is contained in:
Dynamitos
2024-06-10 10:13:37 +02:00
parent d95dab850c
commit 2ba30a8fcc
8 changed files with 37 additions and 39 deletions
-1
View File
@@ -151,7 +151,6 @@ void MeshLoader::loadMaterials(const aiScene* scene, const Array<PTextureAsset>&
if (material->GetTexture(type, index, &texPath, &mapping, &uvIndex, nullptr, nullptr, nullptr) != AI_SUCCESS) {
std::cout << "fuck" << std::endl;
}
std::string textureKey = fmt::format("{0}Texture{1}", paramKey, index);
auto texFilename = std::filesystem::path(texPath.C_Str());
PTextureAsset texture;