Commit graph

23,031 commits

Author SHA1 Message Date
Magnus Norddahl
d435c9c144 Fix crash when switching from a level with lightmaps to one without 2025-01-19 12:36:40 +01:00
Ricardo Luís Vaz Silva
54b8dbc0b3 stop crash with vec3 uniforms
(remove legacy bullshit)
2025-01-13 10:15:53 +08:00
Magnus Norddahl
6ba2cff8cb Replace the savelightmap and deletelightmap ccmds with vktool 2025-01-12 20:03:19 +01:00
Magnus Norddahl
5879c0dc79 Support directories for the -iwad parameter 2025-01-12 19:57:29 +01:00
Magnus Norddahl
303a7c27b0 Bake the lightmap 2025-01-12 15:24:42 +01:00
Ricardo Luís Vaz Silva
1584e8c5fd remove lightmap uv from material 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
19b395b296 fix indentation 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
f4b7c3933e let cpu traces pass through non-opaque surfaces 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
5b1c1db0e9 move PBR and SPECULAR handling into SetMaterialProps 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
5eb58d2212 move LightmapCoord out of SetMaterialProps for better compat with older shaders 2025-01-12 13:19:12 +01:00
Ricardo Luís Vaz Silva
73e17842d3 remove AActor from common 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
fcf4c9d07e implement actor uniforms 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
d4d379c476 parse actor actor uniform field bindings 2025-01-11 11:23:42 +01:00
Ricardo Luís Vaz Silva
91300ac3b4 implement per-class globalshaders 2025-01-11 11:23:42 +01:00
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
3ae7bf3911 allow lightmap coords to be modified by SetupMaterial 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
Rachael Alexanderson
71cafec63b
- allow defcvars from pwad files 2025-01-10 05:22:03 -05:00
Ricardo Luís Vaz Silva
c72bad053f add gl_wireframe and gl_wireframecolor 2025-01-09 21:53:28 +01:00
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