Commit graph

14 commits

Author SHA1 Message Date
Magnus Norddahl
94eb96a235 Fix trace bug for when rayquery is not available 2024-02-10 00:55:29 +01:00
Magnus Norddahl
c1d0963da4 Rewrite the GLSL ray trace code so it does not use global variables!!
Fix portals not working
2024-02-09 12:08:16 +01:00
Magnus Norddahl
c817cba606 Clean up the upload code 2024-02-01 13:08:38 +01:00
Magnus Norddahl
7bc2ed5436 Remove the submesh class as that caused more problems than it solved 2024-01-29 21:56:42 +01:00
Magnus Norddahl
e7e89fce09 Make the vk_rayquery cvar a bit more robust 2024-01-21 14:25:08 +01:00
Kevin Caccamo
d7dcf60c7b Use EXTERN_CVAR instead of extern
Because vk_rayquery is a CVAR and needs this treatment
2024-01-21 14:15:17 +01:00
Kevin Caccamo
fe456eaded Attempt to fix compilation errors on other platforms
The compilation failed because there was more than one vk_rayquery variable (A CVAR and a hard-coded global true value), so I removed the latter.
2024-01-21 14:15:17 +01:00
Magnus Norddahl
d181774e02 Fix shadows not working for non-rt render path 2024-01-17 13:27:30 +01:00
Magnus Norddahl
c1f38b18c4 Put all the pipeline barriers in the same function and use a new instance buffer each time the TLAS is updated 2023-12-26 04:31:02 +01:00
Magnus Norddahl
48b6a7ec46 Split level mesh surface from lightmap tiles as we have multiple surfaces per tile 2023-12-26 04:31:00 +01:00
Magnus Norddahl
412be46e08 Misc surface and lightmapper related cleanup and renaming 2023-12-26 04:30:59 +01:00
Magnus Norddahl
75e33c4923 Move portal creation out of the submesh 2023-12-26 04:30:58 +01:00
Magnus Norddahl
486a08e882 Create VkLevelMeshUploader 2023-12-26 04:30:58 +01:00
Magnus Norddahl
ed7da1ae25 Moving files 2023-12-26 04:30:58 +01:00
Renamed from src/common/rendering/vulkan/accelstructs/vk_levelmesh.cpp (Browse further)