Commit Graph

8272 Commits

Author SHA1 Message Date
mafiesto4 aeff147b6d Optimize and refactor DDGI to use linear attention per-probe to dynamically control ray count and blend speed
Probes will use lower ray count when behind the camera or not correlated with the view direction or far from geometry.
Probes nearby camera or with high instability in irradiance will maintain higher ray count.
Probes that use less rays will have slower blending to reduce artifacts.
Added probe instability, attention and stats debugging for devs.
2024-07-18 08:38:23 +02:00
mafiesto4 ee02aa394a Fix potential error in new shadows atlas rendering 2024-07-18 00:17:33 +02:00
mafiesto4 8ba33d9d10 Fix typo in doc comment 2024-07-18 00:17:15 +02:00
mafiesto4 13cf3deb3f Revert b80101411f 2024-07-12 18:42:19 +02:00
mafiesto4 74dfa30556 Fix crash when drawing particle effect where one of the emitter assets is not yet loaded 2024-07-12 17:14:51 +02:00
mafiesto4 793afff0aa Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-12 17:05:18 +02:00
mafiesto4 b80101411f Optimize Vulkan Memory Allocator to not use mutex as it's synced by engine to safely access resources 2024-07-12 17:05:07 +02:00
mafiesto4 e83097d114 Fix missing memory allocator for Vulkan Memory Allocator 2024-07-12 17:04:23 +02:00
mafiesto4 352913ba14 Add random per-probe rotation for rays tracing in DDGI 2024-07-11 14:48:24 +02:00
mafiesto4 dbda31d570 Add timeBeginPeriod(1) on Win32 platforms to improve timer precision 2024-07-10 15:34:38 +02:00
mafiesto4 d521409033 Missing change for particles from 6b06f1dbcf 2024-07-10 13:58:01 +02:00
mafiesto4 6b06f1dbcf Optimize Global SDF to use 8-bit storage (50% less memory usage) 2024-07-10 13:22:25 +02:00
mafiesto4 70912e1d56 Add support for using InputAction editor on string variable 2024-07-09 11:57:59 +02:00
mafiesto4 ffddbb455f Add Scripting events to C++ api similar to C# ones 2024-07-09 11:57:41 +02:00
mafiesto4 d5dd8e7ecf Optimize GlobalSurfaceAtlasPass tiles by sorting by size before inserting them into atlas 2024-07-08 16:43:26 +02:00
mafiesto4 082a5819cd Optimize GlobalSurfaceAtlasPass by ignoring GBuffer2 properties (diffuse-only surfaces) 2024-07-08 16:40:59 +02:00
mafiesto4 ae2b3d361e Fix shader warning 2024-07-08 12:56:31 +02:00
mafiesto4 bee39dda58 Fix commandline options in build 2024-07-06 12:57:19 +02:00
mafiesto4 559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00
mafiesto4 fe9996dd4f Merge branch 'content-cut' of https://github.com/Tryibion/FlaxEngine into Tryibion-content-cut 2024-07-04 18:07:03 +02:00
mafiesto4 d1e54b821b Fix asset to be soft when transformation is nan or inf
#2742
2024-07-04 18:05:47 +02:00
Tryibion 8877aac8cb Small code cleanup 2024-07-03 13:07:02 -05:00
Tryibion a61096ffa5 Add cutting of content items. 2024-07-03 12:53:50 -05:00
mafiesto4 230c57cca4 Add WinPixEventRuntime for D3D12 to provide GPU profiler event names 2024-07-03 18:30:11 +02:00
mafiesto4 b8100e9417 Fix missing GPU events when using shaders profiling/debugging or graphics dev tools are enabled 2024-07-03 18:29:42 +02:00
mafiesto4 b3d77ab9eb Add shaders profiling console command 2024-07-03 13:22:19 +02:00
mafiesto4 030a66c091 Add shader cache invalidation when using debug shader option via cmd line in Editor 2024-07-03 12:41:29 +02:00
mafiesto4 00a9c48fec Optimize probes count multiplication in DDGI shader 2024-07-03 08:51:58 +02:00
mafiesto4 6fbf4a6aac Optimize draw calls sorting and objects buffer building to be async 2024-07-02 16:07:09 +02:00
mafiesto4 f40cf6539a Update Assimp for Mac 2024-07-02 11:29:56 +02:00
mafiesto4 e18b059234 Merge branch 'unsafeaccessor_init' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unsafeaccessor_init 2024-07-02 10:04:00 +02:00
mafiesto4 3539f84c9a Merge branch 'feature/add-default-audio-listener' of https://github.com/envision3d/FlaxEngine into envision3d-feature/add-default-audio-listener 2024-07-02 10:02:24 +02:00
mafiesto4 1b72b14376 Merge branch 'AudioListenerWarning' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-AudioListenerWarning 2024-07-02 10:01:39 +02:00
mafiesto4 a79fb237e5 Update Assimp to v5.4.1
#2727
2024-07-02 09:59:30 +02:00
mafiesto4 ec510425a1 Merge branch 'update_assimp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-update_assimp 2024-07-02 09:12:27 +02:00
mafiesto4 fe3a9fbd67 Merge branch 'prefab-buttons' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-buttons 2024-07-02 09:11:38 +02:00
mafiesto4 ddfaeddb5f Merge branch 'wrap-on-underscore' of https://github.com/Tryibion/FlaxEngine into Tryibion-wrap-on-underscore 2024-07-02 09:10:37 +02:00
mafiesto4 cf02fecadc Merge branch 'fix-profiler-timeline' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-profiler-timeline 2024-07-02 09:06:21 +02:00
mafiesto4 35ab0f4261 Merge branch 'inv-culture-unknown' of https://github.com/Tryibion/FlaxEngine into Tryibion-inv-culture-unknown 2024-07-02 09:05:37 +02:00
mafiesto4 d64108a5c1 Merge branch 'winsdk_24h2' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-winsdk_24h2 2024-07-02 09:05:08 +02:00
mafiesto4 567d5f70ab Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-02 00:58:25 +02:00
mafiesto4 fe0711c3e2 Fix D3D11 to properly flush CB/SRVs when bindings new shaders after CB/SRV was set 2024-07-02 00:55:41 +02:00
mafiesto4 9486466abf Fix D3D11 to properly issue instanced draws even if instance count is 1 2024-07-02 00:54:49 +02:00
mafiesto4 1328e869a9 Fix crash in D3D12 when constant buffer was binded but not updated before the draw 2024-07-02 00:54:17 +02:00
mafiesto4 fbc648302d Fix timer queries reset before use on Vulkan 2024-07-02 00:53:45 +02:00
mafiesto4 ef129a3135 Add frustum culling for editor preview camera mesh 2024-07-02 00:53:03 +02:00
mafiesto4 08ef7c93ea Refactor draw calls drawing to use single objects buffer and better materials batching 2024-07-02 00:52:22 +02:00
GoaLitiuM d56493da54 Use UnsafeAccessor to initialize scripting object interop fields 2024-06-30 15:52:14 +03:00
mafiesto4 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
GoaLitiuM 16b0228394 Add support for Windows SDK build 26100 (24H2) 2024-06-28 23:02:25 +03:00