Commit Graph

54 Commits

Author SHA1 Message Date
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
63bee0c78d Add IndirectLightingIntensity to Sky for GI intensity control 2024-08-12 15:34:08 +02:00
Wojtek Figat
3aa8e67551 Add option for smooth DDGI cascades blending 2024-07-18 23:51:03 +02:00
Wojtek Figat
03898a064a Optimize DDGI probes border pixels to be copied within probe update, rather than via separate dispatch 2024-07-18 19:51:01 +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
6b06f1dbcf Optimize Global SDF to use 8-bit storage (50% less memory usage) 2024-07-10 13:22:25 +02:00
Wojtek Figat
00a9c48fec Optimize probes count multiplication in DDGI shader 2024-07-03 08:51:58 +02:00
Wojtek Figat
0d48ac8fc2 Add smoother DDGi probe relocation when old position is visible from new position 2024-06-18 15:05:21 +02:00
Wojtek Figat
2c4de9878e Improve DDGI cascade transitions to be smoother 2024-06-18 13:22:10 +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
0620310f4f Add improved Global Surface Atlas lighting at far cascades and cascade borders 2024-06-04 10:53:41 +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
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
fe97429df8 Minor fix 2023-02-18 22:23:59 +01:00
Wojtek Figat
c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Wojtek Figat
ab51ecddb4 Add RenderBuffers::LinkedCustomBuffers to reuse main game viewport rendered state (eg. GI) in sub-rendered view 2023-02-01 11:05:29 +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
9b816a321c Reduce DDGI probes distance limit to improve performance 2022-08-12 09:53:57 +02:00
Wojciech Figat
cfb98a39b0 Reduce DDGI flickering in certain lighting scenarios 2022-07-26 13:18:09 +02:00
Wojciech Figat
a2677a25a9 Improve env probes rendering if DDGI is enabled 2022-07-15 16:13:36 +02:00
Wojciech Figat
5a366bc1a0 Optimize DDGI probe classify if using non-iterative relocation 2022-07-04 15:45:30 +02: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
27515585db Improve Global Surface Atlas objects surfaces sampling 2022-06-30 15:14:43 +02:00
Wojciech Figat
d8e79101e7 Refactor Global Surface Atlas to not rewrite objects data and use indirection for faster culling 2022-06-27 16:07:54 +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
4afb74c7b3 Optimize DDGI probes updating with active-only probes 2022-06-22 14:09:31 +02:00
Wojciech Figat
4637017707 Optimize thread group size for DDGI trace rays compute shader 2022-06-21 10:32:25 +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
9f99d74e53 Adjust DDGI quality and optimize 2022-06-17 14:32:07 +02:00
Wojciech Figat
2e06d1ce2a Refactor Global SDF to use a single texture for all cascades 2022-06-17 10:41:04 +02:00
Wojciech Figat
37511c0e6b Various DDGI improvements 2022-06-13 16:02:41 +02:00
Wojciech Figat
6c45fff205 Add Global SDF mip sampling in DDGI probes classification to prevent flickering on large maps 2022-06-13 15:28:46 +02:00
Wojciech Figat
e96e6bea86 Fix initial irradiance update for scrolled probes 2022-06-13 13:59:01 +02:00
Wojciech Figat
d4839b9c78 Add Global Illumination options to PostFx Settings 2022-06-10 18:48:17 +02:00
Wojciech Figat
f685c67275 Add Global SDF quality setting and support for variable cascades count and resolution 2022-06-10 14:30:40 +02:00
Wojciech Figat
3b27ae5fa9 Optimize ProbesTrace texture in DDGI to use batched probes update 2022-06-10 10:39:46 +02:00
Wojciech Figat
3a8e5e0bbe Various DDGI quality improvements 2022-06-09 11:31:20 +02:00
Wojciech Figat
211491f3d2 Add missing AO for DDGI irradiance 2022-06-09 10:55:26 +02:00
Wojciech Figat
6a74ebd62e Add support for cascades to DDGI 2022-06-09 08:55:45 +02:00
Wojciech Figat
5ee62be166 Various DDGI improvements to the quality of the final effect 2022-06-06 15:04:58 +02:00
Wojciech Figat
c147e3bff4 Minor DDGI optimization 2022-06-06 13:13:36 +02:00
Wojciech Figat
79220556df Improve DDGI probes relocation algorithm 2022-06-03 17:43:12 +02:00
Wojciech Figat
d05c09a33d Improve GI quality 2022-06-02 18:13:15 +02:00
Wojciech Figat
641d04a50e Improve GI quality 2022-05-31 15:52:19 +02:00