Commit Graph

6154 Commits

Author SHA1 Message Date
Wojtek Figat
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
Wojtek Figat
ee02aa394a Fix potential error in new shadows atlas rendering 2024-07-18 00:17:33 +02:00
Wojtek Figat
8ba33d9d10 Fix typo in doc comment 2024-07-18 00:17:15 +02:00
Chandler Cox
85a04f8e81 Perform layout of splitter panel once splitter is done being dragged. 2024-07-16 20:36:27 -05:00
Olly Rybak
e5e1f945ea Added eDETECT_CCD_CONTACT to PairFlags, hopefully properly enabling CCD 2024-07-17 10:04:14 +10:00
Zode
e1cf41b94b Fix Quaternion.FromDirection giving bogus output when fed a perfect down vector 2024-07-17 01:12:17 +03:00
Chandler Cox
6588a71879 Dont allow resize of layers array. 2024-07-15 18:19:14 -05:00
Chandler Cox
d700df6afb Add PhysX option for enabling enhanced determinism 2024-07-15 16:23:49 -05:00
35d46e23a8 Fix CharacterController::SimpleMove gravity displacement handling 2024-07-13 16:39:22 +03:00
f1fc086612 Fix CharacterController to not process hits against removed actors 2024-07-13 16:39:06 +03:00
Wojtek Figat
13cf3deb3f Revert b80101411f 2024-07-12 18:42:19 +02:00
Wojtek Figat
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
Wojtek Figat
793afff0aa Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-12 17:05:18 +02:00
Wojtek Figat
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
Wojtek Figat
e83097d114 Fix missing memory allocator for Vulkan Memory Allocator 2024-07-12 17:04:23 +02:00
Chandler Cox
7b4e509140 Fix mesh collider not rotating correctly due to negative scale. 2024-07-11 18:44:55 -05:00
Chandler Cox
c168ce3a7e Deprecate IsActuallyPlayingSth and add IsActuallyPlaying to AudioSource 2024-07-11 17:39:11 -05:00
Wojtek Figat
352913ba14 Add random per-probe rotation for rays tracing in DDGI 2024-07-11 14:48:24 +02:00
Wojtek Figat
dbda31d570 Add timeBeginPeriod(1) on Win32 platforms to improve timer precision 2024-07-10 15:34:38 +02:00
Wojtek Figat
d521409033 Missing change for particles from 6b06f1dbcf 2024-07-10 13:58:01 +02:00
Wojtek Figat
6b06f1dbcf Optimize Global SDF to use 8-bit storage (50% less memory usage) 2024-07-10 13:22:25 +02:00
Wojtek Figat
ffddbb455f Add Scripting events to C++ api similar to C# ones 2024-07-09 11:57:41 +02:00
Wojtek Figat
d5dd8e7ecf Optimize GlobalSurfaceAtlasPass tiles by sorting by size before inserting them into atlas 2024-07-08 16:43:26 +02:00
Wojtek Figat
082a5819cd Optimize GlobalSurfaceAtlasPass by ignoring GBuffer2 properties (diffuse-only surfaces) 2024-07-08 16:40:59 +02:00
Wojtek Figat
bee39dda58 Fix commandline options in build 2024-07-06 12:57:19 +02:00
Wojtek Figat
559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00
Wojtek Figat
d1e54b821b Fix asset to be soft when transformation is nan or inf
#2742
2024-07-04 18:05:47 +02:00
Wojtek Figat
230c57cca4 Add WinPixEventRuntime for D3D12 to provide GPU profiler event names 2024-07-03 18:30:11 +02:00
Wojtek Figat
b8100e9417 Fix missing GPU events when using shaders profiling/debugging or graphics dev tools are enabled 2024-07-03 18:29:42 +02:00
Wojtek Figat
b3d77ab9eb Add shaders profiling console command 2024-07-03 13:22:19 +02:00
Wojtek Figat
030a66c091 Add shader cache invalidation when using debug shader option via cmd line in Editor 2024-07-03 12:41:29 +02:00
Olly Rybak
751c1f20dc Returns lightmap UV correctly with no errors 2024-07-03 18:35:32 +10:00
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
e18b059234 Merge branch 'unsafeaccessor_init' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unsafeaccessor_init 2024-07-02 10:04:00 +02:00
Wojtek Figat
1b72b14376 Merge branch 'AudioListenerWarning' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-AudioListenerWarning 2024-07-02 10:01:39 +02:00
Wojtek Figat
ec510425a1 Merge branch 'update_assimp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-update_assimp 2024-07-02 09:12:27 +02:00
Wojtek Figat
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
Wojtek Figat
567d5f70ab Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-02 00:58:25 +02:00
Wojtek Figat
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
Wojtek Figat
9486466abf Fix D3D11 to properly issue instanced draws even if instance count is 1 2024-07-02 00:54:49 +02:00
Wojtek Figat
1328e869a9 Fix crash in D3D12 when constant buffer was binded but not updated before the draw 2024-07-02 00:54:17 +02:00
Wojtek Figat
fbc648302d Fix timer queries reset before use on Vulkan 2024-07-02 00:53:45 +02:00
Wojtek Figat
ef129a3135 Add frustum culling for editor preview camera mesh 2024-07-02 00:53:03 +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
d56493da54 Use UnsafeAccessor to initialize scripting object interop fields 2024-06-30 15:52:14 +03: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