SaschaWillems / Vulkan

C++ examples for the Vulkan graphics API
MIT License
10.18k stars 2.02k forks source link

Fix SSAO blur range #1122

Closed Vovan675 closed 2 months ago

Vovan675 commented 4 months ago

I think blur range should include last iteration. Otherwise it will be weight shifted by one texel.

SaschaWillems commented 4 months ago

Yeah, that's correct indeed. But updating the text shaders only doesn't suffice. The samples consume the combined .spv files, so they need to be updated too.