Commit graph

23,129 commits

Author SHA1 Message Date
nashmuhandes
bf64d6b9b6 Add missing localization for GLLIGHTMNU_PRECISEMIDTEXTRACE. Also some beautification reformatting in the MENUDEF 2025-03-08 22:11:18 +08:00
nashmuhandes
1c5cb1d1fb Make the file description look slightly nicer in Windows 2025-02-28 20:50:15 +08:00
dpjudas
92b08a5c18 Update to latest ZWidget 2025-02-27 02:54:04 +01:00
Magnus Norddahl
640a2b2c41 Cache all GLSL shader compilation 2025-02-26 01:47:07 +01:00
Ricardo Luís Vaz Silva
a4cc4ab9e2 fix pushconstants validation issues 2025-02-25 17:21:14 +01:00
Ricardo Luís Vaz Silva
32e22a7866 add missing padding to pushconstants 2025-02-25 17:21:14 +01:00
Magnus Norddahl
3aaf2cc639 Add SPIRV cache to VkShaderCache 2025-02-25 02:15:15 +01:00
Magnus Norddahl
41a345d399 Update shader builder code and add initial work on a shader caching class 2025-02-25 00:15:22 +01:00
Magnus Norddahl
7ba1f35142 Split GLSL compiler from shader module creation 2025-02-25 00:14:07 +01:00
nashmuhandes
65ade3e017 Apply scaled model normals fix from GZDoom (538f62a556) 2025-02-24 23:23:33 +08:00
RaveYard
163ebb5721 Fix mistake caused when moving constants 2025-02-22 10:15:15 +01:00
RaveYard
666f38ee71 Move constants from VkLightProber to DFrameBuffer 2025-02-22 10:15:15 +01:00
RaveYard
7dc050edb0 Refactor to reduce reallocations and copying 2025-02-22 10:15:15 +01:00
RaveYard
04195e8331 Minor refactor of lightprobe related code 2025-02-22 10:15:15 +01:00
RaveYard
8717076d96 attempt to fix collected amount etc. 2025-02-22 10:15:15 +01:00
RaveYard
daf3444200 Add autoaddlightprobes as a quick probe spawner ccmd 2025-02-22 10:15:15 +01:00
RaveYard
2dd7ad8eb2 WIP multiple probes support 2025-02-22 10:15:15 +01:00
RaveYard
88115cfedd Add CCMD addlightprobe and support simple binding of light probes to sides+sectors 2025-02-22 10:15:15 +01:00
Ricardo Luís Vaz Silva
46d6a5dfd0 fix 😓 2025-02-22 15:25:49 +08:00
RaveYard
4e9127c0a1 Fix shader compilation error 2025-02-20 15:14:51 +01:00
RaveYard
ac1da90d34 Add struct LightProbe 2025-02-20 15:14:51 +01:00
dpjudas
aca088d601 Add uniform for specifying the light probe 2025-02-19 02:16:21 +01:00
Ricardo Luís Vaz Silva
77f19ba6f5 initial work for ubershaders 2025-02-18 09:45:25 +01:00
Magnus Norddahl
81062ecebe Sample from the correct location 2025-02-17 17:06:09 +01:00
Magnus Norddahl
18ea5c9da7 Actually load the BRDF LUT texture 2025-02-17 16:45:20 +01:00
Magnus Norddahl
6ebc48f96c Fix PBR cubemaps being upside down 2025-02-17 15:53:23 +01:00
Ricardo Luís Vaz Silva
43ba3ad0a6 clean up comments 2025-02-17 02:34:45 +01:00
Ricardo Luís Vaz Silva
961e74e0fa add camera-facing midtexture shadows to dynamic lights, off by default due to fps hit 2025-02-17 02:34:45 +01:00
Ricardo Luís Vaz Silva
7c2b228c46 add uCameraNormal 2025-02-17 02:34:45 +01:00
RaveYard
08f41596be Fix upload of prefilterred maps 2025-02-17 02:33:16 +01:00
dpjudas
c13de68d4a Another attempt at swapping the order 2025-02-17 01:36:11 +01:00
dpjudas
85c8f931d4 Swap mipmap and side order when downloading 2025-02-17 01:07:16 +01:00
Magnus Norddahl
59f1d71361 Tone down how much light is contributed from the environment 2025-02-16 23:53:41 +01:00
Magnus Norddahl
48e769b635 Fix the cube map directions, hopefully 2025-02-16 23:20:33 +01:00
Magnus Norddahl
3f01630b8a Render environment probe at player position 2025-02-16 19:03:45 +01:00
Magnus Norddahl
c4c249cd7c Fix timer crash 2025-02-16 19:03:15 +01:00
Magnus Norddahl
513f90db3e Add VkLightprober to VulkanRenderDevice and fix the glsl compile errors 2025-02-16 13:37:40 +01:00
dpjudas
6bd629d640 Add function for rendering into environment map 2025-02-16 03:57:06 +01:00
Magnus Norddahl
bbaaa9a49d Add the nonuniformEXT qualifier for AMD hardware 2025-02-13 00:52:49 +01:00
Ricardo Luís Vaz Silva
4f6b3119e6 fix out-of-bounds array access 2025-02-09 01:48:43 +08:00
Ricardo Luís Vaz Silva
3f4c66681e more misc animation fixes 2025-02-09 01:48:31 +08:00
Ricardo Luís Vaz Silva
9d1f7f1bff support color fields as actor uniforms 2025-02-08 01:57:08 +08:00
nashmuhandes
3272a2f6db Tweak menu layout 2025-02-03 17:41:55 +08:00
nashmuhandes
c41ae8d7ab Actually add the new menu options, heh 2025-02-03 17:41:23 +08:00
nashmuhandes
899d40faba Add missing menu entries for new features 2025-02-03 17:39:39 +08:00
nashmuhandes
166f0cdc5b Add gl_fakemodellightintensity to allow adjusting the fake sunlight's intensity on models 2025-02-03 16:30:22 +08:00
Magnus Norddahl
7a59234bb4 Add lm_dynlights CVAR for running dynamic lights entirely in lightmaps 2025-02-01 21:21:33 +01:00
Magnus Norddahl
b8078fdb32 Replace wildcards with something that is faster overall and for debug builds in particular 2025-02-01 12:11:42 +01:00
nashmuhandes
87bda3d8d4 Remove bone component cache, VKDoom Edition 2025-01-30 21:54:29 +08:00
nashmuhandes
aba5cbf768 Revert "fix for vkdoom"
This reverts commit 5eb9a1095e.

Revert "upload bones 😅"

This reverts commit cc766311f7.

Revert "remove bone component cache to decrease memory consumption"

This reverts commit e2908ce0a3.
2025-01-30 20:44:14 +08:00