Commit Graph

401 Commits

Author SHA1 Message Date
Wojtek Figat
00a9c48fec Optimize probes count multiplication in DDGI shader 2024-07-03 08:51:58 +02:00
Wojtek Figat
6fbf4a6aac Optimize draw calls sorting and objects buffer building to be async 2024-07-02 16:07:09 +02:00
Wojtek Figat
567d5f70ab Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-02 00:58:25 +02:00
Wojtek Figat
08ef7c93ea Refactor draw calls drawing to use single objects buffer and better materials batching 2024-07-02 00:52:22 +02:00
Wojtek Figat
78f3248ac9 Refactor SortOrder to use int8 instead of int16 due to performance reasons (more efficent sort keys packing in rendering) 2024-06-29 13:54:02 +02:00
Wojtek Figat
516ed3e9a0 Cleanup some rendering code 2024-06-28 21:21:17 +02:00
Wojtek Figat
f4d4969650 Merge branch '1.9' of https://gitlab.flaxengine.com/flax/flaxengine into 1.9 2024-06-28 09:52:06 +02:00
Wojtek Figat
dbbc2b70bf Disable GlobalSurfaceAtlas on Mac due to GPU crashes in larges scenes 2024-06-28 09:43:18 +02:00
Wojtek Figat
138e17508b Add profile event to hardware instancing building and insert draw count into profiler zone data 2024-06-27 21:03:52 +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
8eaa635385 Minor tweaks to GlobalSA 2024-06-26 18:19:48 +02:00
Wojtek Figat
18c3f274f8 Optimize Global SDF drawing with async job system 2024-06-26 18:16:58 +02:00
Wojtek Figat
b545d8800c Optimize job system memory allocations 2024-06-24 23:19:01 +02:00
Wojtek Figat
a1c251c3b7 Add various optimizations to Global Surface Atlas 2024-06-24 19:01:35 +02:00
Wojtek Figat
8190d7f171 Optimize Global Surface Atlas setup and objects buffer writing to be async 2024-06-24 13:15:45 +02:00
Wojtek Figat
3b3cd5ade4 Optimize Global Surface Atlas defragmenting to just reset tiles, not whole objects list 2024-06-21 23:01:32 +02:00
Wojtek Figat
4d0d08f245 Optimize Global Surface Atlas drawing with async job system 2024-06-21 17:55:02 +02:00
Wojtek Figat
c119750896 Fix RectAtlas regression 2024-06-21 16:24:47 +02:00
Wojtek Figat
8e49a35e0e Refactor RectPack into new RectPackNode and RectPackAtlas that uses more optimized memory allocations 2024-06-20 15:26:58 +02:00
Wojtek Figat
a6324c8f65 Missing change 2024-06-19 15:45:45 +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
7f2464684a Fix single-frame DDGI black artifacts when Global Surface Atlas got defragmented 2024-06-18 14:17:50 +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
e3f0991805 Optimize Global Surface Atlas drawing when atlas is full 2024-06-13 23:02:20 +02:00
Wojtek Figat
b760dcdb58 Fix Global Surface Atlas flickering in scenes with lots of objects 2024-06-13 18:10:18 +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
a232dac196 Fix GlobalSDF sampling in materials to properly read far cascades 2024-06-06 12:10:44 +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
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
7e316a1305 Fix SSAO flickering artifacts in cooked game (disable depth mips usage) 2024-05-31 11:35:38 +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
182d6d8602 Fix regression in missing shadows inside Global Surface Atals 2024-05-23 21:51:57 +02:00
Wojtek Figat
1481d1a1e9 Add ShadowsResolution for manually specified shadowmap resolution for lights 2024-05-23 14:47:16 +02:00
Wojtek Figat
681c473e7a Re-enable CSM cascades filter width adjustment 2024-05-23 14:34:26 +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
12cf7f0f92 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Flax.flaxproj
2024-05-22 16:15:14 +02:00
Wojtek Figat
9653fc6725 Optimize stack memory in volumetric fog lights culling 2024-05-22 13:01:24 +02:00
Wojtek Figat
c486577b07 Fix TAA in editor's debug view modes 2024-05-20 19:03:28 +02:00
Wojtek Figat
2edb9cc4d8 Fix compilation warnings when using 64-bit coords 2024-05-08 23:24:23 +02:00
Wojtek Figat
cdeb9a3b15 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Content/Editor/Camera/M_Camera.flax
#	Content/Editor/CubeTexturePreviewMaterial.flax
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Content/Editor/DebugMaterials/SingleColor/Decal.flax
#	Content/Editor/DebugMaterials/SingleColor/Particle.flax
#	Content/Editor/DebugMaterials/SingleColor/Surface.flax
#	Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
#	Content/Editor/DebugMaterials/SingleColor/Terrain.flax
#	Content/Editor/DefaultFontMaterial.flax
#	Content/Editor/Gizmo/FoliageBrushMaterial.flax
#	Content/Editor/Gizmo/Material.flax
#	Content/Editor/Gizmo/MaterialWire.flax
#	Content/Editor/Gizmo/SelectionOutlineMaterial.flax
#	Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
#	Content/Editor/Highlight Material.flax
#	Content/Editor/Icons/IconsMaterial.flax
#	Content/Editor/IesProfilePreviewMaterial.flax
#	Content/Editor/Particles/Particle Material Color.flax
#	Content/Editor/Particles/Smoke Material.flax
#	Content/Editor/SpriteMaterial.flax
#	Content/Editor/Terrain/Circle Brush Material.flax
#	Content/Editor/Terrain/Highlight Terrain Material.flax
#	Content/Editor/TexturePreviewMaterial.flax
#	Content/Editor/Wires Debug Material.flax
#	Content/Engine/DefaultDeformableMaterial.flax
#	Content/Engine/DefaultMaterial.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Source/Engine/Graphics/Materials/MaterialShader.h
2024-04-23 10:30:01 +02:00
Wojtek Figat
ab9cc16529 Fix EyeAdaptation bug to flash on play mode start in Editor when time gets reset 2024-04-23 00:03:21 +02:00
Wojtek Figat
60e8d73079 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Renderer/RenderList.cpp
#	Source/Engine/Renderer/RenderList.h
2024-04-17 09:58:59 +02:00
Wojtek Figat
794b007170 Optimize draw calls sorting in opaque passes 2024-04-16 17:18:18 +02:00
Wojtek Figat
cf23892bd4 Fix sun shadows invalidate when view rotates 2024-04-14 23:51:20 +02:00
Wojtek Figat
25f3cef8c3 Fix artifacts due to light shape culling and use depth test to improve perf 2024-04-14 23:44:08 +02:00
Wojtek Figat
3e475398e7 Optimize draw calls batching sorting with Merge Sort 2024-04-12 16:02:37 +02:00
Wojtek Figat
1e77f3aa5a Optimize DrawBatch for faster sorting 2024-04-12 13:46:20 +02:00
Wojtek Figat
7342629a86 Add dynamic resolution for static shadow map tiles limited by current dynamic res 2024-04-11 18:47:32 +02:00
Wojtek Figat
5f860db6a5 Fix typo 2024-04-11 17:34:21 +02:00