Robert Beckebans
f7e898bb61
PBR spec probes shouldn't be linear filtered
2021-04-23 00:55:53 +02:00
Robert Beckebans
8d1e7c5afd
Lowered irradiance probe resolution to ( 16 + 2 )^2
2021-04-23 00:36:14 +02:00
Robert Beckebans
f3ee2baac8
Enable linear filtering for octahedron lightgrid probes
2021-04-23 00:21:22 +02:00
Stephen Saunders
dd6b75d009
Fix error in CMakeLists for UNIX/macOS use of SPIRV_SHADERC
2021-04-21 13:29:56 -04:00
Stephen Saunders
b14c3c21cb
Fixed segfault on exit by integrating pull request #378 by tomgreen66
2021-04-20 18:35:37 -04:00
Stephen Saunders
0aae6f0902
macOS support for OpenGL and MoltenVK, demo recording/playback improvements
2021-04-19 14:32:52 -04:00
Robert Beckebans
d11fae0c20
Don't write .exr files for empty light grid areas
2021-04-19 00:44:41 +02:00
Robert Beckebans
03c5e0273b
Small bugfixes and r_useHDR 1 is now fixed for OpenGL
2021-04-18 21:20:29 +02:00
Robert Beckebans
6bad4df47e
Lowered film grain intensity
2021-04-17 21:07:39 +02:00
Robert Beckebans
cb0e534804
First draft of new .lightgrid file format to store volume settings
2021-04-17 21:06:19 +02:00
Robert Beckebans
5c03286448
Move light grid sampling origins around if in solid like q3map1 did
2021-04-16 21:16:44 +02:00
Robert Beckebans
b0238772a8
It's now bakeEnvironmentProbes and bakeLightGrids
2021-04-16 13:21:43 +02:00
Robert Beckebans
36e7b2e86e
Skip entire area if lightgrid count exceeds limit
2021-04-16 10:37:12 +02:00
Robert Beckebans
25b14756bb
Use first valid lightgrid of viewEntity areas
2021-04-15 21:28:50 +02:00
Robert Beckebans
15a9411161
Changed lightgrid texture layout
2021-04-15 18:06:50 +02:00
Robert Beckebans
2752432416
Use dynamic light grid size in shaders
2021-04-15 16:09:39 +02:00
Robert Beckebans
0596300c45
Combined lightgrid trilerp with IBL PBR lighting
2021-04-15 15:01:31 +02:00
Robert Beckebans
884658d6dd
Added lightgrid debug shader
2021-04-15 13:11:27 +02:00
Robert Beckebans
6ad03afca6
Write an irradiance atlas for each area
2021-04-14 22:17:09 +02:00
Robert Beckebans
7e16444fcc
More light grid debug code
2021-04-14 18:17:28 +02:00
Robert Beckebans
26faa5797a
r_showLightGrid 2 shows how light grid interpolation works
2021-04-14 12:55:46 +02:00
Robert Beckebans
f1e54f249b
Splitted light grid up into multiple for each BSP area
2021-04-13 19:53:02 +02:00
Robert Beckebans
99c7d58dc6
Compute irradiance for each light grid point
2021-04-13 17:51:16 +02:00
Robert Beckebans
6decaa2293
Started to bring back the Quake 3 lightgrid as irradiance cache
2021-04-13 15:50:46 +02:00
Robert Beckebans
09c9f254c8
Generated new default ambient cube with smooth SH lighting
2021-04-10 17:26:51 +02:00
Robert Beckebans
7d2f35ab9a
Only do parallax correction test for local cubemaps
2021-04-10 17:23:04 +02:00
Robert Beckebans
69f17a61fd
Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG
2021-04-10 16:55:57 +02:00
Robert Beckebans
d8188cf90b
Fixed problems with Mesa GLSL compiler
2021-04-10 16:55:54 +02:00
Robert Beckebans
2f8ae72431
Fixed Linux build issues. Tested with Clang
2021-04-10 09:53:52 +02:00
Robert Beckebans
5d26aaddb3
Added parallax correction for local cubemaps
2021-04-09 22:28:09 +02:00
Robert Beckebans
c40ab1e7e8
Fixed irradiance fireflies using spherical harmonics
2021-04-08 18:36:23 +02:00
Robert Beckebans
4a3ba04317
Simplified R_MakeAmbientMap
2021-04-08 12:41:40 +02:00
Robert Beckebans
ee4085b388
Added spherical harmonics math
2021-04-08 12:06:14 +02:00
Robert Beckebans
36105c277c
Added missing shaders from last commit
2021-04-07 10:04:39 +02:00
Robert Beckebans
5854242d7b
Moved D3 gloss -> roughness hack to function
2021-04-06 14:27:46 +02:00
Robert Beckebans
7c3ff6466b
Minor cleanup
2021-04-01 14:23:47 +02:00
Robert Beckebans
8f82bb0fb9
Added invertGreen( normalmap.png ) material keyword
2021-03-27 22:17:05 +01:00
Robert Beckebans
9ce36e420a
Support angles keyword again for TrenchBroom
2021-03-27 18:36:50 +01:00
Robert Beckebans
97656fb9cf
Defaulted r_forceAmbient to 0.4
2021-03-26 18:40:02 +01:00
Robert Beckebans
39facaa1ac
Vulkan can handle FMT_R11G11B10F textures
2021-03-26 17:39:04 +01:00
Robert Beckebans
9fae3ccdb2
Vulkan backend compiles again
2021-03-26 13:35:05 +01:00
Robert Beckebans
d9112cd381
Merge branch '497-envprobe-rendertarget'
2021-03-26 11:20:53 +01:00
Robert Beckebans
1f796a1f08
Embedded default HDR light probe data
2021-03-26 10:49:16 +01:00
Robert Beckebans
d5a4dda542
Added console command makeImageHeader
2021-03-26 10:13:42 +01:00
Robert Beckebans
5bbca6f98c
Use id Tech 5 multithreading for generateEnvironmentProbes
2021-03-23 21:53:21 +01:00
Robert Beckebans
81905fb735
Delete temporary scene captures after processing
2021-03-23 10:00:38 +01:00
Robert Beckebans
8c397e9463
Bugfixed and flipped environment probe glReadPixels output
2021-03-23 09:36:39 +01:00
Robert Beckebans
2391ba1b43
Implemented GGX Split Sum approximation using a 2D atlas trick
2021-03-22 20:45:25 +01:00
Robert Beckebans
779534626f
Added LoadEXR using tinyexr, LoadHDR using stb_image
2021-03-17 21:01:43 +01:00
Robert Beckebans
afae2740bf
Fixed unnessary warnings with VS2017
2021-03-15 21:21:56 +01:00
Robert Beckebans
30b88cc197
Ran Astyle
2021-03-15 21:16:11 +01:00
Robert Beckebans
4f55ec094d
Merge pull request #538 from r-a-sattarov/master
...
tiny improvements and fixes
2021-03-15 21:14:42 +01:00
Robert Beckebans
381424f47b
Merge pull request #527 from infapi00/limit-staging-commands
...
Staging: add a limit of how many commands to stage
2021-03-15 21:14:04 +01:00
Robert Beckebans
2b28723751
Render environment probes to HDRA16F target
2021-03-14 15:59:02 +01:00
Robert Beckebans
71e2ea9aa3
Added extra rendertarget for environment probes
2021-03-14 13:22:17 +01:00
r-a-sattarov
3e08e14b9e
Exclude e2k/arm64/mips64 from the polygonBlock and brushBlock assertions
2021-03-12 22:13:14 +03:00
Robert Beckebans
bb2a5e523c
Fixed Valve 220 projections, allow ingame light editor to save it
2021-03-12 18:13:33 +01:00
r-a-sattarov
0f6b6f53b3
sys_defines.h: added various PC architectures
...
risc-v, sparc
2021-03-11 22:16:24 +03:00
Robert Beckebans
48c2468327
Fixed crash with lightstyles code
2021-03-01 08:10:52 +01:00
Robert Beckebans
05029ab6e4
Use env/UAC2_[amb/spec] probe data as fallback
2021-02-28 19:58:40 +01:00
Robert Beckebans
c47e3057d3
Don't blend AO with IBL in Vulkan for now
2021-02-26 23:17:29 +01:00
Robert Beckebans
a12a4b8352
Merge pull request #521 from infapi00/depthBounds-optional
...
Make depthBounds optional for the Vulkan renderer
2021-02-26 19:29:25 +01:00
Robert Beckebans
d42762e5ac
Merge branch 'master' of github.com:RobertBeckebans/RBDOOM-3-BFG
2021-02-26 19:26:57 +01:00
Robert Beckebans
fb432d6f22
Fixed binary pacifier progress bar with native resolution
2021-02-26 19:26:52 +01:00
Robert Beckebans
c45cee1a70
Merge pull request #530 from runlevel5/patch-2
...
Exclude PPC64 from the polygonBlock and brushBlock assertions
2021-02-26 19:06:20 +01:00
Robert Beckebans
1c5a1640be
Merge pull request #529 from runlevel5/patch-1
...
Handle native flag for ppc64 architecture
2021-02-26 19:06:06 +01:00
Robert Beckebans
8a4253a643
Skip r_useVirtualScreenResolution
2021-02-25 19:36:59 +01:00
Robert Beckebans
d394ae186f
Replaced DOOM 3 BFG icon
2021-02-25 19:30:07 +01:00
Trung Lรช
5762db9b6c
Exclude PPC64 from the polygonBlock and brushBlock assertions
...
Fixes #528
2021-02-24 11:32:19 +11:00
Trung Lรช
5ee6578df0
Handle native flag for ppc64 architecture
...
PowerPC64 LE and BE or MIPS64 does not regconise `-march` flag, instead the `-mcpu` is used instead
2021-02-24 00:06:59 +11:00
Alejandro Piรฑeiro
23f27816ad
Staging: add a limit of how many commands to stage
...
Although staging commands can be a good idea from performance pov, it
also means that we are increasing the size of the command buffer,
until the queue submission is set (in most drivers).
For example, when computing the Interactions, staged command buffers
can be easily greater that 15k. This could be a problem with
low-memory devices, like rpi4.
This patch adds a new variable to configure the maximum size of staged
commands. When that limit is reached a Flush is done (similar to the
existing limit on the UploadBufferSize).
2021-02-22 14:04:46 +01:00
Robert Beckebans
6736b288e5
Bugfixed probe indices when changing maps
2021-02-21 11:04:19 +01:00
Robert Beckebans
288359067b
Let ingame light editor handle anonymous lights
2021-02-20 19:07:08 +01:00
Robert Beckebans
1f2f6896e1
Merged Quake 1 lightstyle support from Iced-Hellfire
2021-02-20 16:24:45 +01:00
Robert Beckebans
b85db1e865
Merged stuff from Iced-Hellfire-Dev branch, no specular fix
2021-02-20 12:56:24 +01:00
Robert Beckebans
c0376eacaf
Merged some smaller bugfixes from Stephen's branch
2021-02-20 12:03:11 +01:00
Robert Beckebans
58607c2cca
Changed r_useOpenGL45 default to 1 on Win and updated docs
2021-02-17 20:52:36 +01:00
Robert Beckebans
dd9234cb1b
Fixed collision manager to load OBJ files
2021-02-17 17:56:10 +01:00
Robert Beckebans
e85415f0ce
Removed Vulkan from default VS2019 Win10 config
2021-02-17 10:09:45 +01:00
Robert Beckebans
a6bf995acc
Fixed exportFGD to make func_static dynamic for model loading
2021-02-16 18:36:24 +01:00
Robert Beckebans
7b65cb4959
Added exportFGD models parameter
2021-02-15 23:06:58 +01:00
Robert Beckebans
ac84ab968d
Allow dmap to have lights with no names
2021-02-15 19:28:39 +01:00
Robert Beckebans
0c5a6bf301
Added OBJ model support based on IcedTech 1
2021-02-14 16:42:01 +01:00
Robert Beckebans
742624d3ac
Added support for the Valve 220 .map format in dmap
2021-02-13 18:46:34 +01:00
Robert Beckebans
99bd1bffb0
Sync with D3 branch from last weekend
2021-02-10 17:42:51 +01:00
Robert Beckebans
19e207b893
Exporting to OBJ also supports .md5mesh now
2021-02-10 17:42:51 +01:00
Robert Beckebans
1867452c40
Export OBJ files along with exportFGD command
2021-02-10 17:42:51 +01:00
Robert Beckebans
4d7468e812
Improved exportFGD command
2021-02-10 17:42:50 +01:00
Robert Beckebans
f35840914c
Added cmd to export entity defs to TrenchBroom FGD
2021-02-10 17:42:50 +01:00
Robert Beckebans
96c83075aa
Updated RenderProgs_embedded.h
2021-02-10 17:27:28 +01:00
Robert Beckebans
17631b2ab7
Merge branch '497-light-probe-interpolation'
2021-02-10 16:55:21 +01:00
Robert Beckebans
cc44001456
Replaced Motion Blur system option with Filmic VFX
2021-02-10 16:50:29 +01:00
Robert Beckebans
f560ee861b
Renamed r_useFilmicPostProcessEffects to r_useFilmicPostProcessing
2021-02-10 16:35:08 +01:00
Robert Beckebans
6cff363845
Defaulted off r_showViewEnvprobes
2021-02-10 16:28:16 +01:00
Robert Beckebans
a0eb203aaf
Reorganized HLSL shaders
2021-02-10 16:27:03 +01:00
Robert Beckebans
290caeab79
CMake cleanup
2021-02-10 13:08:22 +01:00
Alejandro Piรฑeiro
8d9c71763d
Don't ask for depthClamp device feature
...
It is not used at all (VkPipelineRasterizationStateCreateInfo at
RenderProgs_VK.cpp sets it to false), so not asking for it would make
possible to support more drivers (for example, v3dv for the rpi4
doesn't support it).
2021-02-09 12:58:00 +01:00
Alejandro Piรฑeiro
a0f107ec4a
Make depthBounds optional for the Vulkan renderer
...
This is already the case for the OpenGL renderer. This feature is not
supported by all the Vulkan drivers. For example Mesa ANV with
Coffe-lake (that is relatively recent) or Mesa v3dv (Broadcom) used on
the rpi4.
2021-02-09 12:55:29 +01:00
Robert Beckebans
3b9c2ebd66
Fixed compile issues with Clang
2021-02-04 10:39:52 +01:00
Robert Beckebans
0c21076116
Reverted WriteSwfImageAtlas to write TGA again
2021-01-05 12:40:30 +01:00
Robert Beckebans
62c68d82b9
Precompiled header fix for Linux #511
2020-12-23 21:16:19 +01:00
Robert Beckebans
f1cc837fc4
Corrected call of Sys_CPUCount() in ParallelJobManager
2020-12-23 21:14:10 +01:00
Robert Beckebans
72cf7cef86
Smaller potential crashfixes from SS2 engine
2020-12-23 21:02:38 +01:00
Robert Beckebans
7f168d6415
Merge branch 'mikktspace'
2020-12-21 17:31:11 +01:00
Robert Beckebans
e7e2786b76
Only enable MikkTSpace for new assets
2020-12-21 17:30:47 +01:00
Robert Beckebans
4be8e85fe0
Add octahedron shader to Lua embed manifest
2020-12-21 15:47:41 +01:00
Stephen Pridham
e77801678f
Add support for mikktspace
2020-12-19 16:43:45 -05:00
Robert Beckebans
7eeb4d413f
Merge pull request #504 from danieleftodi/487-vulkan-crashfix-macos
...
Added build scripts for macos
2020-12-09 20:03:53 +01:00
Robert Beckebans
d1fc86ec3c
Merge pull request #501 from r-a-sattarov/master
...
Support MIPS64 architecture
2020-12-09 20:03:07 +01:00
DEft
b120a8edfb
Add build scripts for macos
2020-12-01 23:28:01 +01:00
Robert Beckebans
2498a17149
Autospawn env probes in the center of BSP areas
2020-11-30 18:27:06 +01:00
Robert Beckebans
05a3e049c5
Hack by BFA to avoid problem with decl load in game thread
2020-11-26 20:40:03 +01:00
r-a-sattarov
a0a8a8670f
Support MIPS64 architecture
2020-11-21 21:45:05 +03:00
Robert Beckebans
86ff6cea87
Fixed a problem with octahedron irradiance sampling
2020-11-15 14:01:14 +01:00
Robert Beckebans
b8907b9754
Octahedron mapping hello world in IBL shader
2020-11-14 18:02:07 +01:00
Robert Beckebans
2e580b38ad
Some experiments with octahedron probes
2020-11-14 16:04:03 +01:00
Robert Beckebans
a3aeca213d
Fixed bugs and missing non-x86 code paths in the DXTEncoder
2020-11-14 12:32:47 +01:00
Robert Beckebans
16631ad1c9
Fixed Vulkan validation layer query
2020-11-12 20:22:11 +01:00
Robert Beckebans
1115feefa7
Vulkan works again with newest SDK 1.2.154.1 on Windows
2020-11-12 10:16:56 +01:00
Robert Beckebans
6eb7925c77
Quadrupled static vertex cache limits for mods
2020-11-10 18:09:04 +01:00
Robert Beckebans
c8af9c3b0e
Fixed savegame size problem with some user maps
2020-11-06 17:46:29 +01:00
Robert Beckebans
9349b280cc
Applied astyle formatting
2020-11-05 01:32:50 +01:00
Robert Beckebans
57e4c66153
Merge pull request #492 from LWSS/clock-fix
...
Fix cpu clock-hz inaccuracy on linux
2020-11-05 01:11:11 +01:00
Robert Beckebans
a41c9b2f92
Merge pull request #480 from runlevel5/ppc64le
...
Support PPC64LE architecture
2020-11-05 01:04:34 +01:00
r-a-sattarov
1a3dfc89c2
E2K: fixed build by MCST lcc compiler when using USE_INTRINSICS=ON
...
fixed "no suitable conversion function from __m128c to float" error
2020-10-22 21:14:37 +03:00
LWSS
4cd232ca20
GetClockTicks() - keep other arch in mind
2020-10-01 14:59:11 -07:00
LWSS
65f7a305c1
Fix cpu clock-hz inaccuracy on linux
2020-10-01 02:28:58 -07:00
Tobias Frost
c24d1fd4a4
Fix relative include paths, breaking build if systems' libimgui is to be used.
2020-08-25 15:12:27 +02:00
numas13
71dc2bc90b
Fix white soft shadows glitch
...
Assigning an integer to a float variable in HLSL causes undefined behaviour in RadeonSI/MESA.
2020-08-17 23:14:20 +03:00
Robert Beckebans
3960b88cc4
Applied Astyle
2020-07-14 18:42:45 +02:00
Robert Beckebans
eeff8100e0
Merge branch 'master' into PBR2
2020-07-14 18:40:48 +02:00
Robert Beckebans
74d1fc5213
Defaulted r_ignoreGLErrors to 1
2020-07-14 18:37:41 +02:00
Robert Beckebans
74bfdfef73
Extended OpenGL Debug Callback
2020-07-14 18:35:00 +02:00
Trung Le
322764a8c2
Support PPC64LE architecture
2020-07-04 01:23:53 +10:00
IISergII
7e25d69608
platform_linux.cpp: Added sysconf use for s_numPhysicalCPUCores
...
when parsing /proc/cpuinfo fails, an alternative method will be used - sysconf() to get s_numPhysicalCPUCores value
2020-06-03 21:52:44 +03:00
Robert Beckebans
c0e76c492a
Merge pull request #466 from coldtobi/include_paths
...
Fix some include paths that caused build failures while Debian packaging
2020-05-31 23:22:30 +02:00
Robert Beckebans
de2cf327b9
Merge pull request #474 from r-a-sattarov/master
...
CMake: fixed compiler check algorithm (support of C++11)
2020-05-31 23:19:12 +02:00
Robert Beckebans
6f36e42a43
Merge pull request #399 from shmerl/master
...
Support XDG base directory specification
2020-05-31 23:02:39 +02:00
Robert Beckebans
0b18703686
Fixed multilayer bumped materials and mirrors in Vulkan
2020-05-25 21:48:41 +02:00
Robert Beckebans
8501ea46ba
Show environment probes as spheres instead of cubes
2020-05-20 18:24:45 +02:00
Robert Beckebans
624f61b025
First time that multiple environment probes work
2020-05-17 17:37:06 +02:00
Robert Beckebans
1a66dc50af
Added r_showViewEnvprobes
2020-05-17 13:29:18 +02:00
Robert Beckebans
804c16d0a4
First step at generating multiple env probes
2020-05-16 17:40:30 +02:00
Robert Beckebans
71d768cceb
Fixed all known problems with sRGB -> linear RGB conversions (fog, GUIs, screen effects)
2020-05-15 16:25:36 +02:00
Robert Beckebans
5b56ab3392
r_forceAmbient can be saved and r_antiAliasing 1 is new default
2020-05-15 16:21:48 +02:00
Robert Beckebans
8c3179f313
Fixed blending of multilayered normals
2020-05-14 17:55:53 +02:00
Robert Beckebans
7b87863a50
Fixed too dark Mars video in main menu
2020-05-14 17:55:15 +02:00
Robert Beckebans
558afdd093
Added Contrast Adaptive Sharpening (AMD) by Justin Marshal (IcedTech)
2020-05-13 21:13:43 +02:00
Robert Beckebans
5dedbc70a6
Improved filmic post processing
2020-05-12 23:38:32 +02:00
Robert Beckebans
1b3378cb94
Added Vogel Disk Sampling by Panos Karabelas
2020-05-11 23:49:04 +02:00
Robert Beckebans
99235ec92c
Optimized Filmic Dithering with precalculated Blue Noise
2020-05-10 22:10:32 +02:00
Robert Beckebans
9931fab681
Improved SSAO performance with Blue Noise
2020-05-10 15:05:46 +02:00
Robert Beckebans
d5e8380a5f
Fixed r_ssaoDebug
2020-05-10 12:58:14 +02:00
Robert Beckebans
50eb5b4537
Moved generic ImGui drawing to idGuiModel::EmitImGui
2020-05-09 17:38:00 +02:00
Robert Beckebans
f9a1c5ff36
Added high performance timer queries for OpenGL
2020-05-09 16:48:55 +02:00
Robert Beckebans
d3bc29d510
Added GPU timer queries for Vulkan
2020-05-05 01:21:29 +02:00
Robert Beckebans
14a331fadd
Made ImGui to work with the Vulkan builds
2020-05-04 17:22:51 +02:00
Robert Beckebans
33a232a840
Prevent vanilla .resource maps to be reloaded. Pull request #477
2020-05-03 15:58:51 +02:00
Robert Beckebans
faefaa4669
Updated idRenderLog to support RenderDoc and Nvidia's Nsight
2020-05-03 13:39:38 +02:00
r-a-sattarov
0f0053b143
CMake: fixed compiler check algorithm (support of C++11)
...
CXX_STANDARD supported values are 98, 11, 14, 17 and 20.
- https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD.html
2020-05-03 14:03:41 +03:00
Robert Beckebans
7eddea53f5
Merge pull request #465 from coldtobi/libpng1.6
...
Patch to support libpng1.4 and libpng1.6 alongside.
2020-05-03 02:56:46 +02:00
Robert Beckebans
b8e25612fb
Fixed several problems with the HDR light equations
2020-05-01 23:30:16 +02:00
Robert Beckebans
3f9b85d434
Fixed textureLod with Vulkan and tweaked IBL to use r_lightScale
2020-05-01 21:11:13 +02:00
Robert Beckebans
6037889a85
Implemented idRenderBackend::DBG_TestImage() for Vulkan
2020-05-01 16:52:48 +02:00
Robert Beckebans
3afb67ab8e
Fixed Bink video playback with Vulkan
2020-05-01 15:30:54 +02:00
Robert Beckebans
fa7a512ba5
Fixed support of RG16F textures with Vulkan
2020-05-01 13:52:02 +02:00
Robert Beckebans
d198ec5139
Use Astyle to format all HLSL renderprogs from now on
2020-05-01 12:50:01 +02:00
Robert Beckebans
caa9258289
Optimized shadow mapping using Blue Noise sampling.
...
This reduces the number of shadow mapping taps from 12 to 6 while
keeping very good results.
2020-04-29 01:19:53 +02:00
Robert Beckebans
2c6f2377bf
Show correct CPU string with Win64
2020-04-26 10:48:26 +02:00
Robert Beckebans
c5bfbf5457
Fixed last commit ...
2020-04-26 10:41:09 +02:00
Robert Beckebans
605944924a
Renamed r_useIBL to r_usePBR and fixed r_pbrDebug rendering
2020-04-26 10:38:28 +02:00
Robert Beckebans
c87e9e1711
Only modulate down ambient pass with SSAO
2020-04-25 18:30:40 +02:00
Robert Beckebans
4e9e15e65a
PBR environment BRDF sampling is more correct now.
...
The implementation is very close to Blender's Eevee output.
2020-04-25 16:46:03 +02:00
Robert Beckebans
1c828aee6f
Added Blue Noise based Filmic Dithering by Timothy Lottes and Chromatic Aberration
2020-04-22 22:49:24 +02:00
Robert Beckebans
9823d989c8
Added some PBR intrinsic images
2020-04-20 20:51:31 +02:00
Robert Beckebans
79b67ac310
Reenabled r_lightScale for HDR
2020-04-20 20:51:09 +02:00
Robert Beckebans
d3644b5a83
Don't flip PNG files vertically for wrong converted .tga files
2020-04-20 20:49:46 +02:00
Carlos Estrague
5836a99f7b
Initial Nvidia jetson nano with Vulkan Support
2020-04-18 21:30:06 +02:00
Robert Beckebans
c8250b184b
Added support to load RG16F texture data. Added R_WriteEXR function
2020-04-18 19:16:24 +02:00
Robert Beckebans
9872734f62
Added missing generated Image_brdfLut.h
2020-04-18 17:09:28 +02:00
Robert Beckebans
28ad01ab80
Added command makeBrdfLut for testing
2020-04-18 17:08:32 +02:00
Robert Beckebans
31df292288
PBR GPU Skinning bugfix
2020-04-18 17:07:19 +02:00
Robert Beckebans
f92c3776ff
Fixed Crash with ImGui when changing the resolution
2020-04-16 21:48:18 +02:00
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
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
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
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
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
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
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
cc3f1a78d3
Applied new Astyle settings to ImGui
2019-11-11 21:02:52 +01:00
Robert Beckebans
4a6af2d609
Applied new Astyle settings
2019-11-11 20:27:44 +01:00
Robert Beckebans
4ab1bb1821
Changed Astyle config to match Clang-Format output as close as possible
2019-11-11 20:25:31 +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
880667da54
Disabled C++11 until the code is fixed
2019-11-02 19:56:42 +01:00
Robert Beckebans
1173e20412
Merge pull request #439 from r-a-sattarov/master
...
Force activation ะก++11 for GCC/Clang/MCST lcc
2019-11-02 19:32:54 +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
e5d1e79cda
Added missing ImGui::End()
2019-10-29 17:45:18 +01:00
Robert Beckebans
d333370637
Fixed problems with newest ImGui version
2019-10-28 23:45:13 +01:00