Commit graph

773 commits

Author SHA1 Message Date
r-a-sattarov
a03d827cdf Force activation С++11 for GCC/Clang/MCST lcc
Added GCC/Clang/MCST lcc compiler check for support of C++11 standard and force activation C++11 flag for compile.
E2K: fixed compile for MCST lcc compiler < 1.24 (default C++ standard in 1.23 is -std=c++03).
2019-10-26 19:56:09 +03:00
Robert Beckebans
3709713d79 Solved IBL branch conflicts 2019-10-19 22:51:14 +02:00
Robert Beckebans
a0dfca7596 Fixed CMakeLists missing EnvironmentProbe file 2019-10-19 22:33:02 +02:00
Robert Beckebans
60f330874d PBR metal workflow texture support for IBL 2019-10-19 22:33:02 +02:00
Robert Beckebans
21bdc82d13 IBL indirect lighting test 2019-10-19 22:25:02 +02:00
Robert Beckebans
1e4292e52a Merged LordHavoc's image compression progress bar 2019-10-19 22:22:24 +02:00
Robert Beckebans
e6498e2975 Tweaked HDR/ambient 2019-10-19 22:14:51 +02:00
Robert Beckebans
76555219d4 Tweaked HDR parameters 2019-10-19 22:13:25 +02:00
Robert Beckebans
bd8dedca16 Added ambient pass to make game less dark 2019-10-19 22:11:44 +02:00
Robert Beckebans
85532b9622 IBL envprobes game entity 2019-10-19 21:58:22 +02:00
Robert Beckebans
fac1974f1b IBL envprobes initial render interface 2019-10-19 21:58:22 +02:00
Tobias Frost
092d472a98 Fix relative include path for RenderBackend.cpp 2019-10-15 07:43:24 +02:00
Robert Beckebans
3f7cf5387d Version bump to 1.2.0 2019-10-14 20:11:58 +02:00
Robert Beckebans
6ae887a591 Fixed VS2017 Build 2019-10-14 19:37:15 +02:00
Robert Beckebans
17d34d8562 Updated embedded HLSL shaders 2019-10-14 19:37:01 +02:00
Robert Beckebans
5ca8a97e10 Merge branch 'master' into vkdoom3-merge 2019-10-12 21:14:10 +02:00
Robert Beckebans
eb60a374fe Fixed Linux build under Kubuntu 18.10 2019-10-04 11:56:37 +02:00
r-a-sattarov
21512486dd Added cmake files for VS 2019 support 2019-08-10 20:27:14 +03:00
r-a-sattarov
60bb7be640 E2K: added cmake files for MCST Elbrus CPU support which without intrinsics 2019-08-10 20:13:41 +03:00
r-a-sattarov
abd19e623b E2K: strip UTF-8 BOM for lcc compiler < 1.24 2019-08-10 19:03:39 +03:00
r-a-sattarov
dfa1fc3db7 E2K: added initial support for MCST Elbrus CPU 2019-08-10 18:57:44 +03:00
Robert Beckebans
1e6064518f Fixed a few bugs with GPU Skinning and polygon offsets 2019-01-20 13:32:22 +01:00
Robert Beckebans
9241db812e First changes to fix GPU Skinning with Vulkan 2018-11-04 19:57:53 +01:00
Robert Beckebans
d634243631 Don't convert JSON map files to JSON again. Only .map to .json 2018-11-03 14:36:03 +01:00
Robert Beckebans
49eb54d1ad First time Vulkan can render a map without light interactions 2018-11-03 12:01:03 +01:00
Robert Beckebans
2f8413b2ee The main menu renders with Vulkan 2018-11-02 22:13:15 +01:00
Robert Beckebans
33c7d06871 Renderdoc can finally capture a frame rendered with Vulkan 2018-11-02 16:53:36 +01:00
Robert Beckebans
8cdc4aa99c Try to run with OpenGL 4.5 core profile by default on Windows 2018-11-02 13:35:02 +01:00
Robert Beckebans
1e4b171b8a Implemented r_drawFlickerBox with Vulkan 2018-11-02 11:00:05 +01:00
Robert Beckebans
526138de89 Reset Descriptor Sets from last frame 2018-11-02 10:38:46 +01:00
Robert Beckebans
e324b8a1fd Fixed vkGLSL binding counting 2018-11-02 10:17:53 +01:00
Robert Beckebans
472596a548 DrawElements with Vulkan 2018-11-01 18:12:15 +01:00
Robert Beckebans
5ec3ab6b18 Replaced GL_Cull with the new GL state bits 2018-11-01 16:30:05 +01:00
Robert Beckebans
18a6bf8c6a Set Glslang compile options to reduce compiling overhead 2018-11-01 13:33:24 +01:00
Robert Beckebans
899a283f8b Create Vulkan Pipelines on deman if the render state changes 2018-11-01 12:50:40 +01:00
Robert Beckebans
11ebd3641b Fixed Vulkan Swapchain error messages 2018-11-01 12:14:21 +01:00
Robert Beckebans
80fed3c14a Glslang compiles all RBDOOM shaders to SPIR-V 2018-10-28 16:11:05 +01:00
Robert Beckebans
706c153675 Use GLSlang lib directly to compile GLSL to SPIR-V 2018-10-28 15:46:14 +01:00
Robert Beckebans
0441fff277 Added RenderProgs_VK.cpp for Vulkan specific GLSL/SPIR-V handling 2018-10-28 13:22:36 +01:00
Robert Beckebans
5bb543b4fc .vertex and .pixel shaders renamed for VS syntax highlighting 2018-10-28 11:39:05 +01:00
Robert Beckebans
b8ffe6f6c0 Fixed too bright Bink decoding in HDR mode 2018-10-13 19:46:31 +02:00
Robert Beckebans
0d58f44f30 Big simplification of renderprog management 2018-10-13 18:34:29 +02:00
Robert Beckebans
644cab3d15 Started to move GL specific GLSL stuff to RenderProgs_GL.cpp 2018-10-13 14:42:30 +02:00
Robert Beckebans
5ea900fd61 Simplified renderparms 2018-10-13 13:50:44 +02:00
Robert Beckebans
435637606d Revert "Update rapidjson to trunk (8eaa122c272623ce7963dc7433ba108bc9a9809e)"
This reverts commit 44412e4b2f.
2018-10-13 12:08:18 +02:00
Robert Beckebans
a00828e8f5 Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG 2018-10-13 12:02:08 +02:00
Robert Beckebans
a109e9f15c Fixed memory leak typo in ~idCinematicLocal 2018-10-13 12:02:03 +02:00
Robert Beckebans
5483a186d3 First time the renderloop doesn't crash 2018-10-08 12:08:24 +02:00
Robert Beckebans
e9e1347a05
Merge pull request #352 from coldtobi/update_rapidjson
Update rapidjson to rapidjson's trunk and remove examples
2018-10-07 22:06:02 +02:00
Robert Beckebans
822f9be08d
Merge pull request #351 from coldtobi/use_system_rapidjson
USE_SYSTEM_RADPIDJSON -- Use the system rapidjson instead of the bundled one
2018-10-07 22:05:38 +02:00
Robert Beckebans
0ef3fcfe92 Fixed a bug in the Vulkan Swapchain 2018-10-07 17:58:32 +02:00
Robert Beckebans
98a13a2424 Generate vkGLSL if Vulkan is running otherwise GLSL 4.50 2018-10-07 16:42:28 +02:00
Robert Beckebans
4edf8b1c3b Added AMD's Vulkan Memory Allocator library 2018-10-06 17:55:32 +02:00
Robert Beckebans
a8ae629fcf Merged more renderer backend code from vkneo 2018-10-06 17:21:49 +02:00
Robert Beckebans
f180da6f63 Merged more Vulkan code from vkneo 2018-10-05 21:43:55 +02:00
Robert Beckebans
af02ccb9dc Scan GPUs 2018-10-04 00:59:16 +02:00
Robert Beckebans
a7d5c16e0a Vulkan CreateInstance Hello World 2018-10-04 00:30:20 +02:00
Robert Beckebans
a917b8c258 Stubbed out all OpenGL code 2018-10-03 23:40:35 +02:00
Robert Beckebans
bca006b8fc Moved OpenGL initialization to GL backend 2018-10-03 22:05:30 +02:00
Robert Beckebans
3d9f9b75db Deleted almost all OpenGL code from _VK backend files 2018-10-03 21:14:28 +02:00
Robert Beckebans
d115d84980 Merged improved VBO/UBO handling from vkneo 2018-10-02 17:50:51 +02:00
Robert Beckebans
095c68ca5b Moving towards vkneo. Started to stub out OpenGL if Vulkan enabled 2018-10-01 19:07:12 +02:00
Robert Beckebans
a51e3bddfe Link against Vulkan and glslang 2018-10-01 17:50:12 +02:00
Robert Beckebans
13721ec441 Added Vulkan option to CMake 2018-10-01 17:15:25 +02:00
vloup
61d4d6dd36 Fix missed tr_local -> RenderCommon imports. 2018-09-30 22:11:23 +02:00
vloup
1bf4d74710 Fix compilation due to extra static. 2018-09-30 22:11:05 +02:00
Robert Beckebans
5788ae72a0
Merge pull request #420 from MadDeCoDeR/patch-2
Show properly cpu on 64-bit linux
2018-09-30 17:00:08 +02:00
Robert Beckebans
735a925bd3 Merge branch 'vkdoom3-merge' 2018-09-30 15:49:18 +02:00
George Kalampokis
223673da57
Show properly cpu on 64-bit linux 2018-07-08 19:50:13 +03:00
Robert Beckebans
ee4ade8c11 Merge branch 'master' into vkdoom3-merge 2018-06-05 11:49:51 +02:00
Daniel Gibson
6d816579a1 Use libbinkdec to decode bink videos in neo/renderer/Cinematic.cpp
Similar to the ffmpeg integration, but less code (and gets rid of an
external dependency) :)

Also needed a tiny modification of RB_BindVariableStageImage()
to make sure the right shader is used (otherwise it's rendered
in greyscale)

Also added license note for libbinkdec to README.txt
2018-05-06 20:50:50 +02:00
Daniel Gibson
d4b2ac6667 Add libbinkdec to neo/libs/, integrate it in CMake
From http://homepage.eircom.net/~duncandsl/avp/
It's based on ffmpeg, but much easier to integrate (and has a nicer API)

I did some small modifications to make it build on Linux and with VS2013
They're marked with "DG: "
2018-05-06 20:50:41 +02:00
Robert Beckebans
d75169010b
Merge pull request #382 from ensiform/x64-staticvar-fix
Static cvars incorrectly checking against wrong size on 64
2017-11-17 12:02:51 +01:00
Robert Beckebans
5c4764197a com_smp -1 mode for RenderDoc debugging 2017-09-10 17:28:27 +02:00
Robert Beckebans
38bcf14c7b killed globalImages->BindNull(). More cleanups from vkneo 2017-09-10 15:27:31 +02:00
Robert Beckebans
f4dd96e404 Moved tr_backend_rendertools.cpp 2017-09-10 14:16:15 +02:00
Robert Beckebans
2f3169179a Merge branch 'master' into vkdoom3-merge 2017-09-10 13:44:17 +02:00
Robert Beckebans
b3637e8fde Moved tr_backend_rendertools.cpp 2017-09-10 13:43:28 +02:00
Robert Beckebans
a6169afac6 More render backend refactoring. Fixed image stuff 2017-09-10 13:32:44 +02:00
Robert Beckebans
a54612c0be More renderer backend refactoring. DOES NOT COMPILE 2017-09-09 14:57:48 +02:00
Robert Beckebans
c8e3cd9fe2 Merge pull request #372 from rigred/master
Fix sprintf overflows in various locations (gcc 7)
2017-09-03 23:24:47 +02:00
Robert Beckebans
a5b5840ca7 Started to refactor RB_ functions into idRenderBackend. DOES NOT COMPILE 2017-09-03 23:17:44 +02:00
Robert Beckebans
530b382929 Merging Image code from vkneo 2017-09-03 13:56:30 +02:00
Robert Beckebans
e0ba08b3f9 Added new GL states 2017-09-03 13:27:21 +02:00
Robert Beckebans
c91f8f4338 Merge branch 'master' into vkdoom3-merge 2017-09-03 10:32:19 +02:00
Robert Beckebans
e22837309b Merged LordHavoc's image compression progress bar
# Conflicts:
#	neo/framework/common_frame.cpp
2017-09-03 10:30:13 +02:00
Robert Beckebans
657b5c02f9 Optimized makeAmbient importance sampling with Hammersley point set 2017-09-03 10:28:23 +02:00
Robert Beckebans
736ccadcb3 Started to move files so it can be compared to vkdoom3 2017-09-03 10:22:36 +02:00
Robert Beckebans
4daffd67c0 Astyle 2017-09-03 09:45:03 +02:00
Robert Beckebans
72091f73ca Merge branch 'master' into vkdoom3-merge 2017-09-02 14:40:39 +02:00
Robert Beckebans
09f92b95d9 Disable ATL warning with VS2015 2017-09-02 13:58:21 +02:00
Robert Beckebans
6fbaf4e904 Merge remote-tracking branch 'Codes4Fun/HDRMSAAFix' 2017-09-02 13:33:55 +02:00
Robert Beckebans
fab5644a75 Merge pull request #393 from dsalt/compile-warnings
Trivial fixes for some (mostly) string-related compile warnings
2017-08-30 12:39:40 +02:00
Robert Beckebans
579de5008d Merged SWF fixes from vkDoom3 2017-08-29 16:26:03 +02:00
Darren Salt
5791f11a6b Kill a macro redefinition warning. 2017-08-27 23:31:51 +01:00
Darren Salt
c8fae11e7d Constify format string in DisplayRealTimeString (fixes warnings). 2017-08-27 22:26:28 +01:00
Darren Salt
01be91c9c8 Fix detection of Mesa >= 17.2.
This handles accelerated drivers (vendor == "X.Org") and software rendering (llvmpipe).
2017-08-09 17:02:35 +01:00
Ensiform
29786cf420 Static cvars incorrectly checking against wrong size on 64
On 64-bit arch these checks are incorrect. the 0xFFFFFFFF is effectively UINT32_MAX rather than the pointer size. Changing to the unsigned integral pointer maximum seems like a better idea.

Fixes the warning, and corrects the code.
2017-07-30 22:30:25 -05:00
Ensiform
df08e21e0d Add cmake files for VS 2017 support
Win10 solutions are likely needed to be used if you don't want to depend on the DXSDK same as 2015.
2017-07-15 21:28:05 -05:00
Caffeine Code
41f1014ed5 read core count correctly 2017-07-09 22:39:20 +01:00
Caffeine Code
8a1ce622a3 Fix sprintf overflows in various locations (gcc 7) 2017-07-09 19:22:33 +01:00
Robert Beckebans
81dc65119d Merge pull request #341 from boscorillium/glew2.0
update to glew 2.0
2017-04-21 10:55:32 +02:00
Codes4Fun
de899cdbda Automatic reload of shaders after changing r_useHDR and r_useHalfLambertLighting. 2016-10-24 16:08:27 -07:00
Codes4Fun
2ce3f660bd Fixed resolution changing bug with MSAA and HDR.
After a resolution change the hdrNonMSAAFBO needed to be reattached
after Resize, not doing that resulted in a black screen (being attached
to the old deleted texture).
2016-10-24 16:07:17 -07:00
Codes4Fun
d53b9cafda Update to use glConfig.multisamples.
code under USE_HDR_MSAA was stil using r_multiSamples, so switched it to
use glConfig.multiSamples.
2016-10-24 16:06:21 -07:00
Codes4Fun
3241d08740 Added UpdateStereo3DMode function.
This is to consolidate how we update the glConfig.stereo3Dmode, and to
update it before initializing the framebuffers so that they are
initially allocated correctly and avoid framebuffers getting reallocated
later.
2016-10-24 15:58:43 -07:00
Codes4Fun
e83aa52d4f Fix for Stereoscopic 3D modes.
A lot of places using glConfig.nativeScreenWidth, when they should be
calling renderSystem->GetWidth() (and height equivalent) which take into
account stereoscopic 3d modes.
2016-10-23 18:55:16 -07:00
Shane Utt
8226e25886 Regenerate RenderProgs_embedded.h 2016-10-14 21:32:57 -04:00
Tobias Frost
ff21ecb76d Remove not-needed examples 2016-10-10 23:00:51 +02:00
Tobias Frost
44412e4b2f Update rapidjson to trunk (8eaa122c272623ce7963dc7433ba108bc9a9809e) 2016-10-10 22:59:07 +02:00
Tobias Frost
f54323a442 .. CMake.txt and neo/idlib/precompiled.h to utilize define 2016-10-10 22:13:17 +02:00
Tobias Frost
7ab1e443e2 - Add rapdijson.cmake to find the system rapidjson
- Add D_USE_SYSTEM_RAPIDJSON (default OFF) to select system library.
2016-10-10 22:01:16 +02:00
Tim Howard
fc3fd70409 update to glew 2.0 2016-08-13 21:05:14 -04:00
Jonathan Young
5368af9ad8 Fix playDemo running as fast as possible (like timeDemo). 2016-07-16 11:24:06 +10:00
Jonathan Young
ca0527f9a6 Merged Storm Engine 2 demo fixes. 2016-07-15 16:36:34 +10:00
Jonathan Young
42f93f5b0e Include json maps in command argument auto-complete. 2016-07-04 19:14:16 +10:00
Jonathan Young
9325c3672c Fix debug assert when auto-completing some command arguments. 2016-07-04 19:12:58 +10:00
Robert Beckebans
3d75dbcb4a GCC compile fixes under Kubuntu 15.10 2016-07-03 22:56:29 +02:00
Robert Beckebans
9a340f3914 Renamed Flash GUI development cvars to postLoadFlash* 2016-07-03 15:33:01 +02:00
Robert Beckebans
e6f75d3336 Merge branch 'flash-tools' 2016-07-03 15:11:43 +02:00
Robert Beckebans
d3b9d238ec Merge branch 'collada-support' 2016-07-03 14:59:45 +02:00
Robert Beckebans
7296fd83b5 Added COLLADA model support to get rid of ancient LWO/ASE formats 2016-07-03 13:47:52 +02:00
Robert Beckebans
3e1d21ef34 Merged some SS2 shadow mapping performance improvements 2016-07-02 11:24:22 +02:00
Robert Beckebans
081c848f87 envShot cleanup 2016-07-02 11:24:22 +02:00
Robert Beckebans
30f85f5b46 Merged Steel Storm 2 envShot bugfix by LordHavoc 2016-07-02 11:24:22 +02:00
Robert Beckebans
3bac15f585 Merged some SS2 shadow mapping performance improvements 2016-07-02 11:22:04 +02:00
y2keeth
7b5fc61a51 added option to game setting to turn on or off muzzleflashes 2016-06-29 18:37:59 -04:00
y2keeth
321dda8b8f increase max_decals and deffered decals, shotgun now has full impacts 2016-06-26 21:05:41 -04:00
y2keeth
473449cf5a Merge remote-tracking branch 'refs/remotes/RobertBeckebans/master' 2016-06-26 20:49:32 -04:00
Robert Beckebans
f3c8e0748e Move worlspawn to first entry if map was read from Blender 2016-06-19 17:19:24 +02:00
Robert Beckebans
45c96fa6bc envShot cleanup 2016-06-14 10:33:50 +02:00
Robert Beckebans
b8748b59e5 Merged Steel Storm 2 envShot bugfix by LordHavoc 2016-06-13 22:29:31 +02:00
Robert Beckebans
a884b08010 Astyle 2016-05-10 09:55:37 +02:00
Robert Beckebans
c664c9e940 Save rendermodels as OBJ if postLoadExportModels is set 2016-03-16 23:18:47 +01:00
Robert Beckebans
95de9c62a5 exportDecls command to export def/* stuff for Blender 2016-03-05 21:19:14 +01:00
Robert Beckebans
52b7775d83 Added support for new JSON based map format 2016-03-05 20:52:09 +01:00
Robert Beckebans
be556174e0 Merge branch 'master' into map-primitive-polygons-for-blender 2016-03-05 20:20:07 +01:00
Ivan Vashchaev
3171686814 Support SDL2 GameController API
On OS X DualShock4 works perfectly
2016-02-12 20:53:24 +03:00
Robert Beckebans
7728dc3add Fullscreen effects always need to be in sRGB. close #292 2016-02-02 23:12:53 +01:00
Robert Beckebans
1275984ab8 Fixed FFmpeg Win64 static libs. fix #288 2016-01-20 19:42:55 +01:00
Robert Beckebans
f01738a429 Added missing BRDF.inc to renderprogs manifest. #286 2016-01-20 19:31:48 +01:00
Robert Beckebans
414a426b09 VS 2015 and Windows 10 support. close #261 #271 #272 2016-01-20 00:55:30 +01:00
y2keeth
5f37c213c7 Merge remote-tracking branch 'refs/remotes/RobertBeckebans/master' 2016-01-19 06:07:46 -05:00
Robert Beckebans
fa87f5465c Updated readme/release notes 2016-01-19 00:04:13 +01:00
Robert Beckebans
facc23d956 Updated embedded shaders 2016-01-18 23:23:01 +01:00
Robert Beckebans
c158a16a93 Fixed rendering of mirrors 2016-01-18 23:21:53 +01:00
Robert Beckebans
fb618feeca Always render 2D GUIs in sRGB color space 2016-01-18 22:21:32 +01:00
Robert Beckebans
8f1512dc5e Tweaked HDR tone mapping and linear RGB bugfixes 2016-01-17 12:49:04 +01:00
Robert Beckebans
d50c93f26f Added r_exposure and tweaked lighting 2016-01-14 00:59:41 +01:00
Robert Beckebans
f82b700598 Improved linear RGB lighting and added ACES tonemap 2016-01-13 20:33:16 +01:00