Formalize imported mesh materials
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user