Commit graph

21,390 commits

Author SHA1 Message Date
dpjudas
84753ffaa7 Fix descriptor pool out of memory error 2023-10-17 01:42:46 +02:00
Magnus Norddahl
5e3d6e39a0 Merge gl_light_shadowmap and gl_light_raytrace cvars as gl_light_shadows
Rename gl_shadowmap_filter to gl_light_shadow_filter as it applies to raytraced shadows as well
2023-10-15 16:14:00 +02:00
Magnus Norddahl
9bcef148bf Minor menu tweaks and display the vulkan device name in the menus 2023-10-15 15:23:23 +02:00
Magnus Norddahl
6d6599189b Rename STARTLOGO to BOOTLOGO 2023-10-10 13:46:33 +02:00
Magnus Norddahl
f532975754 Fix crash on maps with polyobjs 2023-10-09 23:32:48 +02:00
Magnus Norddahl
f9dcd98695 Forgot to commit the logo 2023-10-09 23:23:36 +02:00
Magnus Norddahl
709563490f Enable the generic start screen and adjust its graphics to show a basic engine logo with a progress bar 2023-10-09 16:33:23 +02:00
dpjudas
411b281e7c Remove multithreading RenderState as that seemed to be a poor approach 2023-10-09 03:20:19 +02:00
Magnus Norddahl
ac1680c7a2 Don't show the startup window. This isn't zdoom and it isn't 1998. :) 2023-10-07 23:35:47 +02:00
Magnus Norddahl
6876f0f84e Make some visual adjustments to the launch dialog 2023-10-07 22:49:33 +02:00
Magnus Norddahl
9799bd70d1 Add vk_rayquery CVAR and prevent the shader from looping until the OS kills the entire process! 2023-10-04 20:11:09 +02:00
Magnus Norddahl
abf024a157 Fix the sunlight tracing bug 2023-10-04 03:31:29 +02:00
Magnus Norddahl
ef3074edfe Add lm_blur debugging cvar 2023-10-04 03:31:08 +02:00
Magnus Norddahl
a3820a0e1e Extend the baking border to avoid blur from neighbor tiles and fix unmap assert if the shader compile fails 2023-10-04 01:49:03 +02:00
Magnus Norddahl
f2cfcc4635 Fix tile clipping 2023-10-04 01:24:20 +02:00
Magnus Norddahl
bbf73c2766 Apply surface angle to sun light 2023-10-04 00:46:29 +02:00
Magnus Norddahl
4f86a0ba81 Control ambient occlusion, sunlight and softshadows via cvars 2023-10-04 00:24:32 +02:00
Magnus Norddahl
697e7982a7 Turn off lightmaps for levels that have none 2023-10-03 18:24:11 +02:00
nashmuhandes
17286a6d19 Fixed wrong type for the sun color in the UDMF specs 2023-10-03 18:30:44 +08:00
nashmuhandes
bb347e1c69 Unify the custom sample distance variable names 2023-10-03 18:18:47 +08:00
nashmuhandes
ba023efe73 Update ZDRay UDMF specs and remove deleted features. 2023-10-03 17:59:06 +08:00
Magnus Norddahl
bcea260f33 Fix misc bugs related to the dynamic lightmap and polybsp lines in the lightmapper 2023-10-02 02:40:40 +02:00
Magnus Norddahl
cc8ba3b6f3 Simplify code 2023-10-01 22:11:05 +02:00
Magnus Norddahl
241a2aa621 Split CreateSideSurfaces into multiple functions 2023-10-01 22:09:18 +02:00
Magnus Norddahl
be2ed695c8 More SetSideTextureUVs adjustments 2023-10-01 15:17:05 +02:00
Magnus Norddahl
70e0e85764 Remove CreateSurfaceTextureUVs 2023-10-01 14:56:01 +02:00
Magnus Norddahl
c6d03f8660 Fix U texture calculation 2023-10-01 13:37:44 +02:00
Magnus Norddahl
be81f74954 Turn on backface culling 2023-10-01 13:08:57 +02:00
Magnus Norddahl
864925df25 More clean up 2023-10-01 12:52:23 +02:00
Magnus Norddahl
4306d2d3d8 Fix using wrong light list for 3d floors 2023-10-01 00:27:22 +02:00
Magnus Norddahl
0c0ca70b28 Remove dead code 2023-09-30 23:17:22 +02:00
Magnus Norddahl
925e0b114d Remove unused MeshUVIndex array 2023-09-30 22:58:37 +02:00
Magnus Norddahl
61635772fe Remove XFloorToSurface and XFloorToSurfaceSides as they aren't needed 2023-09-30 22:56:10 +02:00
Magnus Norddahl
e2e0a78a2b More code cleanup 2023-09-30 22:24:24 +02:00
Magnus Norddahl
b5095a4790 Group LightList variables 2023-09-30 21:46:27 +02:00
Magnus Norddahl
7bc52386f9 Make doom specific surface fields private to doom 2023-09-30 21:33:07 +02:00
Magnus Norddahl
4336f0e58d Remove warning 2023-09-30 21:30:34 +02:00
Magnus Norddahl
6ec58006ad Fixed crash when second submesh is empty 2023-09-30 13:19:33 +02:00
Magnus Norddahl
757320c5bc Fix node buffers not working for the rayquery polyfill shader path
Rearrange how the upload code is done for the level mesh
2023-09-30 01:31:07 +02:00
Magnus Norddahl
40509ef845 Move BufferTransfer class to zvulkan 2023-09-30 01:28:41 +02:00
Magnus Norddahl
4e8e3aa546 Add soft shadows the lightmapper 2023-09-28 22:32:53 +02:00
Magnus Norddahl
ef0fb85103 Fix some image transition errors 2023-09-28 21:33:17 +02:00
Magnus Norddahl
4dbe9bacc0 Make shadows slightly softer and fix sampling one time too many 2023-09-27 01:42:20 +02:00
Magnus Norddahl
d132a6842f Use vogel disk sampling for the raytraced soft shadows and reduce the number of samples used for each quality mode 2023-09-27 01:03:05 +02:00
Magnus Norddahl
2d2fb5efaa Fix crash if there are no surfaces in the mesh 2023-09-27 00:29:13 +02:00
Magnus Norddahl
987421451f Remove global variable return value hacks! 2023-09-26 23:04:12 +02:00
Magnus Norddahl
743ba922b8 Split frag_raytrace.glsl into multiple files as it has become completely unreadable 2023-09-26 22:56:01 +02:00
Magnus Norddahl
bfdca1a069 Implement dynamic update of the acceleration structure 2023-09-26 18:10:45 +02:00
Magnus Norddahl
2b7394cbb1 Update the dynamic submesh with poly lines 2023-09-26 00:06:10 +02:00
Magnus Norddahl
65929d021f Add support for multiple meshes (DoomLevelSubmesh) 2023-09-25 23:28:49 +02:00