Commit Graph

13849 Commits

Author SHA1 Message Date
mafiesto4 fc8a9b69d2 Move new Temporal AA code to shared header 2026-05-12 17:09:21 +02:00
mafiesto4 b38f6c5721 Merge branch 'HydrogenC-reverse-z' into 1.13 2026-05-12 17:07:50 +02:00
mafiesto4 0c1af2f243 Fix various rendering elements with Reversed Z enabled and simplify code
#2684
2026-05-11 18:26:21 +02:00
mafiesto4 7f2ba7a81e Fix shaders cache to be invalidated when changing ReverseZ option
#2684
2026-05-08 10:53:40 +02:00
mafiesto4 fb21ffd3be Rename FLAX_REVERSE_Z macro to REVERSE_Z
#2684
2026-05-08 10:52:46 +02:00
mafiesto4 7127ccda37 Fix depth bounds in reversed Z
#2684
2026-05-08 09:02:17 +02:00
mafiesto4 ead71e6836 Add support for using macros in scripting function parameter default values 2026-05-07 23:01:16 +02:00
mafiesto4 241441d5b9 Merge branch 'reverse-z' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-reverse-z
# Conflicts:
#	Source/Engine/Graphics/GPUDevice.cpp
#	Source/Engine/Graphics/Materials/DeferredMaterialShader.cpp
#	Source/Engine/Graphics/Materials/ForwardMaterialShader.cpp
#	Source/Engine/Graphics/Materials/TerrainMaterialShader.cpp
#	Source/Engine/Renderer/LightPass.cpp
#	Source/Engine/Renderer/ReflectionsPass.cpp
#	Source/Engine/Renderer/ShadowsPass.cpp
#	Source/Shaders/SSR.hlsl
#	Source/Shaders/ShadowsSampling.hlsl
#	Source/Shaders/Sky.shader
2026-05-07 19:55:03 +02:00
mafiesto4 14b0fb355a Fix compilation with Large Worlds 2026-05-07 18:27:36 +02:00
mafiesto4 4489f43777 Add DefaultProbeCubemapFormat to Graphics Settings with option to compress env probe textures 2026-05-07 18:20:34 +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 e7fd901807 Add improved fallback GI outside the DDGI range to use a special ambient probe for stability 2026-05-07 16:21:17 +02:00
mafiesto4 bdabcd5e43 Fix regression to properly resume render pass when flushing barriers mid-pass
141a8de0da
2026-05-07 09:03:22 +02:00
mafiesto4 6cc8f693f3 Fix directional light rendering to be skipped when color alpha is zero 2026-05-07 08:41:48 +02:00
mafiesto4 1079791bed Add rendering stats for Data Upload 2026-05-07 00:02:33 +02:00
mafiesto4 627f3a2dec Show full timespan in editor incl. seconds 2026-05-06 17:31:27 +02:00
mafiesto4 2f05a0987e Add ShowInPlayMode to HideInEditor attribute for properties/fields that should display in editor only during play mode 2026-05-06 16:54:34 +02:00
mafiesto4 6335bcdc93 Add in-built editors for DateTime and TimeSpan 2026-05-06 16:42:38 +02:00
mafiesto4 650fa781d3 Simplify shader code for point/spot lights to use permutations instead 2026-05-06 12:59:35 +02:00
mafiesto4 000d786d49 Add Temporal Antialiasing as default AA method 2026-05-06 12:39:49 +02:00
mafiesto4 3eb85000aa Fix error when drag&drop new actor on Windows in Editor 2026-05-06 12:39:32 +02:00
mafiesto4 9c5daf419b Fix default shadow depth bias values and control them based on shadow resolution/quality mix 2026-05-06 12:39:15 +02:00
mafiesto4 9a85ae7142 Add soft PCSS shadows on Ultra quality
Add new `SourceAngle` property to Directional light that controls PCSS penumbra size
2026-05-06 12:37:42 +02:00
mafiesto4 fad0f7a345 Compact PCF shadow sampling code 2026-05-05 08:47:57 +02:00
mafiesto4 aac399c6a1 Add CascadeBlendSize to Directional Light and fix sun shadow fade at distance 2026-05-04 23:41:00 +02:00
mafiesto4 4c5035e433 Fix scene search performance regression 2026-05-04 23:05:25 +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 cbcfa4013b Add Graphics::MotionVectors::MinObjectScreenSize to skip too small objects from drawing motion vectors 2026-05-04 17:29:58 +02:00
mafiesto4 429f8e5336 Add highlight to Motion Vectors Debug view for better content optimizing 2026-05-04 16:43:41 +02:00
mafiesto4 6cc0edf0eb Optimize shadows and depth rendering with instancing support for transparent shaders 2026-05-04 15:12:40 +02:00
mafiesto4 f7d8f36add Optimize draw calls batching and instancing with better sort keys generation and processing 2026-05-04 12:34:29 +02:00
mafiesto4 2e98300693 Add minor changes 2026-05-04 08:47:21 +02:00
mafiesto4 83de99877c Fix directional light cascaded shadow maps rendering stability 2026-05-04 08:46:43 +02:00
mafiesto4 7a569d4f14 Add selection drawing and picking gizmo to Foliage Types editing tab 2026-04-30 18:19:12 +02:00
mafiesto4 24675ace93 Refactor Temporal Anti-Aliasing shader to have less ghosting and quality scalability
Fix lots of ghosting artifacts.
Fix aliasing on small cables/lines during camera movement.
Add scalability via AA Quality setting for TAA.
2026-04-30 17:58:19 +02:00
mafiesto4 3a5d831e71 Minor changes 2026-04-29 18:34:39 +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 ce4ad8aa71 Optimize RendererAllocation by reducing fragmentation with operating on power-of-2 blocks 2026-04-28 21:55:52 +02:00
mafiesto4 75bd206416 Fix regression crash on Vulkan when clearing many textures at once 2026-04-28 20:19:35 +02:00
mafiesto4 578af12f2b Optimize Global Surface Atlas objects to cache shader data 2026-04-28 20:18:18 +02:00
mafiesto4 acbbd34ecf Optimize scene rendering async job to use interleaved ranges instead of fighting for a shared index 2026-04-28 13:16:44 +02:00
mafiesto4 c8b06ba7ec Optimize scene rendering loop to cache more data on stack 2026-04-28 13:07:19 +02:00
mafiesto4 ad46b74f6a Optimize foliage drawing by caching per-instance world matrix 2026-04-28 12:50:19 +02:00
mafiesto4 47a9d76938 Optimize foliage drawing memory access a bit more 2026-04-28 11:48:52 +02:00
mafiesto4 442cb8f2dd Minor improvements 2026-04-28 00:25:31 +02:00
mafiesto4 45e121bf77 Fix Guid diff serialization and loading invalid values 2026-04-28 00:24:57 +02:00