Formalize imported mesh materials

This commit is contained in:
2026-04-08 02:31:10 +08:00
parent 6e6a98a022
commit 75defb0a49
7 changed files with 12453 additions and 30913 deletions

View File

@@ -620,7 +620,7 @@ void BackpackTest::InitializeMaterialResources() {
MaterialResources& resources = mMaterialResources[materialIndex];
Texture* baseColorTexture = GetMaterialTexture(material, "baseColorTexture");
Texture* baseColorTexture = GetMaterialTexture(material, "_MainTex");
if (baseColorTexture != nullptr) {
const bool created =
CreateTextureViewFromResourceTexture(