Commit graph

1483 commits

Author SHA1 Message Date
Robert Beckebans
63fe4a167a Sort and render shadows into shadowmap atlas 2022-03-31 18:42:52 +02:00
Robert Beckebans
52545c8230 Shadow atlas preparations 2022-03-30 12:19:06 +02:00
Robert Beckebans
361c0292ec Added missing tonemapping vertex shader 2022-03-30 12:13:43 +02:00
Robert Beckebans
77a73a2cd2 Fixed compile and runtime problems 2022-03-30 12:09:22 +02:00
Robert Beckebans
a18d2609ce Merge branch 'master' into 635-nvrhi1 2022-03-30 12:08:40 +02:00
Robert Beckebans
b4077053bb Added missing TonemapPass.h/cpp files 2022-03-29 15:26:16 +02:00
Robert Beckebans
144ce1dab9 Disabled FullscreenFXManager::Process() post processing effects #647 2022-03-29 15:25:25 +02:00
Robert Beckebans
cf128e42c8 Fixed total frame GPU time query 2022-03-24 19:28:10 +01:00
Robert Beckebans
4e776840d9 Implemented NVRHI timer queries 2022-03-24 18:22:41 +01:00
Stephen Saunders
308d0138cb sound/OpenAL/AL_CinematicAudio.cpp: Zero out music buffer on shutdown 2022-03-23 23:17:06 +01:00
Robert Beckebans
ff29a5dbd4 Perf: Only write constant buffer if it has changed 2022-03-23 21:13:06 +01:00
Robert Beckebans
62429d8f46 Optimized perf by fixing several issues with the GPU<->CPU syncing 2022-03-23 20:22:05 +01:00
Robert Beckebans
d4f1d99bd7 Some work on GPU Skinning and Vulkan debugging 2022-03-22 20:46:44 +01:00
Robert Beckebans
fe80d08eb0 Fixed crash with NVRHI context 2022-03-22 12:05:11 +01:00
Robert Beckebans
51d317543c Sync NVRHI branch by SP 2022-03-22 11:16:44 +01:00
Davide Beatrici
d88fa4f694 cm/CollisionModel: Initialize "material" and "id" fields in "contactInfo_t"
The Dark Mod only does it in idCollisionModelManagerLocal::ContentsTrm().

Prey only initializes "id", in idCollisionModelManagerLocal::Translation().
2022-03-18 03:11:35 +01:00
Robert Beckebans
ccd5086d20 Attempt to implement DrawStencilShadowPass 2022-03-16 17:43:55 +01:00
Robert Beckebans
51294e6549 Small vertex cache cleanup 2022-03-16 15:24:08 +01:00
Robert Beckebans
00612732d4 Fixed mirrors 2022-03-16 13:32:19 +01:00
Robert Beckebans
24853acc45 GL_State cleanup. Fixed most GUI rendering problems 2022-03-16 12:20:58 +01:00
Robert Beckebans
0eb9b97471 Trying to use default samplers for all unknown material stages 2022-03-15 18:57:47 +01:00
Robert Beckebans
85ff5d2a66 Use FataError for NVRHI errors so we get an small info window later on 2022-03-15 17:06:36 +01:00
Robert Beckebans
07bef6e114 Fixed linear RGB -> sRGB gamma ramp after tone mapping 2022-03-15 16:58:07 +01:00
Robert Beckebans
91ae3aa3ed Sync NVRHI branch by SP 2022-03-15 11:41:56 +01:00
Davide Beatrici
229496cffb sound/OpenAL/AL_CinematicAudio.cpp: Remove address check against array
neo/sound/OpenAL/AL_CinematicAudio.cpp:246:6: warning: address of array 'this->alMusicBuffercin' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if( alMusicBuffercin )
        ~~  ^~~~~~~~~~~~~~~~
2022-03-15 09:30:57 +01:00
Robert Beckebans
c336da5ffd Optimized ShadowMapPass 2022-03-14 19:20:23 +01:00
Robert Beckebans
69a27458a0 Fixed Imgui rendering 2022-03-14 16:34:38 +01:00
Robert Beckebans
274766f5d5 Mars City 1 works, disabled Binding/Sample Caches 2022-03-14 14:00:42 +01:00
Robert Beckebans
59349e88f3 Removed obsolete samplers from lightgrid/envprobe shaders 2022-03-14 10:47:20 +01:00
Robert Beckebans
851e8179bb Fixed binding layout for bumpyenvironment shaders 2022-03-14 10:03:13 +01:00
Robert Beckebans
fd7802dfb4 Sync NVRHI branch by SP 2022-03-14 10:00:30 +01:00
Robert Beckebans
827bb275d6 Fixed cascaded shadowmap rendering 2022-03-12 11:38:21 +01:00
Robert Beckebans
21ce622907 Run garbage collection between render passes 2022-03-12 11:28:55 +01:00
Robert Beckebans
e85851991b Fixed skybox shader 2022-03-12 11:28:34 +01:00
Robert Beckebans
52d20500d7 Outcommented unused renderpasses 2022-03-12 10:14:05 +01:00
Robert Beckebans
8f97eb6973 Removed obsolete RBDoom 1.1 ambient_light shader 2022-03-11 18:18:02 +01:00
Robert Beckebans
f1a499093f Only add valid entries to the binding sets 2022-03-11 18:17:31 +01:00
Robert Beckebans
a63c5ba5f1 Got point light shadowmaps working 2022-03-11 12:56:07 +01:00
Robert Beckebans
67a0768560 Fixed sRGB and screen size problems with the DX12 device manager 2022-03-11 11:44:07 +01:00
Robert Beckebans
fc0e8e7c07 Use RGB565 -> RBGA8 loading hack like on Apple 2022-03-10 20:26:29 +01:00
Robert Beckebans
01a86e2b3d Fixed flash light shadow maps 2022-03-10 20:20:48 +01:00
Robert Beckebans
529d91f611 Some spot light shadowmap debugging 2022-03-10 19:42:59 +01:00
Robert Beckebans
28c756b1d7 Don't resize Framebuffers after device shutdown 2022-03-10 19:42:43 +01:00
Robert Beckebans
9cb65c4fcf Don't reload intrinsic images 2022-03-10 19:42:06 +01:00
Robert Beckebans
19f38c9a83 Renderer can load the test_box.map 2022-03-09 21:31:40 +01:00
Robert Beckebans
6ae1f07e95 Synced with Steve's latest NVRHI code 2022-03-09 20:40:15 +01:00
Robert Beckebans
5b98d387ce Fixed compiling of the Vulkan backend 2022-03-06 10:26:37 +01:00
Robert Beckebans
219033e26a Fixed black screen after reloadImages #621 2022-03-06 10:10:18 +01:00
Robert Beckebans
2ce90cf97b Applied Astyle 2022-03-06 08:59:13 +01:00
Robert Beckebans
d212e5b948 Merge remote-tracking branch 'SRSaunders/master' 2022-03-06 08:34:02 +01:00
Robert Beckebans
67a5e99597 Smaller merge changes with master 2022-03-06 08:32:26 +01:00
Robert Beckebans
e3101a6b05 Added Zoomap categories railing, pipe and ladder and changed it to look for .bobj and .bdae files 2022-03-05 18:55:30 +01:00
Robert Beckebans
f1668b7db8 Stencil shadows work again (thanks to Stephen Pridham), Renderer Sync #395 2022-03-05 18:27:27 +01:00
Stephen Saunders
1ac9baca5d Tiny fix for printing Bink audio stream sample format 2022-03-03 16:31:49 -05:00
Stephen Saunders
8f474b9cb4 Tiny fix for printing RoQ cinematic filename 2022-03-03 11:59:32 -05:00
Stephen Saunders
bd3c82c930 Align frame logic for Cinematic decoders (ffmpeg, Bink, RoQ), use correct shaders, fix bugs in RoQ looping and testVideo cmd 2022-03-02 20:49:26 -05:00
Robert Beckebans
5ebbbf32e4 Added support for the prototype.wad in the convertMapQuakeToDoom cmd 2022-03-02 17:47:05 +01:00
Robert Beckebans
6d7ebabcbf Fixed a divide by zero bug in the convertMapToValve220 cmd 2022-03-02 09:27:09 +01:00
Robert Beckebans
daf5ed43c0 Export FGD files to base/_tb/fgd/*.fgd 2022-02-27 17:26:58 +01:00
Robert Beckebans
3de739ae32 Added small hack to load autogenerated genmodel_ entities 2022-02-27 16:58:25 +01:00
Robert Beckebans
920df3df63 Tweaked export to TrenchBroom cmds with proxymodels 2022-02-27 13:56:14 +01:00
Stephen Saunders
69be2f1e05 Enabled RoQ & ffmpeg decoders in testVideo cmd, fixed RoQ looping with ffmpeg decoder 2022-02-26 18:51:01 -05:00
Robert Beckebans
67aaf93af8 Added 2D Bin Packing library 2022-02-26 18:48:15 +01:00
Robert Beckebans
5368eb5521 Added more categories to makeZooMapForModels cmd 2022-02-26 15:53:14 +01:00
Robert Beckebans
60d7801780 Added category sorting to makeZooMapForModels cmd 2022-02-26 15:29:39 +01:00
Robert Beckebans
75d55a7ed3 Tweaked makeZooMapForModels cmd with better sorting 2022-02-25 22:14:45 +01:00
Stephen Saunders
c4bc217d26 Linux case sensitivity hack for opening RoQ files with ffmpeg 2022-02-25 01:13:54 -05:00
Robert Beckebans
9cc5fa7a3a Write labels above model groups in zoo maps 2022-02-24 22:14:40 +01:00
Stephen Saunders
27c1fe476a Close all ffmpeg contexts, remove packet queue, support ffmpeg RoQ decoding with audio 2022-02-24 02:04:30 -05:00
Robert Beckebans
cbc9a31b74 Added cmd makeZooMapForModels 2022-02-23 22:52:23 +01:00
Stephen Saunders
f24d7ecc16 Fix XAudio2 and OpenAL errors on shutdown, improve cinematic audio queue mgmt
(cherry picked from commit 4bfdf622f94b52eae52faece058c0e3d6139551e)
2022-02-22 20:16:31 -05:00
Stephen Saunders
22cd420513 More cinematic audio memory mgmt fixes, support cinematic audio looping
(cherry picked from commit bb0b260baa187d2dd88ef2a631e7b7f163095b10)
2022-02-22 19:52:24 -05:00
Robert Beckebans
b2f68faffe exportModelsToTrenchBroom writes another FGD with helper entities 2022-02-22 21:36:00 +01:00
Robert Beckebans
4bdaca627f Don't use BC1_UNORM_SRGB because it breaks YCoCg decoding 2022-02-21 23:08:31 +01:00
Robert Beckebans
f9c9f9c65e Changed engine branch name to NVRHI 2022-02-21 22:09:48 +01:00
Robert Beckebans
d557c82b35 Improved RenderDoc logging 2022-02-21 22:08:04 +01:00
Robert Beckebans
1d93ad0a58 It can start and load a map! 2022-02-21 21:26:36 +01:00
Robert Beckebans
535e56f580 It's compiling! 2022-02-21 19:56:21 +01:00
Robert Beckebans
025ba4419e Added more missing files 2022-02-21 19:21:16 +01:00
Robert Beckebans
9b4b93e8ef Added missing files 2022-02-21 18:15:56 +01:00
Robert Beckebans
c37dc4e04e NVRHI merge by Stephen Pridham part 2 2022-02-21 17:59:13 +01:00
Robert Beckebans
16a21fdeb8 NVRHI merge by Stephen Pridham part 1 2022-02-21 16:29:53 +01:00
Robert Beckebans
2282cfb9d8 Differentiate between classic func_groups and TB layers 2022-02-19 14:43:49 +01:00
Stephen Saunders
922f9eddef Cinematic Video and Audio memory management fixes
(cherry picked from commit 40a9190283d30180a3b7e4ab9b77f3c3728dad4f)
2022-02-18 14:01:53 -05:00
Robert Beckebans
1f2df87be7 Fixed a couple of func_groups with TrenchBroom related bugs 2022-02-18 18:00:09 +01:00
Robert Beckebans
c23709c2db Formatted code with Astyle 2022-02-12 12:55:46 +01:00
Robert Beckebans
4bba6b3e46 Merge remote-tracking branch 'SRSaunders/gpu-support' 2022-02-12 10:54:56 +01:00
Stephen Saunders
1c6ec627f2 Minor fix for astyle-code.sh compatibility with macOS grep
(cherry picked from commit 82206ebeaac285d68add1042e1f151857e67e53b)
2022-02-10 10:40:43 -05:00
Stephen Saunders
d0d3917ba1 Simplify ffmpeg audio code, sync ffmpeg audio frames to video, enable Bink cinematic audio, ensure audio buffers are released
(cherry picked from commit 62853bfc0307d1507903f0454bd062f387f775e2)
2022-02-10 10:40:30 -05:00
Stephen Saunders
846c00c885 Fix XAudio2 cinematic audio and restore Windows build
(cherry picked from commit f09a3083e220f1a715816e097e0e5342ca48456d)
2022-02-05 21:08:27 -05:00
Stephen Saunders
3be85d9c4b ffmpeg 5 compatibility plus cinematic audio playback on OpenAL & XAudio2
(cherry picked from commit bcb683e8e6ba6cb23acac2f1121c6e3eece1ed01)
2022-02-05 21:08:11 -05:00
Robert Beckebans
cde21c018d Did a little Quake to Doom experiment 2022-02-05 15:49:50 +01:00
Stephen Saunders
813767feea Generalize handling of heap avoid flags in Vulkan and VMA Allocators
(cherry picked from commit 7c49b044d37ff65599470103d360b8d46045bfb5)
2022-02-01 14:38:59 -05:00
Stephen Saunders
6d41dae922 Add display of VK_MEMORY_HEAP_MULTI_INSTANCE_BIT to Vulkan_PrintHeapInfo console command
(cherry picked from commit 794d8e52c81448c09b537b4b9b9767d69dbfc563)
2022-02-01 01:18:27 -05:00
Robert Beckebans
2ea2db396d Fixed random alpha values within exportImagesToTrenchBroom cmd 2022-01-31 16:40:29 +01:00
Stephen Saunders
552ada02d7 macOS Vulkan: Check and disable MoltenVK's use of Metal argument buffers for shader allocation scalability
(cherry picked from commit 939ab3b6396bd7196ce7f0c16cf59c83ebdc6a4e)
2022-01-30 12:41:12 -05:00
Stephen Saunders
96da1f3eed Fix heap flags check in Vulkan Allocator and add heap flags check to VMA Allocator
(cherry picked from commit 488f8d27616570029de9429cf4794886f6d209e1)
2022-01-29 13:28:10 -05:00
Robert Beckebans
e978d92aeb Added TrenchBroom helper entities like func_door_model 2022-01-29 18:10:54 +01:00
Stephen Saunders
e4021513d1 Fixes for: Vulkan+BinkDec validation errors, BinkDec replay in PDAs, macOS Vulkan+BinkDec stall, VK_EXT_debug_utils handling, Vulkan gfxInfo on Windows & Linux, idVulkanAllocator::Free(), idCinematicLocal::GetStartTime(), ImGui timings for timedemo first pass
(cherry picked from commit 2a93ad2380374e1a327f7af4f8e71c27b2b51528)
2022-01-28 10:33:07 -05:00
Robert Beckebans
b31840bda1 Moved CommandlineProgressBar out of RenderCommon.h to its own files 2022-01-22 16:20:21 +01:00
Robert Beckebans
c7499aeb8e Bumped version to 1.4.0 2022-01-22 14:55:03 +01:00
Robert Beckebans
da947328f0 Fixed some wrong texture projections with convertMapToValve220 2022-01-21 19:38:58 +01:00
Robert Beckebans
92c5cbf758 convertMapToValve220 now works with just the .resource files 2022-01-21 18:33:42 +01:00
Robert Beckebans
7279cd5d05 Small export path change 2022-01-20 22:28:18 +01:00
Robert Beckebans
7a0ac78762 Added cmd exportImagesToTrenchBroom 2022-01-20 22:25:06 +01:00
Stephen Saunders
bf889b9631 Vulkan: Simplify Instance error checking, fix validation errors when using BINK decoder, check GPU's maxSamplerAnisotropy
(cherry picked from commit f0f7536e888e4a4b70a71510d5b61313aa4ebb6a)
2022-01-19 23:41:18 -05:00
Stephen Saunders
0c6e72be37 Improve Vulkan instance extension setup, add Vulkan instance and driver info to gfxInfo
(cherry picked from commit 631358eda14468bdc3f8dd5c0ed7998b8e0be0eb)
2022-01-19 23:40:45 -05:00
Robert Beckebans
b7f952ad80 Extended idFileSystem::ListFilesTree to recursive .resources files 2022-01-10 23:22:26 +01:00
Robert Beckebans
55abfc26aa Added entityDef misc_model helper for TB 2022-01-09 11:41:01 +01:00
Robert Beckebans
ef47fc9092 Fixed bug by last filesystem change 2022-01-08 18:33:55 +01:00
Robert Beckebans
c104fff7ea Autoremove rotation keyword for TrenchBroom 2022-01-08 14:30:19 +01:00
Robert Beckebans
3cc6c0744e Added exportModelsToTrenchBroom console command 2022-01-07 18:46:35 +01:00
Stephen Saunders
a6675c1689 Improve GPU Vendor detection for OpenGL renderer
(cherry picked from commit 5556575dc7620a2f25e91ad65306d335dc03588c)
2022-01-07 01:28:16 -05:00
Stephen Saunders
1b865406c0 Add support for Apple GPUs (e.g. M1) and fill-in gfxInfo data for Vulkan renderer
(cherry picked from commit 22f38cef0bbc3997c24990b5ee0f16c05e10de53)
2022-01-07 01:27:45 -05:00
Robert Beckebans
a89dc048e8 DOOM_CLASSIC is ON by default again. closes #627 2022-01-06 18:13:16 +01:00
Robert Beckebans
2b727db4c2 Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2021-11-16 22:11:31 +01:00
Robert Beckebans
362e7484e4 Added explanation about the difference between lite and full packages 2021-11-16 22:11:27 +01:00
Tobias Frost
b11cd5d1b5 Fix identation of CMakeLists.txt
The mixing of tabs and space lead to confusion; Changes back to tabs,
like the rest of the file
2021-11-15 07:33:05 +01:00
Tobias Frost
9c368cbf56 Fix linking of open_al.
Closes #623
2021-11-15 07:32:50 +01:00
Robert Beckebans
cbf0ffbcca Fixed UV projections within convertMapToValve220 cmd 2021-11-09 21:30:49 +01:00
Robert Beckebans
8863db872e Added CMake options STANDALONE and DOOM_CLASSIC 2021-11-09 19:47:06 +01:00
Robert Beckebans
ebdea5f6c9 Tweaked exportFGD command for new icons 2021-11-06 19:09:40 +01:00
Robert Beckebans
d0f5cd7308 Added new GFX options for SSAO and Ambient Lighting 2021-10-30 17:54:07 +02:00
Robert Beckebans
5b252f82d1 Fixed DPI Scaling problems #616 2021-10-28 11:12:07 +02:00
Robert Beckebans
50a722ec38 Started to port bswf JSON importer to Blender 2.93 2021-10-27 16:24:30 +02:00
Robert Beckebans
84f238fc00 Added _extra_ents.map files for ROE campaign 2021-10-23 16:02:08 +02:00
Robert Beckebans
083b031373 _extra_ents.map files can override entities 2021-10-20 14:49:45 +02:00
Robert Beckebans
b65bef4d62 Use snapped origin of env_probes for new naming convention 2021-10-12 21:08:59 +02:00
Robert Beckebans
77f8031eb9 Allow _extra_ents.map files next to the map files 2021-10-10 17:47:24 +02:00
Robert Beckebans
e1db32fe30 Little TrenchBroom interop fixes 2021-10-09 18:37:53 +02:00
Robert Beckebans
1d7bcb5f27 Tweaked exportFGD further to support sprite icons 2021-10-08 22:46:30 +02:00
Robert Beckebans
efcf72fae4 Tweaked exportFGD to support sprite icons 2021-10-08 20:51:08 +02:00
Stephen Saunders
aeefb34561 Revert commit using getters for gameThread times - wrong type size 2021-10-01 00:29:09 -04:00
Robert Beckebans
79b28779b7 Astyle cleanup 2021-09-28 09:58:48 +02:00
Stephen Saunders
af08e7d414 Use proper getters & setters for gameThread and renderSync times 2021-09-27 22:58:32 -04:00
Stephen Saunders
09e0a4c5c8 Fix Frame time calculation to properly handle CPU/GPU parallelism 2021-09-27 17:56:45 -04:00
Stephen Saunders
3d7cfe7351 Added Total CPU time to Perf Stats overlay, fixed Frame time calculation 2021-09-24 09:03:27 -04:00
Stephen Saunders
45b9850546 Disable detailed GUI timestamps only when 3D timestamps are active 2021-09-23 10:21:03 -04:00
Stephen Saunders
945684f55c Add CPU+GPU total time to Perf Stats & Fix Idle time for non-smp modes 2021-09-23 01:11:05 -04:00
Stephen Saunders
6f3f0ca491 Fix CPU timer scaling on Win64 + minor format changes for FPS overlay 2021-09-22 17:57:19 -04:00
Stephen Saunders
f75701a9ab Fix overwrite of RC_DRAW_VIEW_3D timestamps by RC_DRAW_VIEW_GUI rendering pass 2021-09-22 17:40:11 -04:00
Stephen Saunders
1c41e52fc0 Change libMoltenVK.dylib path in CMakeLists for MoltenVK custom build flexibility 2021-09-20 11:38:34 -04:00
Stephen Saunders
0306b6189a Improve accuracy of gpuMicroSec timer on macOS OpenGL 2021-09-17 14:44:30 -04:00
Robert Beckebans
cbf17d4f36 Cleanup and Astyle 2021-09-11 18:02:16 +02:00
Admer
2f58f2b0c2 Re-order all pragma once statements to be AFTER the precompiled.h include, to silence IntelliSense's warning about PCH header stops 2021-09-11 17:53:30 +02:00
Admer
474a299a27 Use idMapFile instead of CM for brush origin offsets 2021-09-11 17:43:50 +02:00
Admer
302c4aa14d Supress Windows API's DrawText macro, for proper highlighting of idRenderWorld::DrawText 2021-09-11 17:43:50 +02:00
Admer
9381796d3f idEntity: use origin brush offsets 2021-09-11 17:43:50 +02:00
Admer
17068426e4 dmap: write origin brushes to .cm files 2021-09-11 17:43:50 +02:00
Admer
677025bf6c idMaterial: origin flags
# Conflicts:
#	neo/renderer/Material.h
2021-09-11 17:43:50 +02:00
Admer
1e18029909 idParallelJobList: fix syntax highlighting for AddJob 2021-09-11 17:43:50 +02:00
Admer
a1e1bec54a r_skipBloom CVar 2021-09-11 17:43:50 +02:00
Robert Beckebans
80c48e3895 Astyle 2021-09-11 13:02:59 +02:00
Robert Beckebans
6510531ad8
Merge pull request #606 from SRSaunders/game-return-fix
Update gameReturn_t() to explicitly initialize sessionCommand
2021-09-11 12:55:00 +02:00
Stephen Saunders
0a6e7c976f Update gameReturn_t() to explicitly initialize sessionCommand vs. compiler-specific behaviour 2021-09-03 22:13:56 -04:00
Stephen Saunders
aa767c360c Properly delete renderWorld, soundWorld, and menuSoundWorld on shutdown 2021-08-31 10:49:57 -04:00
Robert Beckebans
87bbebac1c Applied Astyle 2021-08-28 15:05:12 +02:00
Robert Beckebans
306e980f8e
Merge pull request #601 from SRSaunders/master
Support for macOS Universal Binary builds and README updates
2021-08-28 14:57:23 +02:00
Robert Beckebans
530e96657e
Merge pull request #600 from SRSaunders/x11xcb-fixes
Remove X11_XCB dependencies for Linux and macOS
2021-08-28 14:55:03 +02:00
Stephen Saunders
a8f870ef18 Add support for macOS universal binary builds (x86_64 & arm64) 2021-08-20 02:13:19 -04:00
Stephen Saunders
04ac31b058 CMakeLists: define VULKAN_USE_PLATFORM_SDL for all UNIX platforms - remove Linux/macOS restriction 2021-08-16 16:57:24 -04:00
Stephen Saunders
c80d601276 Remove all X11_XCB platform-specific code from RBDoom3BFG 2021-07-30 14:08:44 -04:00
Robert Beckebans
b02eaf8f6b
Merge pull request #599 from SRSaunders/binkdec-fixes
Support FFmpeg / BinkDec optionality for macOS
2021-07-30 09:17:15 +02:00
Robert Beckebans
8fb98c011c
Merge pull request #598 from SRSaunders/master
Fix broken glslang include path in CMakeLists.txt
2021-07-30 09:16:02 +02:00
Robert Beckebans
9772dfd88b
Merge pull request #594 from tomgreen66/rbdoom3_osxcpufreqfix
Fix odd output for CPU frequency on Mac
2021-07-30 09:09:04 +02:00
Stephen Saunders
9e57d60850 Disable FFmpeg and enable libbinkdec for macOS release and retail builds 2021-07-29 21:03:18 -04:00
Stephen Saunders
d71eb2bf36 Disable X11_XCB dependencies for Linux and macOS 2021-07-29 00:10:13 -04:00
Stephen Saunders
cbb9610a1b Enable FFmpeg / BinkDec optionality for macOS 2021-07-27 17:24:01 -04:00
Stephen Saunders
7e50d6dcb8 Fix broken glslang include path in CMakeLists.txt 2021-07-27 15:42:54 -04:00
Robert Beckebans
c4030850ab
Merge pull request #595 from r-a-sattarov/master
loongarch64: added initial support of LoongArch64 CPU architecture
2021-07-26 09:36:48 +02:00
Robert Beckebans
34cc04358d idMath::FLT_EPSILON -> idMath::FLOAT_EPSILON for system define clash on macOS 2021-07-26 08:51:44 +02:00
Robert Beckebans
9a0a89dbbd idMath::INFINITY -> idMath::INFINITUM for system define clash on macOS 2021-07-26 08:46:39 +02:00
r-a-sattarov
c82bc9c52b loongarch64: added initial support of LoongArch64 CPU architecture 2021-07-25 21:03:25 +03:00
Thomas Green
3503dd2f17
Use integer to obtain cpufrequency in OSX
Using a double to try to obtain cpufrequency in OSX seems to not produce anything useful (integer representation in a double).  Using int64 seems to work.
2021-07-20 23:51:17 +01:00
Robert Beckebans
d430f6a1fd Astyle 2021-07-08 08:40:03 +02:00
Stephen Saunders
960cd1cd8c Add doc comments to macOS cmake-xcode-vulkan shell scripts 2021-06-28 19:42:26 -04:00
Stephen Saunders
afd7a5e69d Improve macOS build robustness re sysroot path spec 2021-06-21 19:47:19 -04:00
Stephen Saunders
d76110c0d7 Remove gcc/clang default option -fno-unsafe-math-optimizations (ref issue #575) 2021-06-18 01:03:58 -04:00
Stephen Saunders
ae44b1059d Remove unneeded macOS cmd line debug-version shell scripts 2021-06-16 16:09:07 -04:00
Stephen Saunders
041db6b348 Capture mouse properly on macOS when outside of window, fixes issue #584 2021-06-15 01:53:35 -04:00
Robert Beckebans
3b3e08510d
Merge pull request #586 from SRSaunders/master
Release mouse when console opened in-game: revert previous change
2021-06-14 13:24:25 +02:00
Stephen Saunders
b44f3694db Release mouse when console opened in-game: revert previous change to support map dev workflow 2021-06-13 21:10:47 -04:00
r-a-sattarov
7fdaad65c5 Removed cmake files with USE_INTRINSICS_SSE=OFF
After https://github.com/RobertBeckebans/RBDOOM-3-BFG/pull/567 they are no longer needed
2021-06-13 20:43:36 +03:00
r-a-sattarov
2c13183a59 CMakeLists.txt: added use of Intel Intrinsics for e2k by default
e2k (MCST Elbrus 2000) architecture has half native / half software support of most Intel/AMD SIMD
e.g. MMX/SSE/SSE2/SSE3/SSSE3/SSE4.1/SSE4.2/AES/AVX/AVX2 & 3DNow!/SSE4a/XOP/FMA4
2021-06-13 19:41:13 +03:00
Robert Beckebans
fb8c744330 Astyle 2021-06-12 10:31:42 +02:00
Robert Beckebans
cc659683f3 Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2021-06-12 10:30:12 +02:00
Robert Beckebans
7f41a7b3cc Updated contributor credits 2021-06-12 10:30:08 +02:00
Stephen Saunders
4c3a9ad3df Use custom _aligned_alloc on macOS for better SDK and runtime portability 2021-06-11 11:12:49 -04:00
Stephen Saunders
ab9857987c Add note to macOS vulkan build script re MVK_CONFIG_FULL_IMAGE_VIEW_SWIZZLE env var 2021-06-10 12:33:17 -04:00
Stephen Saunders
1d35964f82 Fix openal-soft includes on macOS; fix default sysroot for cmd line builds 2021-06-10 12:01:22 -04:00
Robert Beckebans
c705e894fd Don't lookup Steam and GOG D3BFG paths by default.
This breaks development builds however you can set this behaviour by
setting +set sys_useSteamPath 1 or +set sys_useGOGPath 1
2021-06-04 13:06:34 +02:00
Robert Beckebans
6ee08ed8a4 Formatting 2021-06-03 12:27:40 +02:00
Robert Beckebans
583de344b6
Merge pull request #575 from BielBdeLuna/patch-3
Fix dmap errors: added -ffp-contract=off and took out -ffast-math
2021-06-03 11:37:42 +02:00
Robert Beckebans
7ee0123763
Merge pull request #565 from SRSaunders/master
Fix build on macOS for latest Vulkan SDK 1.2.176.1
2021-06-03 11:33:34 +02:00
Biel Bestué de Luna
9395db18c8
also added -fno-math-errno and -fno-trapping-math 2021-06-01 22:15:39 +02:00
Biel Bestué de Luna
fb31e404a4
added -ffp-contract=off and took out -ffast-math
took out `-ffast-math` because according to the gcc optimize documentation it could bring:
> incorrect output for programs that depend on an exact implementation of IEEE or ISO rules/specifications for math functions.
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Optimize-Options.html#index-ffast-math

and put in `-ffp-contract=off` because at optimization levels of `-O2` and higher the operations of multiply and summing  are not handled correctly and give wrong values, breaking in our case the Cross product of the vector math:
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Optimize-Options.html#index-ffp-contract
2021-06-01 14:24:08 +02:00
Stephen Saunders
baedc98b6d Update cmake shell scripts for macOS with improved Xcode integration 2021-05-27 23:41:05 -04:00
Robert Beckebans
4ce0f587cb Fixed typo 2021-05-26 10:35:59 +02:00
Robert Beckebans
b14a5b4fbb Applied Astyle 2021-05-26 09:25:28 +02:00
Robert Beckebans
4c7e6ba501
Merge pull request #568 from raynorpat/steam-gog-path-win-support
Steam and GOG.com base path support for Windows
2021-05-26 09:22:43 +02:00
Robert Beckebans
eba1bf978c
Merge pull request #567 from raynorpat/cmake-update
Some improvements to CMakeLists.txt
2021-05-26 09:20:04 +02:00
raynorpat
90a20aec42 Support for Steam and GOG.com base path detection for Windows.
This uses the registry unfortunately, but is fairly clean.

This will check the Steam App ID first, then the Steam install path, then finally will check the GOG.com App ID.
2021-05-25 23:20:54 -04:00
raynorpat
b91080902b Convert USE_INTRINSICS to USE_INTRINSICS_SSE and fix CMakeLists.txt logic surrounding its check to focus on x86 and x86_64 CPU types 2021-05-25 20:06:37 -04:00
raynorpat
49e46df731 Fix two compiler warnings in idlib/math/Vector.h - floor to floorf 2021-05-25 20:04:41 -04:00
raynorpat
4281dd6dcf Some improvements to CMakeLists.txt:
- Change tests for Clang and AppleClang to use MATCHES instead of STREQUAL
 - Add USE_FOLDERS global property, which helps keep the CMake default targets neat in IDEs
 - Sets the default startup project in MSVC to RBDoom3BFG instead of ALL_BUILD, helps for easier debugging when opening the solution for the first time
 - Sets the default debug directory path for MSVC, setting it to the root directory, which again helps for easier debugging
2021-05-25 18:46:12 -04:00
raynorpat
e574c50526 Add define wrappers for classic Doom in sound/OpenAL/AL_SoundHardware.cpp, similar to XAudio2
Also add MSVC 2019 Win10 OpenAL CMake batch file
2021-05-25 18:38:49 -04:00
Stephen Saunders
2068e92d92 Use default VULKAN_SDK location on macOS; disable broken ZERO_CHECK for Xcode Vulkan builds 2021-05-25 13:33:28 -04:00
Stephen Saunders
ea8096d949 Remove erroneous comment from CMakeLists 2021-05-25 01:04:23 -04:00
Stephen Saunders
2429e8bda0 Fix build on macOS for latest Vulkan SDK 1.2.176.1 2021-05-23 12:00:01 -04:00
Robert Beckebans
447d11b1ee Run astyle 2021-05-20 08:10:50 +02:00
Robert Beckebans
f7c1ab7bfb Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2021-05-20 08:08:40 +02:00
Robert Beckebans
85993e28ad Give generated envprobes proper names 2021-05-20 08:08:35 +02:00
Robert Beckebans
dcbd2de28a
Merge pull request #564 from erickzmx/fix-empty-ase
Fix for ASE meshes without materials.
2021-05-20 08:05:11 +02:00
Robert Beckebans
b2cc747084
Merge pull request #561 from SRSaunders/master
Fix com_smp = -1 logic error in Frame() if com_editors active
2021-05-20 08:05:02 +02:00
ErickMx
b60f3907fc Fixed loading empty ASE Models 2021-05-20 00:21:13 -05:00
Robert Beckebans
72a737d992 Updated release notes, added angles support for lights 2021-05-09 21:25:25 +02:00
Stephen Saunders
fdd9bbbcf8 Fix com_smp = -1 logic error in Frame() if com_editors active 2021-05-08 10:49:44 -04:00
Robert Beckebans
d7a96ca21b Allow sys_lang to be saved to config 2021-05-08 15:05:47 +02:00
Robert Beckebans
0814287639 Updated release notes with screenshots 2021-05-08 11:34:12 +02:00
Robert Beckebans
5cd5f21564 Fixed reloading of images after bakeEnvironmentProbes... 2021-05-07 13:14:00 +02:00
Robert Beckebans
e466940b95 Write smaller EXR files using TinyEXR zip compression 2021-05-07 11:31:03 +02:00
Robert Beckebans
b633582dff
Merge pull request #559 from SRSaunders/master
Fixed uint64_t print formatting in Allocator_VK.cpp
2021-05-06 14:51:27 +02:00
Robert Beckebans
329d822d32 Show all valid light material textures with editLights 2021-05-06 13:31:58 +02:00
Robert Beckebans
cde3a596ee Added editLights cmd as shortcut for g_editEntityMode 1 2021-05-06 10:03:06 +02:00
Stephen Saunders
7918e9af5e Fixed uint64_t print formatting in Allocator_VK.cpp 2021-05-05 12:33:53 -04:00
Robert Beckebans
5a24940e08 Fixed reloading of images after bakeEnvironmentProbes 2021-05-05 12:34:45 +02:00
Robert Beckebans
1870c57308 Cull envprobes that aren't connected to any visible area 2021-05-05 11:51:36 +02:00
Robert Beckebans
9a1ccf644a Don't render SSAO during multi bounce lightgrid bake 2021-05-04 19:33:22 +02:00
Robert Beckebans
0c07739483 bakeLightGrids grid( 32 32 64 ) light grid size option 2021-05-04 19:10:16 +02:00
Robert Beckebans
458f8f5155 Added options to bakeLightGrids -limit[num] -bounce[num] 2021-05-04 16:16:08 +02:00
Robert Beckebans
fc7e7acff2 Updated default builtin irradiance/radiance probe data 2021-05-03 22:38:51 +02:00
Robert Beckebans
c119cf3513 Several bugfixes that address cubemap processing for SH/GGX data 2021-05-03 20:36:26 +02:00
Robert Beckebans
7d5c840ec3 Updated changelog for upcoming release 2021-05-03 14:41:30 +02:00
Robert Beckebans
544ea11ce1
Merge pull request #557 from SRSaunders/master
Restore PCH for macOS Vulkan builds
2021-05-02 19:24:10 +02:00
Stephen Saunders
f6de8ee716 Restore PCH for macOS Vulkan builds 2021-05-02 13:10:03 -04:00
Robert Beckebans
4026fea4a9 Surpress some warnings for retail builds 2021-05-02 15:42:40 +02:00
Robert Beckebans
460719336e Print time results at the end of all baking commands 2021-05-02 14:29:01 +02:00
Robert Beckebans
3786c3aa51 Fixed progressbar updates with bakeEnvironmentProbes 2021-05-01 16:28:05 +02:00
Robert Beckebans
30373922c3 Optimized bakeLightGrids 2021-05-01 15:59:46 +02:00
Robert Beckebans
7707dc222e Modified zip scripts 2021-04-30 18:56:30 +02:00
Robert Beckebans
ae7dc33b5c Use builtin environment probe data as fallback 2021-04-30 16:39:27 +02:00
Robert Beckebans
0762ed4f04 Don't store temp cubemaps on disc for bakeEnvironmentProbes 2021-04-30 15:40:27 +02:00
Robert Beckebans
325fe39fd8 Use L4 Spherical Harmonics 2021-04-30 15:02:34 +02:00
Robert Beckebans
595fa370cf Fixed several bugs with the new bake* commands 2021-04-30 14:33:51 +02:00
Robert Beckebans
8ae5bace37 Fixed building for Vulkan on Linux 2021-04-30 11:42:20 +02:00
Robert Beckebans
b67612c67c Allow more than 1 lightgrid file version 2021-04-29 17:05:56 +02:00
Robert Beckebans
5b0a3a8ac8 Merge branch '545-irradiance-light-grid' 2021-04-29 16:33:10 +02:00
Robert Beckebans
dbbcea94c5 Pull request cleanup 2021-04-29 16:32:15 +02:00
Robert Beckebans
0964c02bcf Ran Astyle 2021-04-29 15:20:45 +02:00
Robert Beckebans
d5b9fbc7e8 Fixed crash in glslang when compiling new lightgrid shaders 2021-04-29 12:52:40 +02:00
Robert Beckebans
0b4be8c73a Added interpolation of the 3 nearest reflection probes 2021-04-28 15:44:33 +02:00
Robert Beckebans
167085385b Fixed bad lighting with objects behind the area light grid bounds 2021-04-27 19:14:55 +02:00
Robert Beckebans
b96b085d04 Don't use 1 pixel border for non-lightgrid octahedrons 2021-04-27 14:15:11 +02:00
Robert Beckebans
dcf9cc4e6d Store irradiance probe resolution and border size 2021-04-26 16:31:04 +02:00
Stephen Saunders
d72ce4a2d5 Fixed assert on macOS when -D_DEBUG defined, assertion guarding atan2f in Math.h not needed 2021-04-23 01:06:53 -04:00
Robert Beckebans
f7e898bb61 PBR spec probes shouldn't be linear filtered 2021-04-23 00:55:53 +02:00
Robert Beckebans
8d1e7c5afd Lowered irradiance probe resolution to ( 16 + 2 )^2 2021-04-23 00:36:14 +02:00
Robert Beckebans
f3ee2baac8 Enable linear filtering for octahedron lightgrid probes 2021-04-23 00:21:22 +02:00
Stephen Saunders
dd6b75d009 Fix error in CMakeLists for UNIX/macOS use of SPIRV_SHADERC 2021-04-21 13:29:56 -04:00
Stephen Saunders
b14c3c21cb Fixed segfault on exit by integrating pull request #378 by tomgreen66 2021-04-20 18:35:37 -04:00
Stephen Saunders
0aae6f0902 macOS support for OpenGL and MoltenVK, demo recording/playback improvements 2021-04-19 14:32:52 -04:00
Robert Beckebans
d11fae0c20 Don't write .exr files for empty light grid areas 2021-04-19 00:44:41 +02:00
Robert Beckebans
03c5e0273b Small bugfixes and r_useHDR 1 is now fixed for OpenGL 2021-04-18 21:20:29 +02:00
Robert Beckebans
6bad4df47e Lowered film grain intensity 2021-04-17 21:07:39 +02:00
Robert Beckebans
cb0e534804 First draft of new .lightgrid file format to store volume settings 2021-04-17 21:06:19 +02:00
Robert Beckebans
5c03286448 Move light grid sampling origins around if in solid like q3map1 did 2021-04-16 21:16:44 +02:00
Robert Beckebans
b0238772a8 It's now bakeEnvironmentProbes and bakeLightGrids 2021-04-16 13:21:43 +02:00
Robert Beckebans
36e7b2e86e Skip entire area if lightgrid count exceeds limit 2021-04-16 10:37:12 +02:00
Robert Beckebans
25b14756bb Use first valid lightgrid of viewEntity areas 2021-04-15 21:28:50 +02:00
Robert Beckebans
15a9411161 Changed lightgrid texture layout 2021-04-15 18:06:50 +02:00
Robert Beckebans
2752432416 Use dynamic light grid size in shaders 2021-04-15 16:09:39 +02:00
Robert Beckebans
0596300c45 Combined lightgrid trilerp with IBL PBR lighting 2021-04-15 15:01:31 +02:00
Robert Beckebans
884658d6dd Added lightgrid debug shader 2021-04-15 13:11:27 +02:00
Robert Beckebans
6ad03afca6 Write an irradiance atlas for each area 2021-04-14 22:17:09 +02:00
Robert Beckebans
7e16444fcc More light grid debug code 2021-04-14 18:17:28 +02:00
Robert Beckebans
26faa5797a r_showLightGrid 2 shows how light grid interpolation works 2021-04-14 12:55:46 +02:00
Robert Beckebans
f1e54f249b Splitted light grid up into multiple for each BSP area 2021-04-13 19:53:02 +02:00
Robert Beckebans
99c7d58dc6 Compute irradiance for each light grid point 2021-04-13 17:51:16 +02:00
Robert Beckebans
6decaa2293 Started to bring back the Quake 3 lightgrid as irradiance cache 2021-04-13 15:50:46 +02:00
Robert Beckebans
09c9f254c8 Generated new default ambient cube with smooth SH lighting 2021-04-10 17:26:51 +02:00
Robert Beckebans
7d2f35ab9a Only do parallax correction test for local cubemaps 2021-04-10 17:23:04 +02:00
Robert Beckebans
69f17a61fd Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2021-04-10 16:55:57 +02:00
Robert Beckebans
d8188cf90b Fixed problems with Mesa GLSL compiler 2021-04-10 16:55:54 +02:00
Robert Beckebans
2f8ae72431 Fixed Linux build issues. Tested with Clang 2021-04-10 09:53:52 +02:00
Robert Beckebans
5d26aaddb3 Added parallax correction for local cubemaps 2021-04-09 22:28:09 +02:00
Robert Beckebans
c40ab1e7e8 Fixed irradiance fireflies using spherical harmonics 2021-04-08 18:36:23 +02:00
Robert Beckebans
4a3ba04317 Simplified R_MakeAmbientMap 2021-04-08 12:41:40 +02:00
Robert Beckebans
ee4085b388 Added spherical harmonics math 2021-04-08 12:06:14 +02:00
Robert Beckebans
36105c277c Added missing shaders from last commit 2021-04-07 10:04:39 +02:00
Robert Beckebans
5854242d7b Moved D3 gloss -> roughness hack to function 2021-04-06 14:27:46 +02:00
Robert Beckebans
7c3ff6466b Minor cleanup 2021-04-01 14:23:47 +02:00
Robert Beckebans
8f82bb0fb9 Added invertGreen( normalmap.png ) material keyword 2021-03-27 22:17:05 +01:00
Robert Beckebans
9ce36e420a Support angles keyword again for TrenchBroom 2021-03-27 18:36:50 +01:00
Robert Beckebans
97656fb9cf Defaulted r_forceAmbient to 0.4 2021-03-26 18:40:02 +01:00
Robert Beckebans
39facaa1ac Vulkan can handle FMT_R11G11B10F textures 2021-03-26 17:39:04 +01:00
Robert Beckebans
9fae3ccdb2 Vulkan backend compiles again 2021-03-26 13:35:05 +01:00
Robert Beckebans
d9112cd381 Merge branch '497-envprobe-rendertarget' 2021-03-26 11:20:53 +01:00
Robert Beckebans
1f796a1f08 Embedded default HDR light probe data 2021-03-26 10:49:16 +01:00
Robert Beckebans
d5a4dda542 Added console command makeImageHeader 2021-03-26 10:13:42 +01:00
Robert Beckebans
5bbca6f98c Use id Tech 5 multithreading for generateEnvironmentProbes 2021-03-23 21:53:21 +01:00
Robert Beckebans
81905fb735 Delete temporary scene captures after processing 2021-03-23 10:00:38 +01:00
Robert Beckebans
8c397e9463 Bugfixed and flipped environment probe glReadPixels output 2021-03-23 09:36:39 +01:00
Robert Beckebans
2391ba1b43 Implemented GGX Split Sum approximation using a 2D atlas trick 2021-03-22 20:45:25 +01:00
Robert Beckebans
779534626f Added LoadEXR using tinyexr, LoadHDR using stb_image 2021-03-17 21:01:43 +01:00
Robert Beckebans
afae2740bf Fixed unnessary warnings with VS2017 2021-03-15 21:21:56 +01:00
Robert Beckebans
30b88cc197 Ran Astyle 2021-03-15 21:16:11 +01:00
Robert Beckebans
4f55ec094d
Merge pull request #538 from r-a-sattarov/master
tiny improvements and fixes
2021-03-15 21:14:42 +01:00
Robert Beckebans
381424f47b
Merge pull request #527 from infapi00/limit-staging-commands
Staging: add a limit of how many commands to stage
2021-03-15 21:14:04 +01:00
Robert Beckebans
2b28723751 Render environment probes to HDRA16F target 2021-03-14 15:59:02 +01:00
Robert Beckebans
71e2ea9aa3 Added extra rendertarget for environment probes 2021-03-14 13:22:17 +01:00
r-a-sattarov
3e08e14b9e Exclude e2k/arm64/mips64 from the polygonBlock and brushBlock assertions 2021-03-12 22:13:14 +03:00
Robert Beckebans
bb2a5e523c Fixed Valve 220 projections, allow ingame light editor to save it 2021-03-12 18:13:33 +01:00
r-a-sattarov
0f6b6f53b3 sys_defines.h: added various PC architectures
risc-v, sparc
2021-03-11 22:16:24 +03:00
Robert Beckebans
48c2468327 Fixed crash with lightstyles code 2021-03-01 08:10:52 +01:00
Robert Beckebans
05029ab6e4 Use env/UAC2_[amb/spec] probe data as fallback 2021-02-28 19:58:40 +01:00
Robert Beckebans
c47e3057d3 Don't blend AO with IBL in Vulkan for now 2021-02-26 23:17:29 +01:00
Robert Beckebans
a12a4b8352
Merge pull request #521 from infapi00/depthBounds-optional
Make depthBounds optional for the Vulkan renderer
2021-02-26 19:29:25 +01:00
Robert Beckebans
d42762e5ac Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2021-02-26 19:26:57 +01:00
Robert Beckebans
fb432d6f22 Fixed binary pacifier progress bar with native resolution 2021-02-26 19:26:52 +01:00
Robert Beckebans
c45cee1a70
Merge pull request #530 from runlevel5/patch-2
Exclude PPC64 from the polygonBlock and brushBlock assertions
2021-02-26 19:06:20 +01:00
Robert Beckebans
1c5a1640be
Merge pull request #529 from runlevel5/patch-1
Handle native flag for ppc64 architecture
2021-02-26 19:06:06 +01:00
Robert Beckebans
8a4253a643 Skip r_useVirtualScreenResolution 2021-02-25 19:36:59 +01:00
Robert Beckebans
d394ae186f Replaced DOOM 3 BFG icon 2021-02-25 19:30:07 +01:00
Trung Lê
5762db9b6c
Exclude PPC64 from the polygonBlock and brushBlock assertions
Fixes #528
2021-02-24 11:32:19 +11:00
Trung Lê
5ee6578df0
Handle native flag for ppc64 architecture
PowerPC64 LE and BE or MIPS64 does not regconise `-march` flag, instead the `-mcpu` is used instead
2021-02-24 00:06:59 +11:00
Alejandro Piñeiro
23f27816ad Staging: add a limit of how many commands to stage
Although staging commands can be a good idea from performance pov, it
also means that we are increasing the size of the command buffer,
until the queue submission is set (in most drivers).

For example, when computing the Interactions, staged command buffers
can be easily greater that 15k. This could be a problem with
low-memory devices, like rpi4.

This patch adds a new variable to configure the maximum size of staged
commands. When that limit is reached a Flush is done (similar to the
existing limit on the UploadBufferSize).
2021-02-22 14:04:46 +01:00
Robert Beckebans
6736b288e5 Bugfixed probe indices when changing maps 2021-02-21 11:04:19 +01:00
Robert Beckebans
288359067b Let ingame light editor handle anonymous lights 2021-02-20 19:07:08 +01:00
Robert Beckebans
1f2f6896e1 Merged Quake 1 lightstyle support from Iced-Hellfire 2021-02-20 16:24:45 +01:00
Robert Beckebans
b85db1e865 Merged stuff from Iced-Hellfire-Dev branch, no specular fix 2021-02-20 12:56:24 +01:00
Robert Beckebans
c0376eacaf Merged some smaller bugfixes from Stephen's branch 2021-02-20 12:03:11 +01:00
Robert Beckebans
58607c2cca Changed r_useOpenGL45 default to 1 on Win and updated docs 2021-02-17 20:52:36 +01:00
Robert Beckebans
dd9234cb1b Fixed collision manager to load OBJ files 2021-02-17 17:56:10 +01:00
Robert Beckebans
e85415f0ce Removed Vulkan from default VS2019 Win10 config 2021-02-17 10:09:45 +01:00
Robert Beckebans
a6bf995acc Fixed exportFGD to make func_static dynamic for model loading 2021-02-16 18:36:24 +01:00
Robert Beckebans
7b65cb4959 Added exportFGD models parameter 2021-02-15 23:06:58 +01:00
Robert Beckebans
ac84ab968d Allow dmap to have lights with no names 2021-02-15 19:28:39 +01:00
Robert Beckebans
0c5a6bf301 Added OBJ model support based on IcedTech 1 2021-02-14 16:42:01 +01:00
Robert Beckebans
742624d3ac Added support for the Valve 220 .map format in dmap 2021-02-13 18:46:34 +01:00
Robert Beckebans
99bd1bffb0 Sync with D3 branch from last weekend 2021-02-10 17:42:51 +01:00
Robert Beckebans
19e207b893 Exporting to OBJ also supports .md5mesh now 2021-02-10 17:42:51 +01:00
Robert Beckebans
1867452c40 Export OBJ files along with exportFGD command 2021-02-10 17:42:51 +01:00
Robert Beckebans
4d7468e812 Improved exportFGD command 2021-02-10 17:42:50 +01:00
Robert Beckebans
f35840914c Added cmd to export entity defs to TrenchBroom FGD 2021-02-10 17:42:50 +01:00
Robert Beckebans
96c83075aa Updated RenderProgs_embedded.h 2021-02-10 17:27:28 +01:00
Robert Beckebans
17631b2ab7 Merge branch '497-light-probe-interpolation' 2021-02-10 16:55:21 +01:00
Robert Beckebans
cc44001456 Replaced Motion Blur system option with Filmic VFX 2021-02-10 16:50:29 +01:00
Robert Beckebans
f560ee861b Renamed r_useFilmicPostProcessEffects to r_useFilmicPostProcessing 2021-02-10 16:35:08 +01:00
Robert Beckebans
6cff363845 Defaulted off r_showViewEnvprobes 2021-02-10 16:28:16 +01:00
Robert Beckebans
a0eb203aaf Reorganized HLSL shaders 2021-02-10 16:27:03 +01:00