From a47c6be0afd98c14290a68f59bea3252949806be Mon Sep 17 00:00:00 2001 From: datacrystals Date: Tue, 14 Jun 2022 01:20:51 +0000 Subject: [PATCH] Implement Spot Light Shadows (#217) --- .../Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_DepthMaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_DepthMaps.cpp b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_DepthMaps.cpp index 8fe8c5f9a3..1a340741a9 100644 --- a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_DepthMaps.cpp +++ b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_DepthMaps.cpp @@ -14,7 +14,7 @@ ERS_CLASS_DepthMaps::ERS_CLASS_DepthMaps(ERS_STRUCT_SystemUtils* SystemUtils, ER SystemUtils_->Logger_->Log("Initializing Viewport Overlay Subsystem", 5); // Create Array Texture For Depth Maps - RegenerateDepthMapTextureArray(64, 2048, 2048); + RegenerateDepthMapTextureArray(64, SystemUtils_->RendererSettings_->ShadowMapX_, SystemUtils_->RendererSettings_->ShadowMapY_); }