Commit graph

23,009 commits

Author SHA1 Message Date
Magnus Norddahl
d8c0e4284f Remove vcpkg because that garbage thing keeps failing builds... 2025-01-08 23:29:01 +01:00
Magnus Norddahl
bddf1a2548 Load a map 2025-01-08 23:29:01 +01:00
Magnus Norddahl
794cfd78c8 Process commandlets without always initializing the entire engine 2025-01-08 23:29:01 +01:00
Magnus Norddahl
5491aecd5f Add commandlets 2025-01-08 23:29:01 +01:00
Magnus Norddahl
79a8202121 Fix extern bool statement containing an assignment 2025-01-08 23:29:00 +01:00
Magnus Norddahl
46ad7f622c Fix compile errors 2025-01-08 23:29:00 +01:00
Magnus Norddahl
77b23a58f0 Boot vulkan without a surface 2025-01-08 23:29:00 +01:00
Magnus Norddahl
306303b9a6 Fix console colors not working before an iwad has been selected 2025-01-08 23:29:00 +01:00
Magnus Norddahl
f91b9e62d4 Link frameworks on macOS 2025-01-08 23:29:00 +01:00
Magnus Norddahl
c7e1eb5f78 Force linking of .obj files not directly referenced 2025-01-08 23:29:00 +01:00
Magnus Norddahl
a466fbd35a Create two executables - one for the game and one for the baking tool 2025-01-08 23:28:59 +01:00
Ricardo Luís Vaz Silva
1845de1428 allow omitting "material" for globalshader in gldefs 2025-01-09 05:49:10 +08:00
Ricardo Luís Vaz Silva
fee7fed1d0 add in/out varyings to materials in gldefs 2025-01-09 05:49:10 +08:00
Ricardo Luís Vaz Silva
0bbc0cd8b4 make sure cvar uniforms are replicated for every instance of global shader 2025-01-08 18:25:36 +08:00
Ricardo Luís Vaz Silva
65aef94671 improve global target choices 2025-01-08 18:25:36 +08:00
Ricardo Luís Vaz Silva
ea09ae1461 implement custom uniforms for material shaders 2025-01-08 18:25:36 +08:00
Ricardo Luís Vaz Silva
d23c727350 refactor custom uniforms in preparation for custom material uniforms 2025-01-08 18:25:36 +08:00
Ricardo Luís Vaz Silva
6a2ade1988 fix TMap 2025-01-08 18:25:36 +08:00
Ricardo Luís Vaz Silva
711f2b5f92 add custom vertex shaders 2025-01-08 18:25:36 +08:00
Ricardo Luís Vaz Silva
3a31008aa8 implement global shaders 2025-01-08 18:25:36 +08:00
Ricardo Luís Vaz Silva
5938204fa9 add default values, vec4 uniforms, and cvar uniforms to post-process uniforms 2025-01-07 00:42:50 +01:00
Ricardo Luís Vaz Silva
9073fb8501 add shadowMinQuality property and gl_light_shadow_max_quality CVar 2025-01-03 07:30:54 +01:00
Ricardo Luís Vaz Silva
e75d8d35eb move gl_light_shadow_filter from HWViewpointUniforms to VkShaderKey 2025-01-03 07:30:54 +01:00
Magnus Norddahl
55144b3330 Explicitly set the symbol options, image and pdb paths 2025-01-02 02:16:05 +01:00
Magnus Norddahl
c85b0096a2 Maybe we also need the image path 2025-01-02 01:49:44 +01:00
Magnus Norddahl
e5648eae9d Explicitly add the executable directory to the windbg search path 2025-01-02 01:23:18 +01:00
Magnus Norddahl
3cf479fff8 Check if PDB file can be found as it seem people either don't install it or windbg doesn't always use it? 2025-01-01 23:31:28 +01:00
Boondorl
3a179ec1c6 Make coronas array global
Correctly collect all coronas to be drawn across all view points
2025-01-01 23:12:48 +01:00
Boondorl
616d201dfc Updated fogball sorting
Take sector portals into account.
2025-01-01 23:12:48 +01:00
nashmuhandes
00f5e68268 Fix SSAO poking on top of fogballs 2025-01-02 03:22:01 +08:00
Boondorl
d3fe5a1946 Fixed corona appearing in wrong world position 2025-01-01 13:27:51 +08:00
Boondorl
4c5375c553 Fixed coronas not respecting static portals 2025-01-01 13:27:51 +08:00
Ricardo Luís Vaz Silva
9d9938cccc Fix cache while trace isn't moved to GPU
isn't the fastest or most memory efficient fix, but should hopefully only be temporary
2024-12-31 04:43:27 +08:00
Ricardo Luís Vaz Silva
728b6c0039 add portals/midtextures to ray-traced dynamic lights 2024-12-30 20:37:18 +01:00
Ricardo Luís Vaz Silva
f0efface7b deduplicate rayquery code 2024-12-30 20:37:18 +01:00
Ricardo Luís Vaz Silva
eab97f826d forgot these 😅 2024-12-30 01:18:46 +01:00
Ricardo Luís Vaz Silva
aa51ac7b6d only lightmap updated tiles once they're visible 2024-12-22 00:28:03 +01:00
nashmuhandes
ca61ae470f Affect Actors with the sun intensity 2024-12-21 17:48:17 +01:00
nashmuhandes
c2808809b7 Add customizable sunlight intensity (both to ZDRayInfo and ZScript) 2024-12-21 17:48:17 +01:00
nashmuhandes
22eb817db1 Don't save the lm_ao and lm_bounce CVARs as they're meant to be used during the baking step only, on top of being too slow for realtime use. 2024-12-21 18:57:20 +08:00
nashmuhandes
f455990b7b Bump the lightmap lump version to invalidate really old (ZDRay) lightmaps. 2024-12-21 18:43:07 +08:00
Ricardo Luís Vaz Silva
af5497c6dd force updated lights to ignore actor trace cache 2024-12-20 05:29:05 +01:00
Ricardo Luís Vaz Silva
d35195bded mark old tiles for update 2024-12-20 01:41:06 +01:00
Ricardo Luís Vaz Silva
46eab8409e mark tiles for update for flicker/pulse lights 2024-12-20 01:41:06 +01:00
Ricardo Luís Vaz Silva
bca75ef346 check if color changes for lightmap update 2024-12-19 15:34:58 +08:00
Ricardo Luís Vaz Silva
9bc8b50521 move condition to outside the loop
(better for debug builds)
2024-12-19 15:34:58 +08:00
Ricardo Luís Vaz Silva
79a7d53364 auto-mark tiles for update if a lightmap light moves or changes radius or toggles 2024-12-19 15:34:58 +08:00
Ricardo Luís Vaz Silva
ecf0382005 don't run 2d shadowmap for rt dynlights 2024-12-19 12:53:17 +08:00
Ricardo Luís Vaz Silva
5d35ae9b4d also do Actor Trace for non-lightmaplights if gl_light_shadows is 2 2024-12-19 12:53:17 +08:00
Magnus Norddahl
bd6101bf13 Fix crash if the BLAS turned out to be completely empty 2024-12-19 03:31:18 +01:00