Commit graph

23,501 commits

Author SHA1 Message Date
Magnus Norddahl
5e7b9e35c9 Fix btsx e1 map01 crash 2025-07-22 04:19:16 +02:00
Dileep V. Reddy
20de33b418 Old stencil update created a new portal rendering bug. Found a way to fix all (reverting stencil and reinit state stuff while drawing caps). 2025-07-21 11:54:55 +08:00
Magnus Norddahl
3e6943fb4f Code for building a lightprobe AABB tree 2025-07-20 07:54:33 +02:00
dpjudas
e5db8d998a Make uLightProbeIndex take precedence over probemap, if specified 2025-07-19 21:14:55 +02:00
Magnus Norddahl
1efa5b19cd Add tile world position information to lightmapper copy pass 2025-07-19 02:28:19 +02:00
Magnus Norddahl
8faa4e65bc Create probemap texture for every lightmap atlas texture 2025-07-18 19:28:57 +02:00
Magnus Norddahl
9e8d76cc1e Prepare pbr shader to find the closest light probes from a texture 2025-07-18 16:39:14 +02:00
Magnus Norddahl
6abe93a020 Add support for allocating and freeing slots in the bindless texture set 2025-07-18 16:37:02 +02:00
Magnus Norddahl
a9c1fdf23a Add specular highlights to sunlight 2025-07-17 02:52:28 +02:00
Magnus Norddahl
924a44e94d Change gl_raytrace back to its direct ray tracing 2025-07-16 09:33:42 +02:00
Magnus Norddahl
36be6e464c Fix lightmap UV clamp bug 2025-07-16 09:08:10 +02:00
Magnus Norddahl
a42e322aa0 Seems sprites can have no actor 2025-07-10 06:34:00 +02:00
Magnus Norddahl
d0dc14c2c7 Add a brightness multiplier for PBR lights to make it closer match classic light model brightness 2025-07-10 05:57:58 +02:00
Magnus Norddahl
b285d35d80 Link lightprobe targets on map load 2025-07-10 03:18:44 +02:00
Magnus Norddahl
ed0db43eaa Add PBR lightprobe thing and always bake probes if encountered 2025-07-10 03:10:15 +02:00
Magnus Norddahl
e29e1578bb Use the sector light probe for the sprites 2025-07-10 01:25:12 +02:00
Magnus Norddahl
7f77dc3d70 Bake probes on the GPU without downloading them to system memory
Only apply probes after a full pass has completed
Stop baking after 5 iterations
2025-07-10 01:03:30 +02:00
Magnus Norddahl
50183606d2 Correctly display the light probe locations 2025-07-09 15:44:04 +02:00
Magnus Norddahl
ad1d8fe90a Add r_showlights for visualizing where light sources and probes are 2025-07-09 15:32:21 +02:00
Magnus Norddahl
9105bf3fb1 Seems we are attempting to use the probes before we have baked textures for them 2025-07-09 13:39:32 +02:00
Magnus Norddahl
7409efd44d Fix light probe uploads 2025-07-08 14:29:28 +02:00
Magnus Norddahl
af6ec929cc Move lightmap atlas textures and light probes to the bindless textures array as its impossible to predict up front how many we need 2025-07-08 02:59:10 +02:00
Dileep V. Reddy
8d1a2c39f4 Squashing a non-visual rendering bug in stacked sector portals and reflective flats. 2025-07-07 22:44:37 +02:00
Magnus Norddahl
a81934810e Turn off RT cores again for the AMDVLK driver. Keeping it enabled for the Mesa variant that doesn't seem to have the problem.
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 9 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 12 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | 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 / Update Latest successful build (push) Has been cancelled
v25.6.0
2025-06-25 22:23:56 +02:00
Magnus Norddahl
648b94076f Special thanks to Khronos for just casually throwing in memory alignment requirements in the auto-generated test suite section of the spec. 2025-06-25 21:35:08 +02:00
Magnus Norddahl
523aaedecf Toy with raytracing 2025-06-24 21:20:48 +02:00
Magnus Norddahl
d1c6fbe61f Misc lightmapper adjustments 2025-06-24 15:04:16 +02:00
Magnus Norddahl
b3c2209c47 Stack atlas shelves horizontally rather than vertically 2025-06-24 13:00:57 +02:00
dpjudas
e1ec7b2d85 Add partner subsectors to surface list for each subsector 2025-06-24 04:04:29 +02:00
Magnus Norddahl
10a8c85c1f Polyobjs can't use the sidedef light list 2025-06-23 22:21:47 +02:00
Magnus Norddahl
8220991e10 Fix polyobj using invalid vertices in the level mesh 2025-06-23 22:01:42 +02:00
Magnus Norddahl
e5dd219f56 Workaround AMD driver crash by moving USE_RAYTRACE_PRECISE to a define instead of a specialization constant 2025-06-22 09:32:14 +02:00
Magnus Norddahl
c8509d000c Fix some warnings reported by gcc 2025-06-22 08:01:47 +02:00
Magnus Norddahl
6270d51f6f Validation layer says the fragment shader library needs to know the multisampling sample count 2025-06-22 07:08:56 +02:00
Magnus Norddahl
0d7abc52a4 Fix linear depth image transition validation error 2025-06-22 06:57:17 +02:00
Magnus Norddahl
045deae316 Newer version of the vulkan SDK does not use pipes in the debug message output anymore 2025-06-22 06:50:33 +02:00
nashmuhandes
8a8764991a Move the version label on the launcher out of the banner area, to avoid visual clashing (the label might be unreadable, depending on the colors used on the banner graphic, if it ever gets updated) 2025-06-21 17:05:34 +08:00
Ricardo Luís Vaz Silva
b1ba81bfcf fix cpu levlemesh 2025-06-19 04:42:12 +02:00
Magnus Norddahl
7f06d3d222 Fix stale pointers when the mesh arrays get resized 2025-06-13 15:21:50 +02:00
nashmuhandes
8def045ab8 Rename this to make more sense 2025-06-13 12:59:32 +08:00
nashmuhandes
beb6842e94 Remove redundant readonly qualifier 2025-06-13 12:57:02 +08:00
nashmuhandes
a39c84a77a Define the shadow casting style on an Actor using a property. Currently only for lightmaps. 2025-06-13 12:57:02 +08:00
nashmuhandes
814ef6370e Add missing namespace checks 2025-06-13 03:52:36 +08:00
Magnus Norddahl
ad4a923cc9 Remove the mesh limits and resize the GPU buffers as needed 2025-06-11 23:13:07 +02:00
Magnus Norddahl
03d0177fc9 Oops, wrong value suggested for vk_amd_driver_check 2025-06-11 18:46:48 +02:00
Magnus Norddahl
772b4629e1 Put the AMD driver check behind a CVAR 2025-06-11 18:40:01 +02:00
nashmuhandes
c40a36ea7c Allow lm_dynamic to be able to set level-wide in ZDRayInfo 2025-06-12 00:23:36 +08:00
Ricardo Luís Vaz Silva
d55409645f iterate over non-thinking statnums for static models 2025-06-11 22:46:31 +08:00
nashmuhandes
ec9e5db3e3 Enable lightmapped models by default, but keep CVar-gating as a debugging option 2025-06-11 13:18:49 +08:00
Ricardo Luís Vaz Silva
d42ebe9760 limit levelmesh models to StaticMapModel class 2025-06-11 03:55:34 +02:00