Commit Graph

2038 Commits

Author SHA1 Message Date
Wojciech Figat
6196bb31fe Post merge fixes 2022-03-22 13:20:07 +01:00
Wojciech Figat
92f5377f70 Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Flax.flaxproj
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/Graphics/Textures/GPUTexture.cpp
#	Source/Engine/GraphicsDevice/DirectX/DX11/GPUContextDX11.cpp
#	Source/Engine/Terrain/Terrain.cpp
#	Source/Engine/Tools/ModelTool/ModelTool.Build.cs
#	Source/FlaxEngine.Gen.cs
#	Source/FlaxEngine.Gen.h
2022-03-22 13:00:21 +01:00
Wojciech Figat
9107897b76 Add missing pipeline barriers after Dispatch on Vulkan to prevent race-conditions with UAVs 2022-03-22 12:56:21 +01:00
Wojciech Figat
aa9161a16f Fix some issues 2022-03-22 12:55:33 +01:00
Wojciech Figat
c10cdc3d90 Fix UsedSRsMask/UsedUAsMask when binding arrays to the shader 2022-03-22 12:55:13 +01:00
Wojciech Figat
d58584e1fd Fix crash if D3D device gets DXGI_ERROR_DEVICE_REMOVED during init 2022-03-21 10:51:42 +01:00
Wojciech Figat
8f99a3df76 Add soft handling for MeshAccelerationStructure build from model on data gather fail 2022-03-21 10:50:56 +01:00
Wojciech Figat
abbb0eb85c Disable SDF generation for virtual models on a main thread 2022-03-21 10:50:34 +01:00
Wojciech Figat
8d0a779ff4 Fix uploading volume texture data to GPU in D3D12 2022-03-18 17:55:35 +01:00
Wojciech Figat
8cca7f884b Add **Global Sign Distance Field** rendering (work in progress) 2022-03-18 16:18:00 +01:00
Wojciech Figat
10d09711d9 Add Sign Distant Field (SDF) generation for models 2022-03-18 14:35:11 +01:00
Wojciech Figat
c85ee9ff52 Fix key clearing on actor remove from SceneRendering 2022-03-18 13:28:50 +01:00
Wojciech Figat
cd66981c1d Add CustomBuffers for injecting custom state into RenderBuffers 2022-03-18 13:27:25 +01:00
Wojciech Figat
3dac0d4786 Fix error in Forward Shader Feature when rendering directional light shadowmap 2022-03-18 13:25:09 +01:00
GoaLitiuM
33fe5e7518 Fix uninitialized values and release COM resources after use 2022-03-17 21:25:56 +02:00
GoaLitiuM
e794911755 Enable flip presentation mode and tearing in D3D11 2022-03-17 21:25:56 +02:00
Wojtek Figat
b780e33a5b Fix for faster models exporting 2022-03-14 20:32:38 +01:00
Wojtek Figat
20075e0fbd Fixes for compilation on Windows for x86 2022-03-02 21:06:21 +01:00
Wojtek Figat
e52cf67447 Fix crash on Vulkan swapchain resize if the previous size was 0 (eg. due to window animation on Windows 11r) 2022-03-02 10:00:06 +01:00
Wojtek Figat
cdc74a9c49 Reduce includes in Serialization header 2022-02-28 23:16:15 +01:00
Wojtek Figat
3a1475fa9c Use SoftObjectReference for deformable asset ref to prevent removing it by Content GC 2022-02-28 23:16:00 +01:00
Wojtek Figat
4a9c746bed Add SoftAssetReference type 2022-02-28 23:15:35 +01:00
Wojtek Figat
6738bc8dea Fix minor things 2022-02-28 19:15:02 +01:00
Wojtek Figat
87cb553c61 Optimize Vector3 method to be inlined more often 2022-02-28 19:14:14 +01:00
Wojciech Figat
5c443f305d Fix memory leak in RenderTargetPool on texture init fail 2022-02-27 16:13:06 +01:00
Wojciech Figat
07760f7acd Add DynamicStructuredBuffer utility 2022-02-27 13:32:05 +01:00
Wojciech Figat
748b857e57 Add ability to use ModelTool module in game build 2022-02-27 13:31:32 +01:00
Wojciech Figat
8271a2b718 Add MeshAccelerationStructure utility for robust triangles geometry queries 2022-02-27 13:29:58 +01:00
Diewa
d2c252879e Fixes for macOS 2022-02-24 21:42:00 +01:00
Wojtek Figat
58de04ccd6 Fix crash on particles instance invalidated 2022-02-23 22:41:26 +01:00
Wojtek Figat
6b84773190 Fix crash on CharacterController in prefab 2022-02-23 22:41:06 +01:00
Wojciech Figat
3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +01:00
Wojciech Figat
8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
Wojtek Figat
3a07d767fb Fix rare crash on division by 0 2022-02-20 20:28:19 +01:00
Wojtek Figat
111a2f3b25 Fix crash with terrain in prefab window
#689
2022-02-19 17:59:40 +01:00
Wojtek Figat
56491569df Optimize C# bindings in Engine code to static functions that native ABI matches managed signature 2022-02-19 00:29:09 +01:00
Wojciech Figat
5d4c168e1e Add Vector3::Clamp for easier inline in optimized builds 2022-02-15 12:14:31 +01:00
Wojciech Figat
a857e6daa0 Fix memory leak in RenderTargetPool on texture init fail 2022-02-15 12:14:02 +01:00
Wojciech Figat
6b3e911b40 Remove old log for drag&drop on Windows 2022-02-14 14:37:22 +01:00
Wojciech Figat
311b95b9fc Add support for using mipmaps with 3D textures 2022-02-14 14:37:04 +01:00
Wojciech Figat
7979831f5c Add JobSystem.Execute utility for quick jobs running 2022-02-14 14:34:43 +01:00
Wojciech Figat
9dc49f7165 Optimize Vector3 method to be inlined more often 2022-02-14 11:46:48 +01:00
Wojciech Figat
788b1a7531 Add Distance to box/point for Bounding Box 2022-02-14 10:15:38 +01:00
Wojciech Figat
79cacbf36e Add GetNormal to Triangle 2022-02-14 10:15:05 +01:00
Wojciech Figat
1168176016 Optimize texture data async upload during rendering 2022-02-09 10:01:21 +01:00
Wojciech Figat
9a4aa20bbb Add Windows 11 detection 2022-02-09 09:23:44 +01:00
Wojciech Figat
69a1e007a6 Add some missing changes 2022-02-08 19:56:11 +01:00
Wojciech Figat
afed5a30bc Add ClearUA to GPUContext to clear texture with float values 2022-02-08 19:56:07 +01:00
Wojciech Figat
bac8058aa8 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 19:56:03 +01:00
Wojciech Figat
066a4c65bb Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 19:55:59 +01:00