Commit Graph

67 Commits

Author SHA1 Message Date
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
7b5edc363a Fix GLobalSDF update when not using workload spread and add dispatches count to profiler zone data 2024-06-27 09:29:09 +02:00
Wojtek Figat
18c3f274f8 Optimize Global SDF drawing with async job system 2024-06-26 18:16:58 +02:00
Wojtek Figat
9c161121b3 Add Graphics::SpreadWorkload to disable graphics workloads amortization over several frames when debugging graphics perf 2024-06-19 14:03:55 +02:00
Wojtek Figat
a232dac196 Fix GlobalSDF sampling in materials to properly read far cascades 2024-06-06 12:10:44 +02:00
Wojtek Figat
1e86eff2d3 Improve GPU constant buffers structures definitions to properly align on new Clang 2024-06-02 09:52:10 +02:00
Wojtek Figat
f78bbc6b70 Add GlobalSDFDistance to graphics settings for default GlobalSDF range
#2664
2024-05-31 23:21:07 +02:00
Wojtek Figat
513afd603b Add increased by 1 mip sdf texture resolution for GlobalSDF building 2024-05-24 22:19:54 +02:00
Wojtek Figat
206ff89587 Add constant buffers alignment for data structures (16-byte boundaries) 2024-05-23 13:58:46 +02:00
Wojtek Figat
2dfb1058b2 Optimize world matrix storage for drawable objects to use Matrix3x4 instead of full matrix 2024-03-26 11:29:01 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
7a5d84a216 Fix Global SDF objects culling into chunks to correctly match world geometry 2023-02-18 23:15:50 +01:00
Wojtek Figat
c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +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
b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojtek Figat
f2170a09cd Optimize GlobalSDF actors drawing CPU perf 2022-11-06 20:44:44 +01:00
Wojtek Figat
9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
Wojtek Figat
5bd56cae81 Fix GlobalSDF rasterization of heightfield 2022-11-02 20:30:13 +01:00
Wojtek Figat
a0a3457733 Add more profiling data for Tracy 2022-11-01 15:46:21 +01:00
Wojtek Figat
8a98f466c5 Use named events for GPU passes for CPU profiling usability 2022-11-01 12:50:17 +01:00
Wojtek Figat
a66c72a0c2 Optimize GlobalSDF performance on CPU when scene is mostly static 2022-11-01 01:00:58 +01:00
Wojtek Figat
ec62763e87 Optimize Global SDF cascades updates intervals (max 1 cascade per frame) 2022-11-01 00:37:01 +01:00
Wojtek Figat
5f4aa39263 Global SDF improvements 2022-10-31 23:43:37 +01:00
Wojtek Figat
0898723a45 Fix Global SDF rasterization when loading scene 2022-10-31 22:18:45 +01:00
Wojtek Figat
e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Wojciech Figat
ff87cdfebb Update SDFs 2022-08-12 16:00:48 +02:00
Wojciech Figat
6c9b1f6be0 Add Global SDF rendering for Foliage 2022-08-10 14:27:08 +02:00
Wojtek Figat
27d266546e Various fixes and improvements for large worlds rendering 2022-06-28 20:26:01 +02:00
Wojtek Figat
b1640515c4 Merge remote-tracking branch 'origin/gi'
# Conflicts:
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp
2022-06-28 18:16:28 +02:00
Wojtek Figat
f3bd0e469c Fixes 2022-06-20 18:14:38 +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
2522d84a21 Add default Post Process options to Graphics Settings 2022-06-14 12:01:16 +02:00
Wojciech Figat
37511c0e6b Various DDGI improvements 2022-06-13 16:02:41 +02:00
Wojtek Figat
e43515f653 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Graphics/PostProcessSettings.cpp
#	Source/Engine/Level/Actors/SkyLight.cpp
#	Source/Engine/Renderer/GBufferPass.cpp
#	Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.h
#	Source/Engine/Renderer/RenderList.h
2022-06-13 00:46:33 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojciech Figat
d4839b9c78 Add Global Illumination options to PostFx Settings 2022-06-10 18:48:17 +02:00
Wojciech Figat
aa58665740 Move Global SDF towards the view direction 2022-06-10 14:31:01 +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
6a74ebd62e Add support for cascades to DDGI 2022-06-09 08:55:45 +02:00
Wojciech Figat
abcc319168 Minor rename fixes 2022-05-12 13:46:05 +02:00
Wojciech Figat
ab37cc72a9 Minor renaming 2022-05-02 12:52:38 +02:00
Wojciech Figat
70b9db7598 Add support for rasterizing terrain into Global SDF as heightfield 2022-04-28 14:17:10 +02:00
Wojciech Figat
3ec856778c Optimize Global SDF chunk data 2022-04-28 10:42:58 +02:00
Wojciech Figat
9d205cbb7d Fix 2022-04-21 13:08:28 +02:00
Wojciech Figat
ca935f4f08 Improve Global SDF static chunks cache to track SDF textures streaming 2022-04-21 12:40:23 +02:00