0
0
Fork 0
mirror of https://github.com/id-Software/DOOM-3-BFG.git synced 2025-03-16 23:51:28 +00:00
Commit graph

48 commits

Author SHA1 Message Date
Robert Beckebans
4a6af2d609 Applied new Astyle settings 2019-11-11 20:27:44 +01:00
Robert Beckebans
ab5b233e8e Fixed dynamic shadows on Vulkan. Enabled PBR GGX for interaction shaders 2019-11-11 20:07:33 +01:00
Robert Beckebans
23414ee58d Merge vkDOOM3 stencil PSO creation 2019-11-08 18:12:37 +01:00
Robert Beckebans
d333370637 Fixed problems with newest ImGui version 2019-10-28 23:45:13 +01:00
Robert Beckebans
4605ae32bd Moved OpenGL specific ImGui code to GL renderer backend 2019-10-28 20:06:10 +01:00
Robert Beckebans
eb60a374fe Fixed Linux build under Kubuntu 18.10 2019-10-04 11:56:37 +02:00
Robert Beckebans
49eb54d1ad First time Vulkan can render a map without light interactions 2018-11-03 12:01:03 +01:00
Robert Beckebans
5ec3ab6b18 Replaced GL_Cull with the new GL state bits 2018-11-01 16:30:05 +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
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
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
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
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
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
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
736ccadcb3 Started to move files so it can be compared to vkdoom3 2017-09-03 10:22:36 +02: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
d9f9db3b37 Framework for hierarchical depth buffer optimization 2016-01-09 13:38:49 +01:00
Robert Beckebans
f7fc5b59ab Misc linear RGB experiments 2015-12-21 14:12:03 +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
37005ba506 64 bit HDR with adaptive tone mapping ported from XreaL 2015-12-20 12:28:46 +01: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
d691002296 Bumped engine version to 1.0.3 to prepare for new release 2015-01-18 12:13:24 +01:00
Robert Beckebans
7e49606cc8 Removed ARB endings from OpenGL calls 2014-08-20 11:09:02 +02:00
Robert Beckebans
352df659a8 Replaced ( void ) with () 2014-08-02 14:48:04 +02:00
Robert Beckebans
185f2aaf90 Disabled some GL_CheckErrors() calls that can be a slowdown 2014-05-18 15:17:15 +02:00
Robert Beckebans
cd3ed5a927 Sacrificed texture bias option for shadows option. fixes
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
a67f99acda Fixed shadow mapping problems with the ATI Catalyst driver 2014-05-12 19:54:09 +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
c038a836f2 Merge branch 'master' into glew 2013-01-14 17:33:25 +01:00
Robert Beckebans
dd9b8a8710 Added support for precompiled headers for MSVC which reduced the compiled time from 4 minutes to 67 seconds. 2012-12-22 16:18:19 +01:00
Robert Beckebans
ff531907c7 Replaced QGL with GLEW. 2012-12-17 17:30:59 +01:00
Daniel Gibson
e42a886b29 remove deprecated glShadeModel stuff
it's only for fixed function opengl, thus it's not needed and deprecated in OpenGL 3.2
AMD's driver complains about this.
2012-12-17 01:02:53 +01:00
Robert Beckebans
3b0dabe30a Formatted code. 2012-12-08 18:20:13 +01:00
Robert Beckebans
948865123d More Linux specific fixes, especially 64 bit 2012-12-07 17:06:44 +01:00
Robert Beckebans
9cc36a111e More Linux specific fixes. idlib compiles on Kubuntu 12.10 64 bit 2012-12-06 21:31:33 +01:00
Daniel Gibson
d949bc9410 Fix compiler warnings and errors in MinGW
many of the warnings -Wreorder and #includes with invalid path because of
case-errors (windows may not care, but linux does)
2012-12-03 09:29:14 +01:00
Robert Beckebans
f55a763ca4 Formatted code using Artistic Style for better readability. 2012-11-28 16:47:07 +01:00
Brian Harris
5016f605b8 Initial commit 2012-11-26 12:58:24 -06:00