[fix] Material

This commit is contained in:
Chanbin Kim
2025-12-08 12:49:36 +09:00
parent ed6533e9ad
commit 8d459ca8c1
6 changed files with 426 additions and 374 deletions
@@ -575,6 +575,9 @@ HRESULT CMaterial::Bind_SRV(CShader* pShader)
}
}
if (true == bBinded[iTextureType]) {
if (0 == strcmp(pConstantName, "")) { // 미사용 SRV
return S_OK;
}
if (FAILED(pShader->Bind_SRV(pConstantName, m_SRVs[iTextureType][0]))) {
return E_FAIL;
}