Commit graph

360 commits

Author SHA1 Message Date
Magnus Norddahl
0a7108c3b1 Add lights 2023-10-17 18:29:27 +02:00
Magnus Norddahl
2d1c0acff2 Fix out of descriptor pool error 2023-10-17 18:28:45 +02:00
Magnus Norddahl
526110e188 Fix UV coordinates 2023-10-16 18:30:18 +02:00
Magnus Norddahl
9ed4723e6e Fix misc bugs 2023-10-16 17:37:26 +02:00
Magnus Norddahl
156ef319af Hook up the raytracing 2023-10-16 17:03:40 +02:00
Magnus Norddahl
7c1acb5075 Save lightmap lump 2023-10-16 16:46:35 +02:00
Magnus Norddahl
df010a5643 Add back BinFile 2023-10-16 16:46:16 +02:00
Magnus Norddahl
e9758d8d5f Add back lump writing code 2023-10-16 15:14:10 +02:00
Magnus Norddahl
4dd6b6977b Misc mesh build fixes 2023-10-11 19:44:09 +02:00
Magnus Norddahl
53d73780dd Move textureid to framework 2023-10-10 22:15:00 +02:00
Magnus Norddahl
2c6d4f6f22 Port over doom level mesh 2023-10-10 22:11:30 +02:00
Magnus Norddahl
1391957a42 More doom level mesh porting 2023-10-10 01:33:17 +02:00
Magnus Norddahl
0655d45025 Upgrade tarray.h to latest version from GZD 2023-10-10 00:51:57 +02:00
Magnus Norddahl
f905d37cd7 Port over more of DoomLevelMesh 2023-10-10 00:46:23 +02:00
Magnus Norddahl
3fa88a1447 More setup code 2023-10-06 00:43:13 +02:00
Magnus Norddahl
f8b8005d4a Add the shaders 2023-10-06 00:34:04 +02:00
Magnus Norddahl
0b09fa9793 Implement a basic VulkanRenderDevice 2023-10-06 00:08:43 +02:00
Magnus Norddahl
3572d81010 Minor adjustments 2023-10-05 23:08:54 +02:00
Magnus Norddahl
a9d1999b46 Init vulkan 2023-10-05 23:03:28 +02:00
Magnus Norddahl
642794e678 Replace mathlib with gzdoom equivalents for easier code exchanges between vkdoom and zdray
Import the lightmapper from vkdoom and bring in just enough infrastructure for it to build
2023-10-04 22:22:54 +02:00
Magnus Norddahl
1a4d2a783f Update zvulkan 2023-10-04 19:08:50 +02:00
nashmuhandes
baa1ead6e9 - Unify the custom sample distance variable names
- Fix wrong type for the sun color
2023-10-03 18:36:50 +08:00
Nash Muhandes
9b9663e3d0
Update README.md
- Update Marisa's name in the credits
- Get rid of the line breaks
- Update info about GPU tracing
2023-09-24 20:02:29 +08:00
nashmuhandes
3443793f79 Rename "static lights" to "lightmap lights" to accurately reflect its usage. 2023-09-24 19:51:02 +08:00
Magnus Norddahl
7af7737ffb Revert the revert of "Fix not clearing texture in the raytrace render pass" so one bug doesn't just replace another bug 2023-09-15 11:07:22 +02:00
RaveYard
37a6ccc799 Revert "Fix not clearing texture in the raytrace render pass"
This reverts commit bbd246bdc9.
2023-09-15 10:44:36 +02:00
RaveYard
5c0e9e0db2 Minor possible fixes 2023-09-15 10:44:36 +02:00
RaveYard
13178635b7 V2 format export initial implementation 2023-09-15 10:44:36 +02:00
nashmuhandes
c68e56ada0 Update README to include per-sidedef sample distance properties 2023-09-11 08:36:17 +08:00
Magnus Norddahl
bbd246bdc9 Fix not clearing texture in the raytrace render pass 2023-09-05 23:51:20 +02:00
RaveYard
280063ac6c Both LineDef and SideDef can now have lm_sampledist_... properties 2023-08-01 17:19:50 +02:00
Magnus Norddahl
0655ffd7f5 Slightly improve performance 2023-04-14 16:55:56 +02:00
Magnus Norddahl
74b81bc65a Fix crash for maps with vertices above 32768 2023-04-12 18:00:47 +02:00
Magnus Norddahl
08be3607ce Fix descriptor pool allocation error on AMD cards 2023-04-12 01:44:45 +02:00
Magnus Norddahl
c142f11248 Upgrade to latest version of zvulkan and hook up minAccelerationStructureScratchOffsetAlignment 2023-04-12 01:23:06 +02:00
Magnus Norddahl
b44e54743b Add sun direction and color to the lightmap lump 2023-04-06 15:55:06 +02:00
Magnus Norddahl
11c4e5900c Fix warning: result of comparison of constant -1 with expression of type 'uint16_t' is always true
Fix warning: illegal character encoding in string literal
2022-11-07 23:38:52 +01:00
Magnus Norddahl
1420e4f6d5 Fix missing vector include statement 2022-11-07 23:32:34 +01:00
Magnus Norddahl
5bf393364f Rewrite CMakeLists.txt 2022-11-07 23:24:24 +01:00
Magnus Norddahl
8427e4c98d Switch to using zvulkan 2022-11-07 21:36:27 +01:00
Magnus Norddahl
001a936994
Merge pull request #51 from MrRaveYard/pr_portal_pointlights
Full Portal Light Support
2022-10-31 14:52:25 +01:00
RaveYard
91c0871b0b Fix edge case where relativePosition of light is valid at 0,0,0 2022-10-31 11:07:56 +01:00
RaveYard
ea5b1a3cac Refactor light propagation 2022-10-31 11:07:56 +01:00
RaveYard
22f24e7993 Fix smoothing groups causing pixels to bleed over portals 2022-10-31 11:07:56 +01:00
RaveYard
1a94878e4e Move portal stuff from levelmesh.h to portal.h 2022-10-31 11:07:56 +01:00
RaveYard
364d71a24a Group together equal portals 2022-10-31 11:07:56 +01:00
RaveYard
0a9c2cf131 Implement sector groups 2022-10-31 11:07:56 +01:00
RaveYard
cb9416269e Initial implementation of recursive portal pointlight propagation 2022-10-31 10:57:34 +01:00
RaveYard
b003565ad2 Fix CheckAndMakePortal missing tagged sectors 2022-10-31 10:50:24 +01:00
RaveYard
e8e339c8f7 Fix typo in CreatePlanePortal 2022-10-31 10:44:02 +01:00