Commit graph

23,259 commits

Author SHA1 Message Date
RaveYard
de2cc0119c Fix missing incrementation of pipeline counter 2025-04-03 23:40:46 +02:00
RaveYard
52f797ccc1 modify traceShadow by extracting TraceDynLightRay/TraceAnyHit switching outside the for loop 2025-04-03 23:23:52 +02:00
RaveYard
c4f5f8d62d Add stat pipelines and print pipeline creation time 2025-04-03 23:02:36 +02:00
RaveYard
1ede453fa5 Wip optimize ubershader compilation time 2025-04-03 23:02:36 +02:00
Magnus Norddahl
ec93c8e7d9 Fix typo 2025-04-03 02:02:47 +02:00
Magnus Norddahl
cc7dea2093 Include the shader key in the push constants 2025-04-03 01:25:46 +02:00
Magnus Norddahl
bb4d4f1bc0 Add generalized shader code 2025-04-03 01:23:06 +02:00
Magnus Norddahl
c6344588c2 Update glslang to 15.2.0 2025-04-03 00:35:31 +02:00
RaveYard
9967cfb319 Fix shaderkey.glsl lightblendmode constants 2025-04-02 13:14:38 +02:00
RaveYard
0ede28b03d Workaround for a strange GLSL bug
It seems like GLSL compiler is incorrectly inlining 'texelFetch(int index, ...)' and thus implicitly casting sampler2D to int
2025-04-02 13:14:38 +02:00
dpjudas
178d486b6f Fix fogboundary compile error 2025-03-25 09:33:21 +01:00
Magnus Norddahl
1ba43909f9 Lightmap ambient occlusion is now per default ENABLED for all lightmap maps (use ZDRayInfo actor to turn it off).
Lightmap bounces are now per default DISABLED for all light maps (use ZDRayInfo to turn it on).
The user can explicitly force either off by using the lm_ao or lm_bounce cvars.
2025-03-23 00:30:31 +01:00
Magnus Norddahl
3313baad6b Use shader specialization constants 2025-03-22 15:12:07 +01:00
Magnus Norddahl
976c18f3a9 Suppress another warning 2025-03-22 13:02:21 +01:00
dpjudas
5e22b07db2 Update to latest zvulkan 2025-03-22 04:44:33 +01:00
Magnus Norddahl
4e78ba469c Add VMCallScript template for calling ZScript functions with type checking 2025-03-19 22:15:29 +01:00
Magnus Norddahl
cc8681a9aa Fix memory leak in mixins 2025-03-16 18:54:35 +01:00
Magnus Norddahl
f34cce5614 Replace RectPacker with a version that can do dynamic allocations 2025-03-16 18:42:49 +01:00
RaveYard
0c53fbe174 Minor refactor of lightmap loading code 2025-03-15 20:32:04 +01:00
Dileep V. Reddy
6c93c3d564 Allow portal rendering and sky rendering (with stencils) and reflective flats with OoB and Ortho viewpoints. Works with r_radarclipper too. 2025-03-13 03:07:46 +08:00
nashmuhandes
51bd612f6f Fix ZScript version 2025-03-13 03:02:57 +08:00
nashmuhandes
799011d327 Merge branch '4.14.1' of https://github.com/ZDoom/gzdoom 2025-03-13 03:00:11 +08:00
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
Rachael Alexanderson
ac58779e28
- renormalize normals on scaled models
Some checks failed
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 12 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 9 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 15 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
g4.14.1
2025-02-27 13:08:20 -05:00
Rachael Alexanderson
5fc1d36cf3
- fix classic doom.doom filter 2025-02-27 13:07:28 -05:00
Rachael Alexanderson
44494bfdc3
- fix erroneous check in previous commit 2025-02-27 13:07:18 -05:00
Rachael Alexanderson
cf0ec91a53
- don't load idres24.wad in multiplayer games by default; allow override with cvar setting 2025-02-27 13:07:09 -05: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
Rachael Alexanderson
5bfb095078
- language update 2025-02-22 12:02:46 -05: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
Ricardo Luís Vaz Silva
0d0469bd05
don't allow changing out-ness of parameters in virtual overrides 2025-02-21 07:18:15 -05:00
marrub
dcbd66a528
add default cvar getters 2025-02-21 07:18:03 -05:00
Boondorl
5a5bed5c31
Added FindClass
Allows for classes to be looked up during run time without having to use string casting.
2025-02-21 07:17:49 -05:00
RaveYard
4e9127c0a1 Fix shader compilation error 2025-02-20 15:14:51 +01:00