Commit Graph

33 Commits

Author SHA1 Message Date
Wojtek Figat
e9144ff834 Fix blending between DDGI cascades on the end of the range 2024-07-24 12:21:50 +02:00
Wojtek Figat
3aa8e67551 Add option for smooth DDGI cascades blending 2024-07-18 23:51:03 +02:00
Wojtek Figat
aeff147b6d Optimize and refactor DDGI to use linear attention per-probe to dynamically control ray count and blend speed
Probes will use lower ray count when behind the camera or not correlated with the view direction or far from geometry.
Probes nearby camera or with high instability in irradiance will maintain higher ray count.
Probes that use less rays will have slower blending to reduce artifacts.
Added probe instability, attention and stats debugging for devs.
2024-07-18 08:38:23 +02:00
Wojtek Figat
352913ba14 Add random per-probe rotation for rays tracing in DDGI 2024-07-11 14:48:24 +02:00
Wojtek Figat
ae2b3d361e Fix shader warning 2024-07-08 12:56:31 +02:00
Wojtek Figat
2c4de9878e Improve DDGI cascade transitions to be smoother 2024-06-18 13:22:10 +02:00
Wojtek Figat
611961cefe Improve DDGI cascade selection by using biased world position 2024-06-18 10:52:28 +02:00
Wojtek Figat
6e0dd2064a Add nearby probes search to fill cells with missing GI data
#1614
2024-06-17 18:25:11 +02:00
Wojtek Figat
2f688892ea Fix DDGI probes scrolling to properly handle bigger scroll deltas 2024-06-13 17:04:29 +02:00
Wojtek Figat
5c5fad6bb4 Refactor DDGI probe relocation algorithm to result in smoother and more precise placement
#754 #1614
2024-06-13 17:03:23 +02:00
Wojtek Figat
3c5d2f8b47 Skip ddgi probes data preload to reduce memory wait time 2024-06-03 22:29:00 +02:00
Wojtek Figat
aad428210d Improve DDGI quality by not using lower-res cascade fallback 2024-06-02 23:02:20 +02:00
Wojtek Figat
f326fa611f Minor sdf imporvements 2024-05-24 12:41:39 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
1cf6c5233e Refactor DDGI probes to use variable ray count depending on the probe location relative to the view frustum 2022-12-15 17:33:44 +01:00
Wojciech Figat
e2319ceca3 Improve DDGI probes relocation to search 64 nearby locations around the probe 2022-07-01 14:09:59 +02:00
Wojciech Figat
56322005e2 Reformat shaders source code 2022-06-28 14:41:29 +02:00
Wojciech Figat
282b9066b8 Improve DDGI quality 2022-06-24 16:17:32 +02:00
Wojciech Figat
b69e42b79c Fix initializing activated and scrolled DDGI probes 2022-06-23 14:51:36 +02:00
Wojciech Figat
f31ba5cad8 Fix 2022-06-20 12:14:09 +02:00
Wojciech Figat
5239a2b410 Optimize DDGI probes state data from R16G16B16A16_Float to R8G8B8A8_SNorm 2022-06-20 09:49:40 +02:00
Wojciech Figat
62a39911dd Improve DDGI irradiance sampling by skipping cascades with not enough active probes at the sample location 2022-06-15 10:37:03 +02:00
Wojtek Figat
b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
Wojciech Figat
d4839b9c78 Add Global Illumination options to PostFx Settings 2022-06-10 18:48:17 +02:00
Wojciech Figat
3a8e5e0bbe Various DDGI quality improvements 2022-06-09 11:31:20 +02:00
Wojciech Figat
6a74ebd62e Add support for cascades to DDGI 2022-06-09 08:55:45 +02:00
Wojciech Figat
79220556df Improve DDGI probes relocation algorithm 2022-06-03 17:43:12 +02:00
Wojciech Figat
befaf65ab1 Optimize DDGI probes position calculation when sampling irradiance 2022-06-03 16:11:46 +02:00
Wojciech Figat
eb6050cf27 Improve probes relocation algorithm to reduce visual artifacts due to probes flickering 2022-05-27 11:44:39 +02:00
Wojciech Figat
375222a089 Initial DDGI implementation 2022-05-23 10:15:02 +02:00