Commit graph

1156 commits

Author SHA1 Message Date
Robert Beckebans
93710bd694 Fixed PNG flipped upside down 2020-04-16 18:53:19 +02:00
Robert Beckebans
1972bcdad4 Added second interaction shader path for PBR so old materials don't look glossy 2020-04-16 18:08:50 +02:00
Robert Beckebans
41d8bd9ec2 Fixed proper caching of _rmao PBR files as .bimage 2020-04-16 16:09:44 +02:00
Robert Beckebans
97a49323e5 Added modding tool command exportScriptEvents and updated modding docs 2020-04-14 10:31:03 +02:00
Robert Beckebans
bc7d66a740 Fixed bug when looking for PBR image timestamp 2020-04-13 18:20:45 +02:00
Robert Beckebans
56a2ec0dfc Added HACK to look for PBR maps with the suffix _rmao 2020-04-13 17:31:07 +02:00
Robert Beckebans
d03c4cc398 Removed FFmpeg 32 bit files and updated OpenAL Soft to 1.20.1 64 bit 2020-04-13 14:04:34 +02:00
Robert Beckebans
da87dc6495 Removed unused 32 bit CMake Windows configs 2020-04-13 13:14:06 +02:00
Robert Beckebans
9fb3f686a1 Updated README with some documentation about the modding support 2020-03-31 21:01:44 +02:00
Tobias Frost
bd9edf3166 Fix some include paths that caused build failures while Debian packaging. 2020-03-31 12:17:26 +02:00
Tobias Frost
691cfa7cce Patch to support libpng1.4 and libpng1.6 alongside.
(Note that libpng also would support the new accessors.
However, I hope that this way the patch could be more acceptable for you.)
2020-03-31 12:02:41 +02:00
Robert Beckebans
33129bf5b8 Fixed game time stats 2020-03-29 18:19:03 +02:00
Robert Beckebans
62466b41b7 Use ImGui to draw renderer stats for com_showFPS 1 2020-03-29 17:12:11 +02:00
Robert Beckebans
0f8ee906da Experimental changes to test PBR texture set 2020-03-28 17:56:12 +01:00
Robert Beckebans
f97bfe3eb4 Don't try to create an OpenGL 5.0 context ... 2020-03-28 17:53:39 +01:00
Robert Beckebans
bf59190a7c Tweaked Rust coding style quotation 2020-03-27 18:59:11 +01:00
Robert Beckebans
f0c21ad7a6 Turned FFmpeg on by default for faster development in Debug Build 2020-03-27 18:58:12 +01:00
Robert Beckebans
de1cecabc2 Updated ffmpeg-win64 development files to ffmpeg-4.2.2-win64-dev.zip content 2020-03-27 18:57:04 +01:00
Robert Beckebans
163a31f96c
Merge pull request #455 from coldtobi/fix_sdl2_findpackage
Use SDL2's own find_package, instead of the shipped one.
2020-03-27 14:34:55 +01:00
Robert Beckebans
0ac1c237d9 Fixed OpenGL build 2020-03-22 16:56:04 +01:00
Robert Beckebans
3485c680aa Updated embedded HLSL shaders generated by premake 2020-03-22 15:44:52 +01:00
Robert Beckebans
fb37d719d5 Merge branch 'vulkan' 2020-03-22 15:29:55 +01:00
Robert Beckebans
af701aea33 Vulkan works on Kubuntu 19.10, g++ and open source drivers for the AMD RX 580 2020-03-22 15:29:24 +01:00
Robert Beckebans
efeae230a4 Updated .plan and changelog 2020-03-22 14:22:20 +01:00
Robert Beckebans
2bcd5e98a8 Version bump 1.3.0 to differentiate from latest public build 2020-03-22 13:51:30 +01:00
Robert Beckebans
6b524f0bcb Turned off HDR and shadow mapping defaults for Vulkan builds 2020-03-22 13:46:58 +01:00
Robert Beckebans
367d5af7a2 Fixed Windows build 2020-03-22 13:22:45 +01:00
Robert Beckebans
98630cf6ec Deleted cmake configs for VS 2010 and 2012 2020-03-22 12:27:27 +01:00
Robert Beckebans
bcb61ce306 Applied Astyle 2020-03-22 12:23:52 +01:00
Robert Beckebans
110996b430
Merge pull request #459 from ericwomer/vulkan-merge-2
Vulkan SDL Fixes by Eric Womer
2020-03-22 12:16:16 +01:00
Tobias Frost
988420c8f6 Use SDL2's own find_package, instead of the shipped one.
The shipped one has some issues e.g with multiarch support and
breaks there. Newer SDL2 (>= 2.0.4) ships a cmake file which
can be works.

So the downside is that SDL2 version needs to be at least 2.0.4.

(This is only a SDL2 issue, SDL1 is not affected.)
2020-02-23 17:25:24 +01:00
Robert Beckebans
bce8237dc1
Merge pull request #453 from Calinou/fix-muzzle-flashes-option-casing
Tweak Muzzle Flashes option casing in the menus for consistency
2020-02-02 15:51:21 +01:00
Hugo Locurcio
3f50abbba4
Tweak Muzzle Flashes option casing in the menus for consistency 2020-01-18 18:17:56 +01:00
Eric Womer
596fbb18ca RenderBackend.h:
* Renamed vkwindow to sdlWindow in struct vulkanContext_t to matche the rest of the struct naming conventions.

Image_VK.cpp:
  * disabled printing "Vulkan Image alloc " to the terminal, flooding it
  with data

RenderBackend_VK.cpp:
  * Re-enabled r_vkEnableValidationLayers enabling/disabling Vulkan
  validation checking, I had it hard-coded to true for testing reasons.
  * static void DestroySwapChain():
    * I don't know if the changes I introduced here are helping or not,
    or even doing anything, so this part can be ignored or changed back.
  * GL_StartFrame() and GL_BlockingSwapBuffers():
    * VkResult for these two functions, vkAcquireNextImageKHR and
    vkQueuePresentKHR, don't need to return VK_SUCCESS for the
    application to be valid, so handle them differently here. There may
    be others like this, but I don't know.

qvk.h:
  * Since VK_USE_PLATFORM_* is defined in the CMakeLists.txt file, for
  now anyways, use them to wrap the correct platform headers instead of
  defining them here.

sdl_vkimp.cpp:
  * Some debug printing changes, from GL to Vulkan, since this is for
  the Vulkan API.
2020-01-01 14:31:28 -05:00
Eric Womer
4f38ce0633 CMakeLists.txt:
* Added defining VK_USE_PLATFORM_* during CMake configuration, one for
  windows and one for UNIX
  * Fixed a case issue when adding Vulkans include directory
2020-01-01 14:25:38 -05:00
Robert Beckebans
88cf0a2d3d
Merge pull request #451 from ericwomer/cmake-fixes
CMake fixes for setting the c++ standard
2019-12-31 19:05:18 +01:00
Robert Beckebans
beb13673a2
Merge pull request #448 from itaranto/add_instructions_for_opensuse
Add compilation instructions for openSUSE
2019-12-31 18:47:22 +01:00
Eric Womer
ae07018a3c Removed an inclusion guard as it is needed for Physical Device
extensions and not Instance extensions.
2019-12-30 15:39:41 -05:00
Eric Womer
e9ef21ce5c SDL2/Vulkan on Linux, still broken for Doom3BFG 2019-12-30 15:20:15 -05:00
Eric Womer
8938733050 Added Sascha Willems FindXCB.cmake module for finding the XCB library
and headers
2019-12-29 17:07:51 -05:00
Eric Womer
7145d9b3f1 Compiling/Linking/Running, but no rendering, there is audio. glConfig as
a temp fix for the surfaces having a width and height of 0 since
renderSystem->getHeight()/getWidth() access
glConfig.nativeResolutionHeight/Width directly.
2019-12-29 17:05:33 -05:00
Eric Womer
528da79001 Merge branch 'kung' into vulkan-merge-2 2019-12-29 12:14:29 -05:00
Eric Womer
f1e650e2c4 Applying KungFuJesus's patch from
https://github.com/RobertBeckebans/RBDOOM-3-BFG/issues/398#issuecomment-569442019
2019-12-29 11:12:34 -05:00
Eric Womer
eeceaba261 neo/CMakeListst.txt:
* setting the c++ standard via add_compile_options caused the setting
    to bleed into the C code, which caused clang to error out the cmake
    configuration, so switched to setting it with CMAKE_CXX_STANDARD.

    Some miscellaneous spacking.

neo/CMakeLists.txt      :
neo/idlib/CMakeLists.txt:
  * Added missing -std=c++${CMAKE_CXX_STANDARD} to the precompiled header
    compile flags since the precompiled header process was custom and
    using CMAKE_CXX_STANDARD didn't set it automatically.
2019-12-28 21:38:39 -05:00
Eric Womer
8eeb49f98c .gitignore:
* Added generated *.gch files to the ignore list
2019-12-28 14:38:03 -05:00
Eric Womer
c3c75004f9 CMakeLists.txt:
* FORCE_COLOR_OUTPUT, force diagnostic color output for clang and gnc
      compiler when using ninja build
  * COMPILE_COMMANDS, force cmake to generate the compile_commands.json file
  * Use set() for setting c++ standard since with clang it bleeds through
      down to C source files causing errors with cmake and can cause other
      issues with C source files and  set(CMAKE_CXX_STANDARD 11) forced
      the use of gnu++11 as the standard.
2019-12-28 14:28:30 -05:00
Eric Womer
62170b3d06 CMakeLists.txt:
Use CMAKE_CXX_STANDARD to specify c++11 compile flags instead of
  hardcoding -std=c++11 since that causes issues with C files,
  specifically with clang [9.0]
2019-12-28 13:20:13 -05:00
Eric Womer
13ab43f5e2 .gitignore:
Added the vim backup subscript ~ [*~]
  Added CLion generated directories [cmake-build-*, .idea]
2019-12-28 12:59:47 -05:00
ignacio
3b4ca0b6eb Add compilation instructions for openSUSE 2019-12-08 19:15:21 -03:00
Robert Beckebans
fa3df4e2d2 Fixed OpenGL backend, Added r_usePBR to toggle Image Based Lighting 2019-11-22 18:25:33 +01:00