Commit Graph

1902 Commits

Author SHA1 Message Date
Wojciech Figat
fc138bbbbb Fix GPU context error during lights rendering 2022-03-28 14:01:51 +02:00
Wojciech Figat
e56b280f5b Format code for shader generators 2022-03-28 14:01:29 +02:00
Wojciech Figat
a685962d32 Add Sample Global SDF Gradient node to materials and particles 2022-03-28 13:58:27 +02:00
Wojciech Figat
3a9edabd03 Add Collision (Global SDF) particle module 2022-03-28 13:39:20 +02:00
Wojciech Figat
bcc4a2c0a4 Add Position (Global SDF) particle module 2022-03-28 10:27:33 +02:00
Wojciech Figat
f608d2537f Fix 2022-03-25 15:45:49 +01:00
Wojciech Figat
5a0d8f44ff Fix crash on Editor closing 2022-03-25 15:36:47 +01:00
Wojciech Figat
a917397090 Add Conform to Global SDF to GPU particles 2022-03-25 15:36:00 +01:00
Wojciech Figat
a5af0a1c81 Fix game build 2022-03-25 11:42:09 +01:00
Wojciech Figat
4a18185e81 Add **Sample Global SDF** node to particles 2022-03-25 11:41:17 +01:00
Wojciech Figat
f8670a497e Fix crash when loading model SDF on older GPUs (d3d10) 2022-03-25 10:10:23 +01:00
Wojciech Figat
b847b9ccba Add **Sample Global SDF** node to materials 2022-03-25 10:09:52 +01:00
Wojciech Figat
d5297f9047 Add option to always render Global SDF 2022-03-24 14:59:14 +01:00
Wojciech Figat
b08d2001fd Add Model SDF generation utilities 2022-03-24 11:32:02 +01:00
Wojciech Figat
885d2f0771 Move Static Model rasterization into Global SDF code 2022-03-22 17:15:21 +01:00
Wojciech Figat
18321937e4 Optimize model SDF with 8-bit storage (if possible) 2022-03-22 15:08:38 +01:00
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
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