From 419e8e6eb9118b133ab546228d26465cbaa020b1 Mon Sep 17 00:00:00 2001 From: Olivier Prat Date: Mon, 2 Jul 2018 11:32:33 +0200 Subject: [PATCH] Forgot to put back linear filtering on single shadow map --- libraries/gpu/src/gpu/Framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/gpu/src/gpu/Framebuffer.cpp b/libraries/gpu/src/gpu/Framebuffer.cpp index 7e7db1345c..8bb9be4a76 100755 --- a/libraries/gpu/src/gpu/Framebuffer.cpp +++ b/libraries/gpu/src/gpu/Framebuffer.cpp @@ -61,7 +61,7 @@ Framebuffer* Framebuffer::createShadowmap(uint16 width) { samplerDesc._borderColor = glm::vec4(1.0f); samplerDesc._wrapModeU = Sampler::WRAP_BORDER; samplerDesc._wrapModeV = Sampler::WRAP_BORDER; - samplerDesc._filter = Sampler::FILTER_MIN_MAG_POINT; + samplerDesc._filter = Sampler::FILTER_MIN_MAG_LINEAR; samplerDesc._comparisonFunc = LESS; depthTexture->setSampler(Sampler(samplerDesc));