[add] Hogwart Resources

[add] Hogwart Container Data
This commit is contained in:
Chanbin Kim
2025-12-20 22:14:47 +09:00
parent 94fd606f18
commit 5276f5f2a4
509 changed files with 4165 additions and 122 deletions
+84 -7
View File
@@ -324,6 +324,9 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
else if (!strcmp(FileType.c_str(), "Diffuse A Map")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
else if (!strcmp(FileType.c_str(), "Difuse_1")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
else if (!strcmp(FileType.c_str(), "Base color")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
@@ -336,9 +339,15 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
else if (!strcmp(FileType.c_str(), "Diffuse")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
else if (!strcmp(FileType.c_str(), "Lamp")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
else if (!strcmp(FileType.c_str(), "WindowDiffuse")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
else if (!strcmp(FileType.c_str(), "Color Glass")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
else if (!strcmp(FileType.c_str(), "Window_Surface_Diffuse")){
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
@@ -353,6 +362,18 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
eTexture = aiTextureType::aiTextureType_HEIGHT;
m_vSRV_Flag.x += 2.f;
}
else if (!strcmp(FileType.c_str(), "Diffuse C")) {
eTexture = aiTextureType::aiTextureType_HEIGHT;
m_vSRV_Flag.x += 2.f;
}
else if (!strcmp(FileType.c_str(), "Diffuse D")) {
eTexture = aiTextureType::aiTextureType_CLEARCOAT;
m_vSRV_Flag.x += 4.f;
}
else if (!strcmp(FileType.c_str(), "Cavity D")) {
eTexture = aiTextureType::aiTextureType_HEIGHT;
m_vSRV_Flag.x += 2.f;
}
else if (!strcmp(FileType.c_str(), "Diffuse A")) {
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
@@ -360,6 +381,14 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
eTexture = aiTextureType::aiTextureType_BASE_COLOR;
m_vSRV_Flag.x += 1.f;
}
else if (!strcmp(FileType.c_str(), "Lichen D")) {
eTexture = aiTextureType::aiTextureType_BASE_COLOR;
m_vSRV_Flag.x += 1.f;
}
else if (!strcmp(FileType.c_str(), "Diffuse B Map")) {
eTexture = aiTextureType::aiTextureType_BASE_COLOR;
m_vSRV_Flag.x += 1.f;
}
else if (!strcmp(FileType.c_str(), "TopBlend_Albedo")) {
eTexture = aiTextureType::aiTextureType_BASE_COLOR;
m_vSRV_Flag.x += 1.f;
@@ -367,6 +396,16 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
else if (!strcmp(FileType.c_str(), "Normal Map")){
eTexture = aiTextureType::aiTextureType_NORMALS;
}
else if (!strcmp(FileType.c_str(), "HRO Map")){
eTexture = aiTextureType::aiTextureType_SPECULAR;
m_vPBR_Flag.y = PBR_HRO;
}
else if (!strcmp(FileType.c_str(), "Normal_1")){
eTexture = aiTextureType::aiTextureType_NORMALS;
}
else if (!strcmp(FileType.c_str(), "Normal A Map")){
eTexture = aiTextureType::aiTextureType_NORMALS;
}
else if (!strcmp(FileType.c_str(), "Base Normal")){
eTexture = aiTextureType::aiTextureType_NORMALS;
}
@@ -398,6 +437,10 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
eTexture = aiTextureType::aiTextureType_SHININESS;
m_vSRV_Flag.y += 2.f;
}
else if (!strcmp(FileType.c_str(), "Cavity Detail N")) {
eTexture = aiTextureType::aiTextureType_SHININESS;
m_vSRV_Flag.y += 2.f;
}
else if (!strcmp(FileType.c_str(), "Moss Normal Map")) {
eTexture = aiTextureType::aiTextureType_SHININESS;
m_vSRV_Flag.y += 2.f;
@@ -413,6 +456,14 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
eTexture = aiTextureType::aiTextureType_OPACITY;
m_vSRV_Flag.y += 1.f;
}
else if (!strcmp(FileType.c_str(), "Lichen Detail N")){
eTexture = aiTextureType::aiTextureType_OPACITY;
m_vSRV_Flag.y += 1.f;
}
else if (!strcmp(FileType.c_str(), "Normal B Map")){
eTexture = aiTextureType::aiTextureType_OPACITY;
m_vSRV_Flag.y += 1.f;
}
else if (!strcmp(FileType.c_str(), "MRO")){
eTexture = aiTextureType::aiTextureType_METALNESS;
m_vPBR_Flag.x = PBR_MRO;
@@ -473,6 +524,10 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
eTexture = aiTextureType::aiTextureType_METALNESS;
m_vPBR_Flag.x = PBR_SRO;
}
else if (!strcmp(FileType.c_str(), "SRO Map D")) {
eTexture = aiTextureType::aiTextureType_SHEEN;
m_vPBR_Flag.x = PBR_SRO;
}
else if (!strcmp(FileType.c_str(), "SRO Map B")) {
eTexture = Switch_PBR_B(Use);
m_vPBR_Flag.y = PBR_SRO;
@@ -485,6 +540,10 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
eTexture = Switch_PBR_B(Use);
m_vPBR_Flag.y = PBR_SRO;
}
else if (!strcmp(FileType.c_str(), "SRO B Map")) {
eTexture = Switch_PBR_B(Use);
m_vPBR_Flag.y = PBR_SRO;
}
else if (!strcmp(FileType.c_str(), "SROH")) {
eTexture = aiTextureType::aiTextureType_SPECULAR;
m_vPBR_Flag.x = PBR_SROH;
@@ -504,6 +563,9 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
else if (!strcmp(FileType.c_str(), "MROH/SROH Map A")) {
eTexture = Switch_PBR(Use);
}
else if (!strcmp(FileType.c_str(), "Object MRO/SRO")) {
eTexture = Switch_PBR(Use);
}
else if (!strcmp(FileType.c_str(), "MROH/SROH Map B")) {
eTexture = Switch_PBR_B(Use);
}
@@ -527,6 +589,8 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
}
else if (!strcmp(FileType.c_str(), "RGBA_Mask")) {
eTexture = aiTextureType::aiTextureType_MAYA_BASE;
m_vSRV_Flag.x = 5.f;
m_vSRV_Flag.y = 5.f;
}
else if (!strcmp(FileType.c_str(), "exterior_Cube_Map")) {
return S_OK;
@@ -540,6 +604,9 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
else if (!strcmp(FileType.c_str(), "Emissive Map")) {
eTexture = aiTextureType::aiTextureType_EMISSIVE;
}
else if (!strcmp(FileType.c_str(), "Lamp Emissive")) {
eTexture = aiTextureType::aiTextureType_EMISSIVE;
}
else if (!strcmp(FileType.c_str(), "FakeExtDiffuse")) {
eTexture = aiTextureType::aiTextureType_EMISSIVE;
}
@@ -580,8 +647,14 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
{
if (!strcmp(FileType.c_str(), "Detail Diffuse A"))
return S_OK;
if (!strcmp(FileType.c_str(), "Cavity-Lichen D Mask"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Detail Diffuse B"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Detail Albedo"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Top Layer Base Color"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Detail Normal A"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Detail Normal B"))
@@ -600,6 +673,10 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
return S_OK;
else if (!strcmp(FileType.c_str(), "Distortion Top"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Albedo"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Material"))
return S_OK;
else if (!strcmp(FileType.c_str(), "Rock_Texture")) {
eTexture = aiTextureType::aiTextureType_DIFFUSE;
}
@@ -704,6 +781,10 @@ aiTextureType CMaterial::Switch_PBR(string FileType)
eTexture = aiTextureType::aiTextureType_SPECULAR;
m_vPBR_Flag.y = PBR_HRO;
}
else if (!strcmp(FileType.c_str(), "HRO Map")) {
eTexture = aiTextureType::aiTextureType_SPECULAR;
m_vPBR_Flag.y = PBR_HRO;
}
else if (!strcmp(FileType.c_str(), "SRO")) {
eTexture = aiTextureType::aiTextureType_SPECULAR;
m_vPBR_Flag.y = PBR_SRO;
@@ -746,10 +827,6 @@ aiTextureType CMaterial::Switch_PBR_B(string FileType)
eTexture = aiTextureType::aiTextureType_DISPLACEMENT;
m_vPBR_Flag.y = PBR_SROA;
}
else if (!strcmp(FileType.c_str(), "HRO")) {
eTexture = aiTextureType::aiTextureType_DISPLACEMENT;
m_vPBR_Flag.y = PBR_HRO;
}
else if (!strcmp(FileType.c_str(), "SRO")) {
eTexture = aiTextureType::aiTextureType_DISPLACEMENT;
m_vPBR_Flag.y = PBR_SRO;
@@ -978,16 +1055,16 @@ HRESULT CMaterial::Bind_SRV(CShader* pShader, MODEL eType)
case aiTextureType_UNKNOWN:
pConstantName = "g_UnknownTexture";
break;
case aiTextureType_SHEEN:
case aiTextureType_SHEEN: // Rock SRO
pConstantName = "g_SheenTexture";
break;
case aiTextureType_CLEARCOAT:
case aiTextureType_CLEARCOAT: // Rock_4 Diffuse
pConstantName = "g_ClearcoadTexture";
break;
case aiTextureType_TRANSMISSION:
pConstantName = "g_TransmissionTexture";
break;
case aiTextureType_MAYA_BASE:
case aiTextureType_MAYA_BASE: // Mask
pConstantName = "g_Maya_BaseTexture";
break;
case aiTextureType_MAYA_SPECULAR: