Commit Graph

3254 Commits

Author SHA1 Message Date
Wojciech Figat
db284c58a3 Fix crash when opening old project with Global Custom Code node in material 2022-06-30 09:16:19 +02:00
Wojtek Figat
7ebdce5e42 More work for large worlds 2022-06-29 23:28:03 +02:00
Wojciech Figat
2cd244fbd3 Reduce DDGI irradiance blending artifacts due to texture format precision issues 2022-06-29 15:19:54 +02:00
Wojciech Figat
9fa2a5ff93 Fix compilation 2022-06-29 09:14:16 +02:00
Wojtek Figat
090225bef2 Fix strange crash 2022-06-28 20:26:10 +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
Wojciech Figat
fe6226b276 Minor tweaks 2022-06-28 16:07:34 +02:00
Wojciech Figat
ea34207d07 Fix play mode in Editor error 2022-06-28 16:07:22 +02:00
Wojciech Figat
56322005e2 Reformat shaders source code 2022-06-28 14:41:29 +02:00
Wojciech Figat
df691e62f8 Various improvements to Global Surface Atlas sampling 2022-06-28 14:10:01 +02:00
Wojciech Figat
5ee8785ede Fix missing IsZero and IsOne for int32 2022-06-28 10:39:12 +02:00
Wojciech Figat
443ce106e2 Optimize Global Surface Atlas objects lighting to be less frequent with caching for static lights and objects 2022-06-28 10:38:51 +02:00
Wojtek Figat
d861518d2e Add origin updating for LargeWorlds 2022-06-27 23:33:51 +02:00
Wojciech Figat
d5a529e00a Optimize Global Surface Atlas objects culling to cache up to 32 objects locally per-thread 2022-06-27 16:31:39 +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
Wojtek Figat
a7463872a8 Add Camera Cut on rendering view origin change (for large worlds) 2022-06-26 19:23:28 +02:00
Wojtek Figat
5fdd8a4b72 Add NavCrowd initialization with specific NavAgentProperties to pick a proper navmesh automatically 2022-06-26 15:53:51 +02:00
Wojtek Figat
982accde6d Add NavCrowd for navigation steering behaviors system for a group of agents 2022-06-26 15:23:36 +02:00
Wojciech Figat
282b9066b8 Improve DDGI quality 2022-06-24 16:17:32 +02:00
Wojtek Figat
787d788055 Fix Camera preview model draw regression 2022-06-23 23:14:33 +02:00
Wojtek Figat
00498106fa Fix model mouse selection regression 2022-06-23 22:28:12 +02:00
Wojtek Figat
5633d1bcb9 Fix editor viewport mouse selection regression 2022-06-23 18:56:02 +02:00
Wojciech Figat
a7b31fbf9b Update DDGI 1st cascade every 2nd frame to limit for a single cascade update per-frame 2022-06-23 16:59:13 +02:00
Wojciech Figat
b69e42b79c Fix initializing activated and scrolled DDGI probes 2022-06-23 14:51:36 +02:00
Wojtek Figat
1dab45f407 Add support for renaming GPU resources (development builds only) 2022-06-22 23:08:39 +02:00
Wojciech Figat
4afb74c7b3 Optimize DDGI probes updating with active-only probes 2022-06-22 14:09:31 +02:00
Wojtek Figat
5d34575a91 Fix default value in Dot and Distance graph nodes 2022-06-21 20:03:36 +02:00
Wojtek Figat
134c8b99aa Add relative-to-camera rendering for large worlds 2022-06-21 20:03:13 +02:00
Wojciech Figat
4637017707 Optimize thread group size for DDGI trace rays compute shader 2022-06-21 10:32:25 +02:00
Wojtek Figat
f3bd0e469c Fixes 2022-06-20 18:14:38 +02:00
Wojciech Figat
10adf1eba1 Fix Constant Buffer binding on D3D12 when using Graphics after Compute pass with the same constants 2022-06-20 12:43:05 +02:00
Wojciech Figat
da85c1f55c Fix debug name for DirectX resources 2022-06-20 12:25:57 +02:00
Wojciech Figat
f31ba5cad8 Fix 2022-06-20 12:14:09 +02:00
Wojciech Figat
9cbaeb21f5 Add GI probes spacing setting 2022-06-20 10:09:09 +02:00
Wojciech Figat
3238861f64 Fix opening material or particle emitter in editor if shader compilation fails 2022-06-20 09:51:34 +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
41a58f3f2c Merge remote-tracking branch 'origin/master' into gi 2022-06-20 08:26:06 +02:00
Wojtek Figat
1fbdabdcd0 Fixes 2022-06-19 13:07:19 +02:00
Wojtek Figat
2e2404dc5f Fix regression from 2522d84a21 2022-06-19 13:07:07 +02:00
Wojciech Figat
1db65ac882 Add GlobalIllumination to debug GI probes 2022-06-17 15:07:58 +02:00
Wojciech Figat
9f99d74e53 Adjust DDGI quality and optimize 2022-06-17 14:32:07 +02:00
Wojciech Figat
b8ff4ae2e0 Fixes for Vulkan descriptors binding 2022-06-17 10:41:23 +02:00
Wojciech Figat
2e06d1ce2a Refactor Global SDF to use a single texture for all cascades 2022-06-17 10:41:04 +02:00
Wojtek Figat
2bd3c0f74f Add support for constexpr fields in Scripting API 2022-06-16 21:56:48 +02:00
Wojtek Figat
02cb0f938b Add old API with Vector3 for CollisionData 2022-06-16 10:57:15 +02:00
Wojtek Figat
9ba117cde3 Refactor OrientedBoundingBox to use Transform for transformation instead of Matrix (for large worlds) 2022-06-16 10:51:59 +02:00
Wojtek Figat
995e5bc6ff Add more utility methods to Transform and Matrix3x3 2022-06-16 10:50:53 +02:00
Wojtek Figat
bc8cc75ad8 Fix issue from 3294624849 2022-06-15 20:39:55 +02:00
Wojciech Figat
0d3ecd6dd2 Fix cross error in Material if input is not Float3 2022-06-15 19:04:21 +02:00