[add] 맵요소 인스턴싱으로 그리는 객체 추가
[add] 전체 맵 모멜 로딩 할 수 있도록 추가 [fix] Engine Material Path 저장 경로 수정
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user