Revert "Modifications to shadowmapping example"
This reverts commit 286d589497.
This commit is contained in:
parent
d271098464
commit
6330ed9d94
3 changed files with 13 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue