Forgot to put back linear filtering on single shadow map

This commit is contained in:
Olivier Prat 2018-07-02 11:32:33 +02:00
parent 1f90e86b87
commit 419e8e6eb9

View file

@ -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));