[add] Terrain Alpha Map

This commit is contained in:
Chanbin Kim
2025-11-23 20:54:53 +09:00
parent 3da4cbbb39
commit 43853a0dd9
28 changed files with 676 additions and 514 deletions
+3 -1
View File
@@ -533,6 +533,9 @@ HRESULT CMaterial::Initialize(const _char* pModelFilePath, const SaveMaterial& _
ID3D11ShaderResourceView* pSRV = nullptr;
HRESULT hr = S_OK;
if (!m_SRVs[type].empty())
continue;
const char* ext = strrchr(szFullPath, '.');
if (ext)
{
@@ -547,7 +550,6 @@ HRESULT CMaterial::Initialize(const _char* pModelFilePath, const SaveMaterial& _
if (FAILED(hr)){
return E_FAIL;
}
m_SRVs[type].push_back(pSRV);
}
}