diff --git a/include/rendering/terrain_renderer.hpp b/include/rendering/terrain_renderer.hpp index f4994792..5bc13252 100644 --- a/include/rendering/terrain_renderer.hpp +++ b/include/rendering/terrain_renderer.hpp @@ -171,7 +171,7 @@ private: // Descriptor pool for material sets VkDescriptorPool materialDescPool = VK_NULL_HANDLE; - static constexpr uint32_t MAX_MATERIAL_SETS = 16384; + static constexpr uint32_t MAX_MATERIAL_SETS = 65536; // Loaded terrain chunks std::vector chunks; diff --git a/include/rendering/wmo_renderer.hpp b/include/rendering/wmo_renderer.hpp index 07f3ac9d..2431628e 100644 --- a/include/rendering/wmo_renderer.hpp +++ b/include/rendering/wmo_renderer.hpp @@ -656,7 +656,7 @@ private: // Descriptor pool for material sets VkDescriptorPool materialDescPool_ = VK_NULL_HANDLE; - static constexpr uint32_t MAX_MATERIAL_SETS = 8192; + static constexpr uint32_t MAX_MATERIAL_SETS = 32768; // Texture cache (path -> VkTexture) struct TextureCacheEntry {