Commit Graph

174 Commits

Author SHA1 Message Date
mafiesto4 eb69dafb7c Add Loaded event to Asset in scripting
Refactor `Asset` events naming to match engine scheme
2026-07-28 22:32:36 +02:00
mafiesto4 b6204ceb76 Add DDGI reflections to transparent materials 2026-07-21 13:25:09 +02:00
mafiesto4 8a5ff58b9e Add roughness-based filtering when sampling DDGI probes 2026-07-21 11:29:24 +02:00
mafiesto4 078a45c4b7 Add half-res DDGI reflections resolving to optimzie rendering on low-end devices 2026-07-20 12:06:13 +02:00
mafiesto4 401bfbd52d Add new DDGI Reflections rendering mode for fully dynamic indirect specular 2026-07-14 23:09:34 +02:00
mafiesto4 049e13202b Optimize DDGI indirect lighting resolving to use depth bounds test 2026-06-27 00:57:54 +02:00
mafiesto4 7f403658df Add option to render DDGI indirect lighting in half-res with bilateral upscaling
Cuts irradiance resolving time in half at cost of some aliasing. Ideal for low-quality settings or when rendering at high native res.
2026-06-27 00:44:20 +02:00
mafiesto4 1a2d86826d Minor DDGI changes 2026-06-26 14:51:59 +02:00
mafiesto4 df2794c798 Optimize rendering when using TAA to draw PostFX directly to backbuffer 2026-06-25 23:04:23 +02:00
mafiesto4 a45dec5170 Add Graphics.GI.Dump command for profiling DDGI/GlobalSDF 2026-06-25 22:49:32 +02:00
mafiesto4 a3694203a2 Optimize development-only shaders and rendering code to compile it out in Release game builds 2026-06-25 11:21:13 +02:00
mafiesto4 11a226952c Update graphics API 2026-06-24 23:32:16 +02:00
mafiesto4 91268116b0 Fix self-shadowing artifacts in DDGI on fast moving objects 2026-06-24 16:54:43 +02:00
mafiesto4 0477d37aeb Add IndirectShadowsStrength to GI settings for artist-controlled light leaking 2026-06-23 12:33:11 +02:00
mafiesto4 3db688e5fd Add GIProbesSpacing and GlobalSurfaceAtlasResolution to global Graphics for runtime editing
#4001
2026-06-21 23:07:17 +02:00
mafiesto4 cc99d537d9 Add Graphics.GI.GetConvergence to use GI bounce progress for game loading screens/fades 2026-06-21 22:56:47 +02:00
mafiesto4 65eb1d9889 Optimize DDGI irradiance gamma conversion 2026-06-18 12:50:22 +02:00
mafiesto4 b3ba253296 Fix GPU workflow spread disable in DDGI 2026-06-18 09:34:57 +02:00
mafiesto4 01ce543f21 Optimize DDGI probes debug with a batched instanced draw 2026-06-17 16:40:18 +02:00
mafiesto4 0f38fca0b1 Minor fixes 2026-05-30 14:28:28 +02:00
mafiesto4 17ff4623e7 Fix DDGI cascade movement to be less vertical along the view 2026-05-20 23:20:30 +02:00
mafiesto4 92a0a40d16 Add Global SDF Overdraw debug mode for content optimizations 2026-05-20 16:20:45 +02:00
mafiesto4 03126e1840 Fix missing objects when performing Global Surface Atlas defragmentation after failed insert 2026-05-19 14:02:35 +02:00
mafiesto4 b039e3779d Fix Global Surface Atlas tiles padding and position precision to have proper stability 2026-05-12 17:10:02 +02:00
mafiesto4 c17a9f653e Add minor improvements and adjust 3rd DDGI cascade for better world coverage 2026-05-07 16:38:15 +02:00
mafiesto4 b14c2cfc74 Optimize Global Surface Atlas full direct lighting redraw to copy whole emissive atlas at once 2026-05-04 18:11:01 +02:00
mafiesto4 0aecb35ab1 Fix Global Surface Atlas rasterization of objects with negative scale 2026-04-29 18:34:14 +02:00
mafiesto4 c4bb39aeac Improve Global Surface Atlas objects dirtying limit to pick the largers objects first 2026-04-29 17:52:51 +02:00
mafiesto4 61431a6400 Optimize Global Surface Atlas defragmentation with copying old atlas to avoid redrawing all objects 2026-04-29 17:19:40 +02:00
mafiesto4 d4da1d80d0 Optimize Global Surface Atlas with object draws limit per frame 2026-04-29 17:05:17 +02:00
mafiesto4 3bede1d6bc Optimize Global Surface Atlas updates distribution for subobjects (eg. foliage instances) 2026-04-28 22:21:38 +02:00
mafiesto4 578af12f2b Optimize Global Surface Atlas objects to cache shader data 2026-04-28 20:18:18 +02:00
mafiesto4 45a8d82a83 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GUI.flax
#	Flax.flaxproj
#	Source/Editor/Windows/AboutDialog.cs
#	Source/Engine/Serialization/Stream.cpp
#	Source/Shaders/GUICommon.hlsl
2026-03-13 08:09:16 +01:00
mafiesto4 ace84ae29f Add limit to max DDGI cascade updates per-frame to 2
#3963
2026-03-11 23:31:44 +01:00
mafiesto4 61b6aeb252 Fix missing DDGI on D3D11 when object counter readback buffer doesn't have data on time
(eg. during very fast rendering)
2026-01-28 14:04:43 +01:00
mafiesto4 32e725392b Optimize inactive probes update in DDGI with faster Jump Flood instead of Flood Fill 2026-01-06 00:01:17 +01:00
mafiesto4 0975ac2a25 Fix odd typo in DDGI inactive probes flood fill 2026-01-05 18:02:05 +01:00
mafiesto4 cf3bcc4549 Fix DDGI flickering on floors aligned to world axes
Apply a small bias to sample location and dither it a bit to smooth out.
2026-01-05 17:19:16 +01:00
mafiesto4 11ea889fa9 Refactor DDGI fallback radiance to use alpha for blending between fixed color and color at snapped location of the last cascade
This means artists don't need to adjust the value anymore as it can cover vista geometry with GI at last cascade borders.
2026-01-05 16:22:00 +01:00
mafiesto4 c5a28a5734 Refactor DDGI irradiance sampling when nearby probe is missing to use precomputed fallback probes
Also, insert fallback/dummy probes when there is no SDF nearby to have lighting in all cases.
This both improves sampling performance and fixes issues when sampling in areas far away from valid GI.
2026-01-05 12:04:02 +01:00
mafiesto4 6c79a17c7a Fix DDGI cascade placement when using large probes spacing
Revert fa38f0ac91 after b24d98df9e fixed the source of the problem
2026-01-03 20:57:17 +01:00
mafiesto4 b24d98df9e Fix DDGI cascades blending to be smoother 2026-01-03 00:48:36 +01:00
mafiesto4 400e2f1b0e Fix DDGI flickering on floors aligned to axis on value 0 (eg. floor) 2026-01-02 21:30:14 +01:00
mafiesto4 ce45fa3d54 Fix crash on Global Surface Atlas objects buffer building 2025-12-30 23:41:49 +01:00
mafiesto4 fa38f0ac91 Fix DDGI cascade offset towards bottom that was too intense making probes flicker 2025-12-20 23:44:56 +01:00
mafiesto4 0e76585709 Fix DDGI iradiance to use debanding by applying quantization error to reduce yellowish artifacts due to R11G11B10 format 2025-12-16 23:56:45 +01:00
mafiesto4 fb07071e24 Restore Global Surface Atlas and DDGI on Apple platforms
#3797
2025-11-20 13:47:18 +01:00
mafiesto4 c0c9df49dc Optimize DDGI probes update to overlap both irradiance and distance data at once 2025-09-03 23:21:45 +02:00
mafiesto4 f1c4fd464a Optimize GPU textures and buffers uploads with a batched memory barrier 2025-09-03 22:11:26 +02:00
mafiesto4 5c5341e346 Optimize Color Grading LUT to be cached if unchanged from the previous frame 2025-08-01 23:16:57 +02:00