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
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
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
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
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
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
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
bcb61ce306
Applied Astyle
2020-03-22 12:23:52 +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
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
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
Robert Beckebans
fa3df4e2d2
Fixed OpenGL backend, Added r_usePBR to toggle Image Based Lighting
2019-11-22 18:25:33 +01:00
Robert Beckebans
527b1fbfd5
Applied new AStyle settings
2019-11-19 21:33:59 +01:00
Robert Beckebans
08cb9730e3
Merge branch 'master' into vulkan
2019-11-19 21:29:16 +01:00
Robert Beckebans
f6701427dd
Added stencil zfail optimization aka Carmack's Reverse
2019-11-19 21:02:47 +01:00
Robert Beckebans
3632d200f9
Added anisotropic filtering to Vulkan backend
2019-11-19 20:16:58 +01:00
Robert Beckebans
e0a397e544
Added Git submodule glslang 7.10.2984 -> stable release Nov 15, 2018
2019-11-19 19:26:35 +01:00
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
Jeffrey N. Johnson
07aa70f27e
These changes allow the use of C++11.
2019-11-10 12:33:53 -08:00
Robert Beckebans
e6960cb876
Fixed rendering of stencil shadows with Vulkan
2019-11-08 20:09:57 +01:00
Robert Beckebans
57f502d167
Merged newest custom Vulkan allocator from vkDOOM3
2019-11-08 20:09:33 +01:00
Robert Beckebans
23414ee58d
Merge vkDOOM3 stencil PSO creation
2019-11-08 18:12:37 +01:00
Robert Beckebans
5e68272eac
Basic IBL works with Vulkan
2019-10-31 21:17:31 +01:00
Robert Beckebans
d4576f7cc5
Merge branch 'IBL-environment-probes2' into vulkan
2019-10-31 21:05:11 +01:00
Robert Beckebans
c676a864c6
idImage::CopyFrameBuffer
2019-10-31 21:05:00 +01:00
Robert Beckebans
e281cceb94
Fixed some depth bias pipeline problems
2019-10-31 17:33:19 +01:00
Robert Beckebans
a9c2e316b6
Added Experiment to compile GLSL to SPIR-V using shaderc
2019-10-31 15:22:28 +01:00
Robert Beckebans
377562506a
Vulkan version compiles again
2019-10-31 13:18:04 +01:00
Robert Beckebans
b8d28c426c
Fixed shader loading problems
2019-10-30 18:08:37 +01:00
Robert Beckebans
2c07265be5
Merge branch 'master' into IBL-environment-probes2
2019-10-30 10:38:44 +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
a3e8b52170
Ported ImGui light editor from OpenTechBFG
2019-10-28 15:39:00 +01:00
Robert Beckebans
3709713d79
Solved IBL branch conflicts
2019-10-19 22:51:14 +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
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
abd19e623b
E2K: strip UTF-8 BOM for lcc compiler < 1.24
2019-08-10 19:03:39 +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
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
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
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
vloup
1bf4d74710
Fix compilation due to extra static.
2018-09-30 22:11:05 +02:00
Robert Beckebans
735a925bd3
Merge branch 'vkdoom3-merge'
2018-09-30 15:49:18 +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