Skip to content

Commit

Permalink
Smaller ESMs, larger blur radius
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Glatzel committed May 27, 2017
1 parent 5028db3 commit 2a949a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ _INTR_INLINE void blurExponentialShadowMaps(uint32_t p_ShadowMapCount)
{
using namespace Resources;

static const float blurRadius = 2.0f;
static const float blurRadius = 5.0f;

for (uint32_t shadowMapIndex = 0u; shadowMapIndex < p_ShadowMapCount;
++shadowMapIndex)
Expand Down Expand Up @@ -442,7 +442,7 @@ void VolumetricLighting::init()
pipelineLayoutsToCreate.push_back(pipelineLayoutEsm);
}

const glm::uvec2 expShadowBufferDim = RenderPass::Shadow::_shadowMapSize / 4u;
const glm::uvec2 expShadowBufferDim = glm::uvec2(256u, 256u);

// Render passes
RenderPassRefArray renderPassesToCreate;
Expand Down

0 comments on commit 2a949a7

Please sign in to comment.