Add dedicated skybox textures folder

This commit is contained in:
Benau 2022-09-13 14:23:04 +08:00
parent 9804416a82
commit b1fa45437f

View File

@ -478,6 +478,8 @@ void FileManager::addAssetsSearchPath()
// since this also adds a file archive to the file system - and
// m_file_system is deleted (in irr_driver)
pushTextureSearchPath(m_subdir_name[TEXTURE], "textures");
pushTextureSearchPath(m_subdir_name[TEXTURE]+"skybox/", "skybox");
if (fileExists(m_subdir_name[TEXTURE]+"deprecated/"))
pushTextureSearchPath(m_subdir_name[TEXTURE]+"deprecated/", "deprecatedtex");