Some actually useful metal changes???

This commit is contained in:
Dynamitos
2024-11-01 21:04:06 +01:00
parent 2811757476
commit 32d3bd8ad8
26 changed files with 152 additions and 73 deletions
+2 -1
View File
@@ -399,7 +399,8 @@ void MeshLoader::loadMaterials(const aiScene* scene, const Array<PTextureAsset>&
};
uint32 twoSided = false;
float opacity = 1.0f;
const char* mat = material->GetName().C_Str();
aiString matName = material->GetName();
const char* mat = matName.C_Str();
if (strcmp(mat, "Leaves0119_14_S") == 0) {
opacity = 0.5f;