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
shmerl
d23864a3e2
Support XDG base directory specification
2017-09-03 17:07:02 -04: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
y2keeth
da79018740
Enables muzzle flashes
...
weapon world lighting enabled
2016-01-11 16:46:19 -05:00
Robert Beckebans
29f5488c89
Merge branch 'SSGI' into HDR-linearRGB
...
Conflicts:
base/renderprogs/global.inc
base/renderprogs/interactionAmbient.pixel
neo/renderer/OpenGL/gl_Image.cpp
neo/renderer/RenderProgs_embedded.h
2016-01-11 19:35:34 +01:00
Robert Beckebans
05da7306d4
More SSGI and SSAO bugfixes
2016-01-11 19:00:20 +01:00
Robert Beckebans
dec7944856
SSGI and SSAO bugfixes
2016-01-10 23:47:16 +01:00
Robert Beckebans
3c9bc63f61
SSGI radiosity blur
2016-01-10 17:20:38 +01:00
Robert Beckebans
9e4b6188cc
Screen Space Global Illumination first step
2016-01-09 22:24:57 +01:00
Robert Beckebans
b0f5f51f4c
Bugfix
2016-01-09 20:17:09 +01:00
Robert Beckebans
e8826caae8
Hierarchical depth buffer for SSAO works
2016-01-09 16:23:49 +01:00
Robert Beckebans
d9f9db3b37
Framework for hierarchical depth buffer optimization
2016-01-09 13:38:49 +01:00
Robert Beckebans
94c28fa8ff
Working Alchemy SSAO shaders
2016-01-08 19:30:21 +01:00
Robert Beckebans
8a861c7914
Render SSAO to offscreen FBO
2016-01-06 22:37:16 +01:00
Robert Beckebans
9f83e84f6f
Added bilateral blur to SSAO
2016-01-02 23:59:44 +01:00
Robert Beckebans
e555e83119
SSAO experiment
2016-01-02 19:28:49 +01:00
Robert Beckebans
08c7b35fd1
Normals-only G-Buffer for screen space effects
2015-12-31 18:11:34 +01:00
Robert Beckebans
5e7e59cfe6
Updated embedded shaders
2015-12-31 13:05:51 +01:00
Robert Beckebans
ba8097a90e
Revert "Enables muzzle flashes"
...
This reverts commit 7a2f275c17
.
2015-12-31 12:34:29 +01:00
Robert Beckebans
1f81d427fa
Merge branch 'SMAA'
2015-12-31 12:27:26 +01:00
Robert Beckebans
5846953302
Fixed missing multiSamples initialization for OpenGL. #276
2015-12-30 19:28:14 +01:00
Robert Beckebans
523410e8cf
Merge branch 'SMAA' into HDR-linearRGB
2015-12-30 13:32:05 +01:00
Robert Beckebans
ebc3f34650
Removed black triangles when half-lambert is enabled
2015-12-30 12:46:45 +01:00
Robert Beckebans
e1195615a3
Added SMAA shaders to renderprogs manifest
2015-12-30 12:22:05 +01:00
Robert Beckebans
e2e4295556
Replaced r_multiSamples with r_antiAliasing to switch between SMAA, MSAA ( and TXAA future)
2015-12-30 12:07:24 +01:00
Robert Beckebans
a74956208e
Lighting in linear RGB. One step closer to PBR
2015-12-30 11:01:57 +01:00
Robert Beckebans
195f8082b8
Merge branch 'SMAA' into HDR-linearRGB
...
Conflicts:
base/renderprogs/global.inc
neo/renderer/RenderProgs_GLSL.cpp
neo/renderer/RenderProgs_embedded.h
2015-12-30 10:08:25 +01:00
Robert Beckebans
cae1397d78
Disabled SWF Image channelScale export
2015-12-29 11:47:45 +01:00
Robert Beckebans
08f28edfb0
Disabled HDR MSAA support in favor of SMAA
2015-12-28 23:44:22 +01:00
Robert Beckebans
c4316b14a4
Reenabled filmic post effects
2015-12-28 23:33:39 +01:00
Robert Beckebans
127b2ed5e8
Finally, Crytek's SMAA works at leat in SMAA 1x mode
2015-12-28 23:22:58 +01:00
Robert Beckebans
0b5d931e1e
SMAA debugging
2015-12-28 21:36:25 +01:00
Robert Beckebans
3bb28ab144
SMAA neighborhood blending shader
2015-12-28 13:34:39 +01:00
Robert Beckebans
794f9ae5e1
SMAA blending weight calculation shader
2015-12-28 11:42:11 +01:00
Robert Beckebans
43b0cb2415
SMAA edge detection shader
2015-12-27 17:45:41 +01:00
Robert Beckebans
e332dd07d6
SMAA step one
2015-12-26 16:11:47 +01:00
Robert Beckebans
e8c8aa4795
Added SMAA intrinsic helper images
2015-12-26 15:20:19 +01:00
Robert Beckebans
6aa87784a3
Tweaked HDR/ambient
2015-12-25 12:03:59 +01:00
Robert Beckebans
a501209c8b
Updated shaders. Merry Christmas :)
2015-12-24 18:49:25 +01:00
Robert Beckebans
ad0ff8ec8d
Tweaked HDR/ambient
2015-12-24 18:47:16 +01:00
Robert Beckebans
5556231d71
Tweaked HDR parameters
2015-12-24 18:47:16 +01:00
Robert Beckebans
6c4ebf6a75
Added ambient pass to make game less dark
2015-12-24 18:47:16 +01:00
Robert Beckebans
5ed5b81161
Updated readme and release notes
2015-12-24 14:18:05 +01:00
Robert Beckebans
29d4a75401
Updated embedded shaders
2015-12-24 13:08:16 +01:00
Robert Beckebans
da7eedf04d
Added filmic post process effects
2015-12-23 13:53:21 +01:00
Robert Beckebans
a38bfe949e
Fixed renderprogs _manifest.lua
2015-12-22 18:03:44 +01:00
Robert Beckebans
5e2f7375ac
Tweaked chromatic burning bloom
2015-12-22 17:53:18 +01:00
Robert Beckebans
3738e59283
Embedded shaders
2015-12-21 14:46:28 +01:00
Robert Beckebans
79f1071322
listImages bugfixes
2015-12-21 14:28:30 +01:00
Robert Beckebans
f7fc5b59ab
Misc linear RGB experiments
2015-12-21 14:12:03 +01:00
Robert Beckebans
b3dc4c99fb
listImages bugfixes
2015-12-21 13:27:53 +01:00
Robert Beckebans
a378e73823
Merge remote-tracking branch 'RBDOOM-3-BFG/gamma-correction' into HDR-linearRGB
...
Conflicts:
base/renderprogs/global.inc
neo/renderer/tr_local.h
2015-12-21 13:27:12 +01:00
Robert Beckebans
51cac2394f
Merge branch 'master' into gamma-correction
2015-12-21 13:00:52 +01:00
Robert Beckebans
f64b7b80d4
HDR framebuffer resize bugfix
2015-12-21 12:11:56 +01:00
Robert Beckebans
2d8a0b3536
Tweaked tone mapping and implemented r_hdrDebug view
2015-12-21 11:39:19 +01:00
Robert Beckebans
37005ba506
64 bit HDR with adaptive tone mapping ported from XreaL
2015-12-20 12:28:46 +01:00
y2keeth
61879bf8b9
Update RenderSystem.h
2015-12-10 06:50:42 -05:00
y2keeth
ff710a7e34
Update RenderSystem.cpp
2015-12-10 06:50:05 -05:00
y2keeth
ac55df9347
Update RenderSystem_init.cpp
...
Changed extension check for GL_ARB_framebuffer_object
2015-12-10 06:16:08 -05:00
Robert Beckebans
1c14ab2db9
Changed extension check for GL_ARB_framebuffer_object
2015-11-23 14:42:01 +01:00
Robert Beckebans
be030e5548
Workarounds for Mesa. closes #256 #245
2015-11-23 14:01:59 +01:00
y2keeth
a2ed7f250a
FFMep 2.9 dll's again lol
2015-11-17 19:11:24 -05:00
y2keeth
91d1504cec
Revert "FFMpeg 2.9 dll's"
...
This reverts commit 08da02292f
.
2015-11-17 19:07:02 -05:00
y2keeth
03e98bbbe6
glsl creation fix
...
glsl creation for Mesa drivers fix
2015-11-17 18:56:06 -05:00
y2keeth
08da02292f
FFMpeg 2.9 dll's
2015-11-17 18:54:08 -05:00
BielBdeLuna
a25dcdcd30
glsl creation fix
2015-11-17 12:46:45 +01:00
y2keeth
374a850fba
Patch from Debian #803857 to support ffmpeg 2.9
2015-11-07 12:02:59 -05:00
y2keeth
ee0d697764
Merge remote-tracking branch 'refs/remotes/RobertBeckebans/master'
2015-11-07 11:31:08 -05:00
y2keeth
1ce8a30544
unlocked softshadows for mesa-Intel drivers
...
by BielBdeLuna
2015-11-03 20:17:30 -05:00
Robert Beckebans
4b1f6cfaf3
Defaulted fs_resourceLoadPriority to 0
2015-10-28 18:35:56 +01:00
Robert Beckebans
25764b07ad
JSON Flash image reimport
2015-10-28 18:35:41 +01:00
Robert Beckebans
db560ecd7b
JSON Flash improved reimport
2015-10-28 18:35:41 +01:00
Robert Beckebans
c552d8108c
JSON Flash mainsprite reimport
2015-10-28 18:35:41 +01:00
Robert Beckebans
2398006cc6
JSON -> Flash Tag_RemoveObject2, Tag_DoAction
2015-10-28 18:35:41 +01:00
Robert Beckebans
cd084649c6
Merge remote-tracking branch 'RBDOOM-3-BFG/master'
2015-10-22 23:49:12 +02:00
Robert Beckebans
ab354c0ceb
Defaulted fs_resourceLoadPriority to 0
2015-10-22 23:48:38 +02:00
Robert Beckebans
a1d97245b9
Fixed merge conflicts
2015-10-12 13:02:18 +02:00
Robert Beckebans
45d475936f
JSON -> Flash Tag_PlaceObject3
2015-10-12 12:36:31 +02:00
Robert Beckebans
c5545bf8f2
JSON -> Flash bugfixes
2015-10-12 12:36:31 +02:00
Robert Beckebans
d769620288
JSON Flash sprite import xform color
2015-10-12 12:36:31 +02:00
Robert Beckebans
0792ac0f59
JSON Flash sprite import
2015-10-12 12:36:31 +02:00
Robert Beckebans
6073793ee5
Exported Flash line draws to JSON
2015-10-12 12:36:31 +02:00
Robert Beckebans
09c1905fea
Continued RapidJSON Flash import
2015-10-12 12:36:31 +02:00
Robert Beckebans
cdb2047900
RapidJSON Hello World
2015-10-12 12:36:30 +02:00
Robert Beckebans
cec8cb2d45
Added RapidJSON 1.0.2
2015-10-12 12:35:43 +02:00
Robert Beckebans
a7472618a7
swf_show debug rendering
2015-10-12 12:35:43 +02:00
Robert Beckebans
d4eb9f8d93
swf_show debug rendering
2015-10-12 12:35:43 +02:00
Robert Beckebans
6d4a3f107b
JSON Flash export 5
2015-10-12 12:35:43 +02:00
Robert Beckebans
17f3059d64
JSON Flash export 4
2015-10-12 12:35:43 +02:00
Robert Beckebans
5ddcb22a15
JSON Flash export 3
2015-10-12 12:35:43 +02:00
Robert Beckebans
30e5e52f71
JSON Flash export 2
2015-10-12 12:35:43 +02:00
Robert Beckebans
aa3f3aef71
JSON Flash export 1
2015-10-12 12:35:42 +02:00
Robert Beckebans
21de748801
Flash bytecode to Lua
2015-10-12 12:34:55 +02:00
Robert Beckebans
71e339a83b
Partial Flash bytecode to ActionScript export
2015-10-12 12:34:55 +02:00
Robert Beckebans
8b99afd5c1
Changed SWF export dir to base/exported/
2015-10-12 12:34:55 +02:00
Robert Beckebans
a353c3f233
SWF shapes export
2015-10-12 12:34:55 +02:00
Robert Beckebans
dd056c4ecc
SWF shapes export
2015-10-12 12:34:55 +02:00
Robert Beckebans
038f798f88
SWF shapes export
2015-10-12 12:34:54 +02:00
Robert Beckebans
e14b1fff08
SWF sprites export
2015-10-12 12:34:54 +02:00
Robert Beckebans
e19e0a6911
SWF image export
2015-10-12 12:34:53 +02:00
Robert Beckebans
f8f1264eb4
More work on SWF images export
2015-10-12 12:34:53 +02:00
Robert Beckebans
edd5ccb9b9
Prepaired SWF images export
2015-10-12 12:34:52 +02:00
Robert Beckebans
54b2753025
SWF export empty .swf
2015-10-12 12:34:52 +02:00
Robert Beckebans
b952f3c594
SWF export
2015-10-12 12:34:51 +02:00
Robert Beckebans
9c58fdf6f9
Added swf_exportAtlas
2015-10-12 12:33:32 +02:00
Robert Beckebans
4502588338
Improved XSWF output
2015-10-12 12:33:31 +02:00
Robert Beckebans
d4a53e6b49
Fixed crash
2015-10-12 12:33:31 +02:00
Robert Beckebans
15fe2a2ae6
Added swf_skip* cvars
2015-10-12 12:33:30 +02:00
Robert Beckebans
ebd9df1202
Extended Shape-Command exports
2015-10-12 12:33:30 +02:00
Robert Beckebans
83c76f576d
XML Flash bugfixes
2015-10-12 12:32:49 +02:00
Robert Beckebans
e4c0d05b7e
XML Flash almost done
2015-10-12 12:32:49 +02:00
Robert Beckebans
87283f7a70
XML Flash part 2
2015-10-12 12:32:48 +02:00
Robert Beckebans
f7fbfa09f6
XML Flash part 1
2015-10-12 12:32:48 +02:00
y2keeth
f572b942f3
fs_resourceLoadPriority defaulted to 0
2015-10-09 09:56:36 -04:00
y2keeth
c4e4ff207f
Increase vertex memory for custom model content
2015-10-09 09:50:57 -04:00
y2keeth
7a2f275c17
Enables muzzle flashes
2015-10-09 09:45:45 -04:00
Daniel Gibson
0fbf83fa49
Implemented Sys_[SG]etClipboardData() for SDL backend
...
SDL2 only, SDL1.2 doesn't have functions to handle the clipboard
2015-08-02 19:23:26 +02:00
Daniel Gibson
255d135a6c
Fix crash when running dmap on existing map
...
Loading the collision model from binary can fail, but this wasn't
checked, so idCollisionModelManagerLocal::models[i] could contain NULL
which causes crashes later.
2015-08-01 05:18:12 +02:00
Robert Beckebans
6f3fe59b68
Merge branch 'master' into gamma-correction
2015-07-22 12:32:23 +02:00
Robert Beckebans
af2c6b4326
Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG
2015-07-11 12:16:04 +02:00
Robert Beckebans
02f6328a0d
Set USE_INTRINSICS for MSVC
2015-07-11 12:15:59 +02:00
Tobias Frost
bbb41c7781
Do not force USE_INTRINISCS to be set via source-code
2015-07-11 10:33:04 +02:00
Robert Beckebans
223548d148
astyled pull requests
2015-06-24 11:28:31 +02:00
Robert Beckebans
4fa4537978
Use SSE2 intrinsics on x86
2015-06-24 11:27:54 +02:00
Robert Beckebans
9d4c468f08
Merge pull request #228 from coldtobi/master
...
rbdoom3: Option to set CPU_ID and to specify CPU Features to be used.
2015-06-24 11:14:30 +02:00
Robert Beckebans
8a8deb63fd
Merge pull request #231 from coldtobi/use_cmake_dl_libs
...
Do use CMAKE_DL_LIBS to determine the linkerflags needed to link against libdl
2015-06-24 11:12:30 +02:00
Robert Beckebans
edc3dfb55a
Merge pull request #229 from coldtobi/precompiled-headers-configureable
...
Make use of precompiled header configureable
2015-06-24 11:10:58 +02:00
Pete Lewis
87c08c30cb
Use the default audio device in Win8/XAudio2
2015-06-23 11:56:27 -07:00
Tobias Frost
92dab63c30
- Do use CMAKE_DL_LIBS to determine the linkerflags needed to link against libdl.
...
- For !WINDOWS, add sys_defines based on compiler instead based on system. (enabled compilation e.g on hurd and kfreebsd)
2015-06-21 16:52:56 +02:00
Tobias Frost
cf6bb39e11
Make use of precompiled header configureable
2015-06-19 22:15:44 +02:00
Tobias Frost
9212ed4263
Propagate USE_INTRINSICS through CMake
2015-06-19 16:11:16 +02:00
Tobias Frost
332fc8d0e7
Update description of CPU_TYPE -- it does not disable anything anymore
2015-06-19 15:56:24 +02:00
Tobias Frost
90d79158ee
Make the CPUSTRING and additional from default optimizations configureable
2015-06-19 15:50:17 +02:00
Robert Beckebans
ee2934781f
Merge remote-tracking branch 'RBDOOM/master'
2015-05-01 15:10:23 +02:00
Robert Beckebans
a7c6f4973b
Fixed warnings with Clang 3.6
2015-05-01 14:57:31 +02:00
Robert Beckebans
80f0d06a75
Merge remote-tracking branch 'RBDOOM/master'
2015-05-01 14:18:53 +02:00
Robert Beckebans
e9c56ba2df
Added polygon primitive support to collision framework
2015-04-12 12:05:38 +02:00
Robert Beckebans
0ac909fe0a
Dmap build BSP out of triangles instead of brushes
2015-04-12 11:53:54 +02:00
Robert Beckebans
61f568550e
New Blender style mesh .map primitive type
2015-04-12 11:53:05 +02:00
Robert Beckebans
05f06b7131
sRGB gamma correct rendering experiment
2015-04-12 11:11:03 +02:00
Robert Beckebans
96aff1e923
r_useSRGB fixes
2015-03-24 01:11:30 +01:00
Robert Beckebans
395ef525b1
Tweaked shadowmap bias to fight shadow acne
2015-03-19 01:27:44 +01:00
Robert Beckebans
319b659302
Tweaked shadowmap bias to fight Peter Pan effect
2015-03-19 00:31:08 +01:00
Robert Beckebans
720f8e8cdf
Merge remote-tracking branch 'RBDOOM-3-BFG/master'
2015-03-15 10:20:56 +01:00
Robert Beckebans
06d0434f32
Improved modding support and loading of custom models/anims
2015-02-25 15:45:16 +01:00
Robert Beckebans
5fb44de8a9
Merge remote-tracking branch 'RBDOOM-3-BFG/master'
2015-02-15 11:17:42 +01:00
Daniel Gibson
90b1ff0b65
Format Code with AStyle 2.05.1
2015-02-09 00:29:57 +01:00
Daniel Gibson
5f5684386e
Update astyle to 2.05.1, add astyle Linux binaries
...
Unfortunately, different versions of astyle produce slighty different
formatting, so it's important that everyone uses the same version.
Thus it makes sense to provide astyle binaries for Win32 and
Linux x86 and x86_64 (to prevent usage of outdated versions from package
managers etc)
Most probably it would be easy to add an OSX astyle binary as well and
call that from astyle-code.sh if applicable.
I don't have a Mac, though, so someone else will have to do it ;-)
2015-02-09 00:24:37 +01:00
Robert Beckebans
4c596dcf0d
Fixed Gamepad LS and RS in PDA screen. refs #214
2015-02-05 20:11:09 +01:00
Daniel Gibson
015748f823
SDL backend: generate SE_MOUSE_LEAVE events
...
The SDL backend now creates SE_MOUSE_LEAVE events when the mouse leaves
the window (both SDL1.2 and SDL2). For some reason, both the SWF GUI
backend and CEGUI are interested in this.
2015-01-28 17:32:35 +01:00
Daniel Gibson
aa51d38b3c
Support up to 16 mouse buttons (SDL-only)
...
Mostly necessary because SDL doesn't properly return mouse buttons X1/X2
on Linux/X11, see https://bugzilla.libsdl.org/show_bug.cgi?id=2310
Not sure if this is possible with Windows, DIMOFS_BUTTON7 seems to be
the highest constant there.
Also passing sdlevent.wheel.y directly as scroll delta
2015-01-28 17:32:35 +01:00
Daniel Gibson
65d1428dd1
Make Unicode input work for SDL
...
The d3bfg internal SE_CHAR events were documented as "evValue is an
ascii char", but are actually at least UTF-16, as returned by
Windows WM_CHAR events.
We now assume it's UTF-32 (UTF-16 has the same values mostly)
and the SDL backend now puts UTF-32 chars into SE_CHAR events.
In the Windows backend I make sure that no surrogate UTF-16 chars are
emitted + I added support for WM_UNICODE messages.
Now I can input Ümläuts intö the conßole window \o/
2015-01-28 17:32:35 +01:00
Robert Beckebans
d691002296
Bumped engine version to 1.0.3 to prepare for new release
2015-01-18 12:13:24 +01:00
Robert Beckebans
c0f537ae7e
Made SDL 2 the default
2015-01-18 12:02:48 +01:00
Daniel Gibson
e37671d6ac
Change SDL event-handling, mostly for keyboard input
...
Sys_GetEvent()
* renamed res_none to no_more_events, because that's what the
caller assumes when getting that event
* don't return res_none on unhandled events, instead get the next event
until there is a handled event or no more events
(=> if -> while, return res_none -> continue)
* Mapping to Doom3 keynum handled differently for SDL1 vs SDL2, see below
For SDL2 we don't use SDL_KeyToDoom3Key on the keysym anymore, but map
the SDL2 scancode to Doom3/Direct-Input scancodes instead (the keynum_t
K_* constants are really used as scancodes!).
This mapping is done in sdl2_scancode_mappings.h scancodeToKeyNum[].
In sdl_events.cpp there are static SDLScanCodeToKeyNum() and
KeyNumToSDLScanCode() functions that use this scancodeToKeyNum[] array.
Sys_GetKeyName() now does something sensible for SDL2 by using
KeyNumToSDLScanCode()
This is also used to implement idKeyInput::LocalizedKeyName() for SDL-targets
(for SDL1.2 the behavior doesn't change much, though, as it doesn't have
consistent scancodes - Sys_GetKeyName() will just return NULL and
idKeyInput::LocalizedKeyName() will fall back to the old default)
2015-01-06 21:22:12 +01:00
Daniel Gibson
0e1de30fe9
enhance neo/sys/sys_public.h enum keyNum_t with some missing keys
...
turns out that both d3bfg and cegui use direct input scancode numbers
to represent keys internally.. now isn't that fucking convenient!
d3bfg was missing some, though, so I added them
2015-01-06 21:22:05 +01:00
Daniel Gibson
b9f5d20e93
improved SDL2 textinput handling
...
strdup() and free() aren't really the right tool if the size of the
buffer is known anyway (and quite small, currently 32 chars)
while at it, I renamed s and s_pos to str and str_pos for better
readability
2015-01-06 21:21:58 +01:00
Robert Beckebans
940d9f8a06
Formatted Code with AStyle
2014-11-25 11:42:08 +01:00
Wintermute0110
bc6cab3ab0
* SDL joystick/gamepad support implemented and working.
...
* Tested in Linux with both XBox360 wireless and Logitech F710 gamepads.
Should work with any XBox gamepad clone wired/wireless.
* Works well using SDL 1.2 or SDL 2.0
* SDL scan values are currently hard-coded. Note sure how to implement
remapping at the moment (config file, GUI, ...).
2014-11-21 02:47:21 +09:00
Wintermute0110
46180de310
* Some debug stuff (now commented in) used to debug joystick/gamepad events.
2014-11-20 06:13:07 +09:00
Wintermute0110
2a71e3a31f
New sh script to make standard debug version in linux. Also included the ONATIVE parameter by default in Release version. SDL2 is deacctivated by default, so there is no need to pass that argument to CMake.
2014-11-19 03:39:18 +09:00
Robert Beckebans
354208eb66
Renamed CMake -DFORRT option to -DWINRT
2014-11-15 14:43:44 +01:00
SubjectName
9803c9da0e
Add option for WinRT.
...
"if( ${CMAKE_SYSTEM_VERSION} EQUAL 6.2 )" works for all versions of
Win8.
These changes will suppress compile error when building except for RT.
2014-11-15 00:50:03 +09:00
Robert Beckebans
54fb0ec6ad
Merge pull request #204 from coldtobi/use-system-glew
...
USE_SYSTEM_LIBGLEW -- Use the system libglew instead of the bundled one
2014-11-12 19:56:23 +01:00
Tobias Frost
2550f84fbb
USE_SYSTEM_LIBGLEW -- Use the system libglew instead of the bundled one
2014-11-12 19:35:38 +01:00
Robert Beckebans
0722718307
Disabled GPU Skinning for Mesa driver #187
2014-11-12 12:39:53 +01:00
Robert Beckebans
d295a6aea9
Disabled usage of OpenGL 3.2 compatibility profiles for Linux #187
2014-11-12 12:34:07 +01:00
Robert Beckebans
6a906704c5
Made GL_ARB_multitexture exception for OpenGL core profiles and Mesa #189
2014-11-09 11:24:37 +01:00
Robert Beckebans
0f52880767
Astyle
2014-11-09 11:15:35 +01:00
Robert Beckebans
63b6934ad6
Merge pull request #192 from coldtobi/fix_183_libjpeg
...
Fix 183 libjpeg
2014-11-09 11:12:13 +01:00
Robert Beckebans
1f67070170
Merge pull request #190 from palmalcheg/pch_msvc_fix
...
enable WinRT XAudio2 sound, tweaks in cmake script for precompiled header ordering for QtCreator
2014-11-09 11:03:36 +01:00
BielBdeLuna
f77b3b6f71
the engine now supports all the lenguages from steam in sounds and strings
2014-11-06 16:25:25 +01:00
Tobias Frost
6bfedbfeb9
Use system's libjpeg when -DUSE_SYSTEM_LIBJPEG is used
...
note, that it is expected that this libjpeg is newer, therefore some files needs to be patched
to compile.
This patch is used for Debian -- Debian uses libjpeg-turbo, but I assume that it will also compile
against a recent libjpeg.
2014-11-01 17:59:25 +01:00
Tobias Frost
a8d9c2b489
patch to use system's libpng when enabled by the CMake option USE_SYSTEM_LIBPNG
2014-11-01 16:33:17 +01:00
Tobias Frost
cbbf473d59
patch to use system's zlib when enabled by the CMake option USE_SYSTEM_ZLIB
2014-11-01 14:13:16 +01:00
palmalcheg
27387e664b
cmake definition on winrt detection, log device info
2014-10-27 22:20:20 +02:00
palmalcheg
aab81a225f
sound for WinRT
2014-10-27 04:39:10 +02:00
unknown
f039e3c668
precompiled for msvc fix
2014-10-26 03:36:49 +03:00
BielBdeLuna
df69087fd6
ffmpeg fix so we can compile it without deprecated functions
2014-10-24 10:44:26 +02:00
Dan McGoo
2288ab82bb
Fix loading saved game prior to commit 7e21048
crash.
...
Commit 7e21048
introduced a change in the save game files strutcure.
This makes the game crash whenever you load saved games created with a prior version of the code.
This commit tends to fix this issue.
However, save game files created between commit 7e21048
and the current one will not load correclty.
Unless the user change the saved game's saveVersion number in game.details.
2014-10-09 18:54:35 +09:00
Dan McGoo
8b28e50cd4
Write the renderprogs under the savepath.
...
Because under *nix systems, the basepath may be write protected for the user.
2014-10-07 23:20:20 +09:00
Dan McGoo
e719a8de0f
Add native arch compilation option.
2014-10-07 23:12:42 +09:00
Robert Beckebans
0d3e4733af
glMapBufferRange Bugfix for Nvidia WHQL drivers >= 344.11.
...
Thanks to Mathias Heyer by Nvidia for helping this out.
2014-09-27 10:56:34 +02:00
Robert Beckebans
72f986077b
Removed unnecessary USERCMD_HZ. #129
2014-08-31 16:24:56 +02:00
BielBdeLuna
7e21048ba3
skipping cut scene working
2014-08-31 02:21:49 +02:00
Robert Beckebans
ce0e83ebca
Merge pull request #160 from BielBdeLuna/envshot
...
Envshot and cubemap to skymap transforms
2014-08-25 17:17:47 +02:00
BielBdeLuna
1f993688c6
image.h included
2014-08-25 16:13:16 +02:00
BielBdeLuna
fc7ed840bc
astyle and other wonderbar stuff!
2014-08-25 15:25:54 +02:00
BielBdeLuna
fedaf6b691
envshot and others working
2014-08-24 00:10:50 +02:00
Robert Beckebans
9147482a37
Added check for Gallium drivers to use GLSL ES 3.00. #137
2014-08-20 13:07:59 +02:00
BielBdeLuna
d7345d6168
envToSky not working yet
2014-08-20 12:12:01 +02:00
Robert Beckebans
7e49606cc8
Removed ARB endings from OpenGL calls
2014-08-20 11:09:02 +02:00
Robert Beckebans
f9ff46d03d
Removed include of SDL_syswm.h because it creates problems on Kubuntu 14.04 with Mir
2014-08-20 00:30:39 +02:00
BielBdeLuna
095cf836c6
screen shots are PNG and envshots are TGA, but still envshots come out somewhat wrong
2014-08-19 11:35:50 +02:00
BielBdeLuna
706d98f24c
now envshot does the target renderers at a proportionatesize and unskewed, but still the first of them fails.
2014-08-18 03:38:55 +02:00
BielBdeLuna
71b26cf128
envshot working but not correctly
2014-08-16 23:20:46 +02:00
Robert Beckebans
195b99e39f
Removed usage of Sys_GetSystemRam(). refs #164
2014-08-06 11:35:42 +02:00
Robert Beckebans
45b0075a75
VectorSet compile fix. refs #146
2014-08-06 11:27:11 +02:00
Robert Beckebans
05b21ff3ad
Updated embedded Cg shaders
2014-08-02 15:10:06 +02:00
Robert Beckebans
e03ed8769d
Small corrections to dmap
2014-08-02 15:09:25 +02:00
Robert Beckebans
352df659a8
Replaced ( void ) with ()
2014-08-02 14:48:04 +02:00
Pat Raynor
125191b866
Added back dmap and aas compiler from original Doom 3 GPL release
2014-08-01 03:07:00 -04:00
Pat Raynor
d2ebebca35
Fix classic doom define logic in XAudio2 sound backend
2014-08-01 02:37:00 -04:00
Pat Raynor
6f65394d97
Removed the useless Sys_GetSystemRam and Sys_GetVideoRam
2014-08-01 02:36:04 -04:00
Pat Raynor
afeab489dd
Add more windows versions...
2014-08-01 02:35:12 -04:00
Robert Beckebans
f5dd0611d5
Merge pull request #140 from darealshinji/patch-1
...
use av_frame_alloc() if lavc is >= 55.28.1
2014-07-21 10:04:12 +02:00
Robert Beckebans
77f65454f2
Merge pull request #143 from jonathangray/mesa-shader-fix
...
make a shader work with Mesa by avoiding an implicit type conversion
2014-07-21 10:00:16 +02:00
Jonathan Gray
86216aa708
Fix memory corruption in timidity resampling code.
...
From Sam Lantinga in SDL_mixer 1.2.8:
http://lists.libsdl.org/pipermail/commits-libsdl.org/2007-July/008673.html
Fixes a crash on OpenBSD.
2014-07-20 22:58:43 +10:00
Jonathan Gray
79b8e04e95
avoid an implicit type conversion in a shader
...
renderprogs/interactionSM.pixel does not compile with the Mesa
shader compiler due to a an implicit type conversion.
This gives a console warning on a release build and fatally
asserts on an debug build:
0:135(19): error: could not implicitly convert operands to arithmetic operator
Avoid this by changing an int declaration to a float.
2014-07-20 21:25:24 +10:00
darealshinji
f1d2d2c459
use av_frame_alloc() if lavc is >= 55.28.1
2014-07-07 16:40:12 +02:00
Mike Swanson
1c56560cc4
Change default Linux path to a generic and standard name
...
While the game so far has no official release on Linux, we cannot
depend on any pre-installed path for the game. Even if it were, it
would likely be a steam exclusive and constrained to
$HOME/.local/share/Steam ...
Instead, this adopts a more typical Debian-style path used for game
data, that is putting it into /usr/share/games. This is already the
path I have chosen when making the doom3bfg-data package[1] for the
Arch Linux AUR, and currently both packages for RBDOOM-3-BFG patch
this file in order to use this path. The more generic path name can
facilitate the use of any other forks of BFG Edition that may come
along, and everyone will benefit by sharing the same data path.
[1] https://aur.archlinux.org/packages/doom3bfg-data/
2014-05-28 19:19:24 -07:00
Robert Beckebans
79c4b3ef98
Fixed SDL 1.2 support
2014-05-22 09:55:25 +02:00
Radegast
e1f8597360
Use SDL to find Application Support path. #87
2014-05-22 00:33:58 +01:00
Radegast
c76e9a26ef
Removed objective-c++ code. #87
2014-05-22 00:07:34 +01:00
Radegast
4045be32b1
Replaced procfs dependent functions with native calls on OS X. #87
2014-05-21 22:31:18 +01:00
Robert Beckebans
6d0765f3e3
Fixed mouse release comment #122
2014-05-20 23:50:53 +02:00
Robert Beckebans
746c9ce20a
Merge pull request #120 from JanSimek/master
...
Replaced MACOS_X define with standardised __APPLE__. #87
2014-05-20 23:35:59 +02:00
Robert Beckebans
ae4ef25160
Keep mouse grabbed when opening a PDA or menu. fixes #122
2014-05-20 23:33:57 +02:00
Radegast
b8676a513f
Replaced MACOS_X define with standardised __APPLE__. #87
2014-05-20 13:51:53 +01:00
Robert Beckebans
be7d912cf2
Just to be safe. Changed Sys_Yield()
2014-05-20 09:31:40 +02:00
Robert Beckebans
05248cce6d
AStyle
2014-05-20 09:29:08 +02:00
Radegast
5304284e90
Added CLOCK_REALTIME support to our custom clock_gettime() function for OS X. #87
...
The monotonic part was written by Gavin Beatty
https://github.com/gavinbeatty/python-monotonic-time/blob/master/darwin.c
2014-05-19 22:53:46 +01:00
Radegast
ca5c463bbd
Added clock_gettime() for OS X which always returns monotonic time. #87
2014-05-19 16:53:20 +01:00
Radegast
764b067825
Avoid 'unknown event' spam when testing with touchpad. #87
2014-05-19 15:52:33 +01:00
Radegast
0ae98f62c4
It's no fun without textures. #87
2014-05-18 23:49:03 +01:00
Radegast
9b4f849cd5
Get RAM in MB. #87
2014-05-18 23:33:08 +01:00
Radegast
812fb78d52
Initial OS X support. #87
2014-05-18 23:14:28 +01:00
Robert Beckebans
185f2aaf90
Disabled some GL_CheckErrors() calls that can be a slowdown
2014-05-18 15:17:15 +02:00
Robert Beckebans
952907fa77
ATI hotfix for shadow mapping. #116
2014-05-17 10:53:14 +02:00
Robert Beckebans
63add75e7f
Disabled MSAA 16x option which is a performance killer in combination with shadow mapping
2014-05-16 23:57:17 +02:00
Robert Beckebans
66889f5c81
Bumped engine version to 1.0.2
2014-05-16 22:49:23 +02:00
Robert Beckebans
54c31bff8f
Fixed r_shadowMapJitterScale for Poisson disc algorithm
2014-05-16 22:32:56 +02:00
Robert Beckebans
3dcade4c15
Updated embedded shadow mapping using rotated Poisson disc
2014-05-16 21:52:31 +02:00
Robert Beckebans
c17773306c
Revert "Changed r_useShadowMapping 1: medium+faster, 2: high quality"
...
This reverts commit 87b0040f92
.
Conflicts:
neo/renderer/RenderSystem_init.cpp
neo/renderer/tr_backend_draw.cpp
neo/renderer/tr_local.h
2014-05-16 21:50:49 +02:00
Robert Beckebans
ef9869972d
Improved shadow mapping performance using randomly rotated Poisson discs
2014-05-16 21:33:39 +02:00
Robert Beckebans
7f0f7f8a41
Commented out #include <inttypes.h>. fixes #112
2014-05-16 10:47:42 +02:00
Robert Beckebans
e0c8243ee7
Make high quality shadow mapping the default
2014-05-16 00:22:34 +02:00
Robert Beckebans
87b0040f92
Changed r_useShadowMapping 1: medium+faster, 2: high quality
2014-05-16 00:14:42 +02:00
Robert Beckebans
cd3ed5a927
Sacrificed texture bias option for shadows option. fixes #109
...
We can't add new graphics options without altering the original Flash menu
files which we don't have. I disabled the r_lodBias functionality which
can make the game look worse by adding a bias to the texture lookup
functions which cause choosing texture mip maps that are smaller than the
original image size in every view even though we want the first mip map
level 0 which is the best quality.
2014-05-15 23:46:53 +02:00
Robert Beckebans
d356c6e156
Merge remote-tracking branch 'RBDOOM-3-BFG/master'
...
Conflicts:
neo/renderer/RenderProgs.cpp
neo/renderer/RenderProgs.h
neo/renderer/RenderWorld_portals.cpp
neo/renderer/tr_backend_rendertools.cpp
2014-05-15 17:03:28 +02:00
Robert Beckebans
e13fc0f4e9
Added cvar r_useHalfLambertLighting to make it optional, it requires reloadShaders
2014-05-15 16:37:55 +02:00
Robert Beckebans
42874cfd05
Added graphics option to make soft shadows optional
2014-05-15 12:14:37 +02:00
Robert Beckebans
c300acd507
Fixed typo. Now all videos should work on Linux. refs #100
2014-05-15 10:48:37 +02:00
Robert Beckebans
837cb4dff2
Changed file testing for .bik videos to support fs_game. fixes #100
2014-05-14 23:14:37 +02:00
Robert Beckebans
ee09662c10
Added custom content support by looking for all content in all maps/*.resources.
...
This changes the filesystem to work a bit more like previous id tech
engines and allows to run mods and custom content like the Wulfen high
resolution textures in those mods with
+set fs_game <modname> +set fs_resourceLoadPriority 0
2014-05-14 22:32:34 +02:00
Robert Beckebans
26bb497b3c
Supress warnings about failed #include global.inc when using embedded Cg shaders
2014-05-14 19:14:21 +02:00
Robert Beckebans
a66859f09c
Only use 2048^2 shadow maps for cascaded shadow mapping
2014-05-14 18:57:12 +02:00
Robert Beckebans
4a68a5ef59
Made interactionSM shader sampler loop to use r_shadowMapSamples many iterations
2014-05-14 18:49:56 +02:00
Robert Beckebans
7d6d8b4641
Reduced FFmpeg debug console prints
2014-05-12 20:02:20 +02:00
Robert Beckebans
a67f99acda
Fixed shadow mapping problems with the ATI Catalyst driver
2014-05-12 19:54:09 +02:00
Robert Beckebans
c1b7308862
Fixed problems when building for Win64 and using FFmpeg. fixes #106
2014-05-12 09:51:41 +02:00
Robert Beckebans
f95076984f
Shadow LOD fix for parallel lights
2014-05-11 22:59:21 +02:00
Robert Beckebans
0eaaea4b96
Improved shadow mapping performance using the shadow LOD and tweaked
...
polygon offsets to fight shadow acne
2014-05-11 22:30:01 +02:00
Robert Beckebans
5153422d0d
Added shadow LOD calculation
2014-05-11 17:24:24 +02:00
Robert Beckebans
6d25a20b80
Updated ENGINE_VERSION
2014-05-11 14:44:31 +02:00
Robert Beckebans
fc51a7cf70
Updated embedded shaders
2014-05-11 14:37:58 +02:00
Robert Beckebans
2307a94d53
Added r_forceShadowMapsOnAlphaTestedSurfaces 1
2014-05-11 14:36:51 +02:00
Robert Beckebans
0ca7667fd2
Removed glewExperimental = GL_TRUE hack for SDL 2
2014-05-11 12:28:29 +02:00
Robert Beckebans
5c0fedf190
Patched GLEW to get the extensions with OpenGL >= 3.2 for the case that glGetString(GL_EXTENSIONS) fails
2014-05-11 12:19:10 +02:00
Robert Beckebans
f72d98a1eb
Disabled shadow mapping for Mesa drivers fixes #103
2014-05-11 11:49:14 +02:00
Robert Beckebans
11456a231d
Changed Mesa backend to output GLSL ES 3.00 in order to support shadow mapping
2014-05-11 11:30:56 +02:00
Robert Beckebans
14f87fe9db
Added support for loading .png image files as textures and changed screenshot command to write in .png format
2014-05-10 18:15:33 +02:00
Robert Beckebans
0c8463ea5b
Added -Wno-inline-new-delete for Clang
2014-05-10 16:11:47 +02:00
Robert Beckebans
887773cb24
Removed dangerous and obsolete memset
2014-05-10 16:03:28 +02:00
Robert Beckebans
96e879361d
Fixed a problem with the searching for embedding local and embedded shaders
2014-05-10 16:00:18 +02:00
Robert Beckebans
12fd563fce
Merge branch 'advanced-renderer-upgrades' of github.com:RobertBeckebans/RBDOOM-3-BFG into advanced-renderer-upgrades
2014-05-10 15:30:55 +02:00
Robert Beckebans
ade5c434f8
Replaced QGL with GLEW in sdl_glimp.cpp
2014-05-10 15:30:48 +02:00
Robert Beckebans
485417ab41
Removed obsolete sdl_qgl.cpp and fixed some compile errors
2014-05-10 15:29:59 +02:00
Robert Beckebans
08cacdfe17
Added utility functions for dmap
2014-05-10 15:03:06 +02:00
Robert Beckebans
277964f074
Because I can :)
...
- Implemented soft shadows using PCF hardware shadow mapping
The implementation uses sampler2DArrayShadow and PCF which usually
requires Direct3D 10.1 however it is in the OpenGL 3.2 core so it should
be widely supported.
All 3 light types are supported which means parallel lights (sun) use
scene independent cascaded shadow mapping.
The implementation is very fast with single taps (400 fps average per
scene on a GTX 660 ti OC) however I defaulted it to 16 taps so the shadows look
really good which should you give stable 100 fps on todays hardware.
The shadow filtering algorithm is based on Carmack's research which was
released in the original Doom 3 GPL release draw_exp.cpp.
- Changed interaction shaders to use Half-Lambert lighting like in HL2 to
make the game less dark
- Fixed some of the renderer debugging/development tools like r_showTris
2014-05-10 14:40:01 +02:00
Robert Beckebans
b983156829
Updated GLEW to version 1.10.0
2014-05-10 12:12:32 +02:00
RobertBeckebans
e1661f8cde
Merge branch 'master' into glew
2014-04-30 12:05:30 +02:00
RobertBeckebans
6b2793ed6a
Removed null characters from RenderProgs_embedded.h
2014-04-28 11:29:11 +02:00
RobertBeckebans
853eaa5a00
Added missing neo/premake/embed.lua
2014-04-26 14:28:09 +02:00
Robert Beckebans
34025e08cb
Added cmake-linux-release.sh Bash script
2014-04-26 14:26:26 +02:00
RobertBeckebans
cacf1bb46b
Embedded Cg renderprog sources into the renderer using Lua/Premake. Now the renderer can export the renderprogs to any GLSL version without having the user to copy the renderprogs/* shaders to the Doom 3 BFG installation directory. fixes #95
2014-04-26 14:13:25 +02:00
RobertBeckebans
7008c661a5
Removed obsolete includes
2014-04-25 20:29:36 +02:00
RobertBeckebans
60ccf3567b
Merge branch 'master' into glew
2014-04-25 20:24:30 +02:00