Some actually useful metal changes???
This commit is contained in:
@@ -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;
|
||||
|
||||
+3
-3
@@ -106,9 +106,9 @@ int main() {
|
||||
//AssetImporter::importTexture(TextureImportArgs{
|
||||
// .filePath = sourcePath / "import/textures/azeroth_height.png",
|
||||
//});
|
||||
AssetImporter::importTexture(TextureImportArgs{
|
||||
.filePath = sourcePath / "import/textures/wgen.png",
|
||||
});
|
||||
//AssetImporter::importTexture(TextureImportArgs{
|
||||
// .filePath = sourcePath / "import/textures/wgen.png",
|
||||
//});
|
||||
//AssetImporter::importMesh(MeshImportArgs{
|
||||
// .filePath = sourcePath / "import/models/after-the-rain-vr-sound/source/Whitechapel.glb",
|
||||
// .importPath = "Whitechapel",
|
||||
|
||||
Reference in New Issue
Block a user