Commit graph

2,227 commits

Author SHA1 Message Date
Ricardo Luís Vaz Silva
8c3268ae1c pass actor to FModelRenderer::SetMaterial 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
24abcc18d1 deduplicate defines/layout block code 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
e246639085 implement per-map shaders
per-class shaders TODO
2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
102a189525 Remove dead code in FMaterial
not called anywhere
2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
57f4fb1d37 force zengine to be linked as a whole 2025-01-10 13:45:50 -05:00
Ricardo Luís Vaz Silva
c72bad053f add gl_wireframe and gl_wireframecolor 2025-01-09 21:53:28 +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
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
fee7fed1d0 add in/out varyings to materials in gldefs 2025-01-09 05:49:10 +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
e12d51c5a2 add default values, vec4 uniforms, and cvar uniforms to post-process uniforms 2025-01-06 19:21:21 -05: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
Eonfge
22690bbb76 Fix fatal error formatting
Based on this patch: https://aur.archlinux.org/cgit/aur.git/tree/0002-fix-format-security-error.patch?h=gzdoom
2025-01-06 11:01:20 -05:00
Rachael Alexanderson
f3b0c3ac5e
- Roll back filesystem changes. These were causing instabilities in the master branch that were interfering with development. 2025-01-04 11:27:21 -05: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
Rachael Alexanderson
d42e3b0037 - store current time in the save game node when saving a new game
- when overwriting a save force it to reposition itself in the list in case any of its details have changed
2025-01-01 17:11:12 -05:00
Rachael Alexanderson
902bf03c47 - implement new cvar save_sort_order - for now options are only 0 or 1 - 0 is alphabetical, 1 is descending by time (most recent first) 2025-01-01 17:11:12 -05: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
Rachael Alexanderson
d6e1097b85 - enable mipmapping in 2D 2024-12-26 04:12:06 -05:00
Ricardo Luís Vaz Silva
aa51ac7b6d only lightmap updated tiles once they're visible 2024-12-22 00:28:03 +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
Ricardo Luís Vaz Silva
bdddfcc80a allow nullptr with spriteid/textureid/translationid (for default parameters/etc) 2024-12-21 04:33:25 -05:00
Ricardo Luís Vaz Silva
d36fa3c36b add helper methods to Sound/SpriteID/TranslationID 2024-12-21 04:33:25 -05:00
Ricardo Luís Vaz Silva
eefad0764e fix TranslationID casting 2024-12-21 04:33:25 -05:00
Rachael Alexanderson
62381cc7de
- fix 1:1.2 minimizer function to work with actual 4:3 screens 2024-12-19 06:47:07 -05:00
Rachael Alexanderson
4963aea0e8
- add a 1:1.2 ratio min-scale mode 2024-12-19 05:53:50 -05:00
Magnus Norddahl
bd6101bf13 Fix crash if the BLAS turned out to be completely empty 2024-12-19 03:31:18 +01:00
Rachael Alexanderson
b85b7c18da
Merge branch '4.14' of c:/projects/gzdoom into gzd4-14-merge 2024-12-18 10:23:00 -05:00
Rachael Alexanderson
c2bce2760b
Merge commit 'e73969d' into gzd4-12-merge 2024-12-18 10:20:53 -05:00
Magnus Norddahl
acdf49ee7a Don't use glcycle_t 2024-12-17 00:39:38 +01:00
Magnus Norddahl
e30831a409 Clean up the ranges code a bit 2024-12-16 22:17:18 +01:00
Magnus Norddahl
0d87875003 Add some more null checks 2024-12-16 11:32:39 +01:00
Ricardo Luís Vaz Silva
b5b3fe1b5e
remove "DECORATE" from error string
* print warning count as well
* allow treating warnings as errors
2024-12-16 04:36:48 -05:00