Graphics: Fix point light shadowmaps

This commit is contained in:
SirLynix
2022-12-08 18:28:17 +01:00
parent f8238a6e6c
commit 780359eb8b
2 changed files with 3 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ namespace Nz
auto& textureEntry = m_textureBindingCache.emplace_back();
textureEntry.texture = texture;
textureEntry.sampler = shadowSampler.get();
textureEntry.sampler = defaultSampler.get(); //< cube shadowmap don't use depth compare
}
auto& bindingEntry = m_bindingCache.emplace_back();