[add] 맵요소 인스턴싱으로 그리는 객체 추가

[add] 전체 맵 모멜 로딩 할 수 있도록 추가
[fix] Engine Material Path 저장 경로 수정
This commit is contained in:
Chanbin Kim
2025-11-27 16:20:26 +09:00
parent 4995cad07b
commit d5d1051664
8 changed files with 603 additions and 53 deletions
+2 -5
View File
@@ -206,10 +206,7 @@ HRESULT CMaterial::Read_MaterialFile(const _char* pMaterialFilePath, const _char
}
else
Value = strText.substr(iBeginIndex, iEndIndex - iBeginIndex);
strcpy_s(szTextureFilePath, pTextureFolderPath);
strcat_s(szTextureFilePath, Value.c_str());
// name
iBeginIndex = (_uint)strText.find_last_of('_');
iEndIndex = (_uint)strText.rfind('\'');
@@ -220,7 +217,7 @@ HRESULT CMaterial::Read_MaterialFile(const _char* pMaterialFilePath, const _char
getline(file, strText);
// Add Texture
if (FAILED(Add_Texture(szTextureFilePath, Type))){
if (FAILED(Add_Texture(("C:/MeshTable" + Value).c_str(), Type))) {
return E_FAIL;
}