From e6ebf871a52be0b1fd088def3814162f472ebfe5 Mon Sep 17 00:00:00 2001 From: ducphamhong Date: Tue, 6 Oct 2020 23:54:12 +0700 Subject: [PATCH] #86 Update bloom blur radius for FULL HD size --- .../Skylicht/Engine/Source/RenderPipeline/CPostProcessorRP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/Skylicht/Engine/Source/RenderPipeline/CPostProcessorRP.cpp b/Projects/Skylicht/Engine/Source/RenderPipeline/CPostProcessorRP.cpp index 3009aa90b..e6762a81d 100644 --- a/Projects/Skylicht/Engine/Source/RenderPipeline/CPostProcessorRP.cpp +++ b/Projects/Skylicht/Engine/Source/RenderPipeline/CPostProcessorRP.cpp @@ -102,7 +102,7 @@ namespace Skylicht { s = s / 2; m_rtt[m_numTarget++] = driver->addRenderTargetTexture(s, "rtt", ECF_A16B16G16R16F); - } while (s.Height > 50); + } while (s.Height > 50 && m_numTarget < 8); } }