Revert "Modifications to shadowmapping example"

This reverts commit 286d589497.
This commit is contained in:
saschawillems 2017-08-26 15:26:49 +02:00
parent d271098464
commit 6330ed9d94
3 changed files with 13 additions and 8 deletions

View file

@ -299,8 +299,6 @@ public:
sampler.minLod = 0.0f;
sampler.maxLod = 1.0f;
sampler.borderColor = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE;
sampler.compareEnable = true;
sampler.compareOp = VK_COMPARE_OP_LESS;
VK_CHECK_RESULT(vkCreateSampler(device, &sampler, nullptr, &offscreenPass.depthSampler));
prepareOffscreenRenderpass();