Novum / vkQuake

Vulkan Quake port based on QuakeSpasm
GNU General Public License v2.0
1.85k stars 225 forks source link

Ray traced lightmap shadows #611

Closed Novum closed 1 year ago

Calinou commented 1 year ago

In case you read the README and was surprised by this, it's not full path tracing in the style of https://github.com/sultim-t/vkquake-rt. There are several limitations with this approach, but it's much faster than vkquake-rt could ever hope to be. You can actually use this at native 4K (or even more with SSAA) when targeting high framerates :slightly_smiling_face:

Screenshots/videos for those interested:

No RT shadows

vkquake0000 webp

With RT shadows

vkquake0001 webp

No RT shadows

vkquake0003 webp

With RT shadows

vkquake0002 webp

No RT shadows

vkquake0005 webp

With RT shadows

vkquake0004 webp

No RT shadows

https://user-images.githubusercontent.com/180032/225763462-01667c4f-2b2e-4b3b-a2c5-6e375571fcac.mp4

With RT shadows

https://user-images.githubusercontent.com/180032/225763471-58592723-fa61-46cb-8672-d41a49fe2699.mp4

Novum commented 1 year ago

I never said this is path tracing. And I think vkquake-rt is ugly as sin.