Commit graph

704 commits

Author SHA1 Message Date
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
77b23a58f0 Boot vulkan without a surface 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
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
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
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
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
Magnus Norddahl
bd6101bf13 Fix crash if the BLAS turned out to be completely empty 2024-12-19 03:31:18 +01: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
Magnus Norddahl
e0a7e2e8cc Add build time to cpublasinfo 2024-12-15 22:42:24 +01:00
Magnus Norddahl
82e748cb49 Fix typo 2024-12-15 16:41:24 +01:00
Magnus Norddahl
e002697598 Add cpublasinfo ccmd 2024-12-15 16:30:19 +01:00
Boondorl
4d5bba8d02 Clean up decal behavior
Only update the mesh if a decal was truly created/destroyed
2024-12-14 05:40:45 +08:00
Magnus Norddahl
1004d6ae20 Exclude inactive triangles from subdivide 2024-12-12 20:18:27 +01:00
Magnus Norddahl
ab7c7cb465 Allocate from the start of the free lists 2024-12-12 20:08:38 +01:00
Magnus Norddahl
c46896599c Use the SSE2 version in debug builds as its faster when the optimizer isn't running 2024-12-12 20:08:08 +01:00
Magnus Norddahl
9729d8abc0 Fix median not getting initialized
Added some SSE2 code that wasn't faster unfortunately
2024-12-11 01:28:52 +01:00
Magnus Norddahl
6190ffecda Also expand the bbox for the TLAS tree 2024-12-10 23:12:12 +01:00
Magnus Norddahl
bc5bf8ca7b Increase the bounding box for numerical stability 2024-12-10 23:10:16 +01:00
dpjudas
55aa1d44eb Resize node buffer if too small 2024-12-08 04:40:24 +01:00
Boondorl
57202305d6 Added toggle for lm_dynamic 2024-11-02 09:20:23 +01:00
dpjudas
4fee895c2b Remove unused struct 2024-10-22 02:30:18 +02:00
dpjudas
dfbef085e6 Group lightmap variables and put polyobj walls in a dynamic lightmap atlas 2024-10-22 02:29:12 +02:00
Magnus Norddahl
c866937262 Fix upload bug and skip upload when RT cores are available 2024-10-21 20:50:25 +02:00
dpjudas
e7c2716191 Remove old node header node from upload code 2024-10-21 02:03:09 +02:00
dpjudas
9bf6e60021 Fix TLAS to BLAS links not pointing at the root node of the BLAS 2024-10-21 01:38:23 +02:00
dpjudas
8cbef52626 Fix typo making it rebuild every BLAS if level changes 2024-10-21 00:52:33 +02:00
Magnus Norddahl
1073bcfa69 Fix TLAS bug 2024-10-21 00:09:47 +02:00
dpjudas
4a425c4493 Add support for updating the CPU-side accelstruct used for actor tracing 2024-10-20 23:54:15 +02:00
Rachael Alexanderson
7980d351b7
Merge branch '4.13' of ../gzdoom into gz4.13.1-merge 2024-10-20 10:25:15 -04:00
Christoph Oelckers
769274656e
made FCommandLine::operator[] return a const char * and fixed two places where this triggered a compile error. 2024-10-19 08:06:53 -04:00
Magnus Norddahl
fee5e3a58b Fix lightmap lights not updating 2024-10-16 21:38:30 +02:00
Ricardo Luís Vaz Silva
c1442f1c21 clean up HWViewpointUniforms 2024-10-09 04:44:51 +02:00
Ricardo Luís Vaz Silva
159ae02a2a fix includes 2024-10-09 04:44:51 +02:00
Ricardo Luís Vaz Silva
04ee3c335e switch from uniform to shader keys 2024-10-09 04:44:51 +02:00
Ricardo Luís Vaz Silva
37a7907221 Allow setting light attenuation mode from mapinfo 2024-10-09 04:44:51 +02:00
Magnus Norddahl
7df842bbed Add the shaders needed to create convoluted PBR maps 2024-10-04 02:46:07 +02:00
Magnus Norddahl
c0bbe3a43a Hook up some more PBR stuff 2024-10-03 02:37:08 +02:00