Commit Graph

1965 Commits

Author SHA1 Message Date
Wojciech Figat
f3324ae2fd Merge branch 'd3d11_flip_present' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-d3d11_flip_present 2022-03-28 19:59:27 +02:00
Wojciech Figat
f10af9d8fb Fix Multiply (and similar) nodes result value in Visject if the first input is disconnected 2022-03-28 19:48:08 +02:00
Wojciech Figat
0ca6e70b66 Fix invalid Rigidbody bounds if it has no shapes attached 2022-03-28 19:28:25 +02:00
Wojciech Figat
79669a8789 Fix upscaler usage if resolution is higher than 1 2022-03-28 16:31:23 +02:00
Wojciech Figat
c41a446ae9 Add Rotate Vector node to Visject Surface graphs 2022-03-28 15:02:32 +02:00
Wojciech Figat
2b83975ea2 Add support for implicit casting from Quaternion to other types in shaders 2022-03-28 14:48:21 +02:00
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
Wojtek Figat
5d0c27dff3 Remove FlaxException 2022-03-27 23:57:36 +02:00
9a0d4ae53b Improve font rendering and alignment with custom DPI 2022-03-27 01:51:20 +02:00
6e6f2859ab Fix switching to fullscreen mode in D3D11/D3D12 flip presentation modes 2022-03-26 16:48:46 +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
Wojtek Figat
e89e6edfb8 Fix crash in scripting init if current localization is null 2022-03-22 19:29:17 +01:00
Wojtek Figat
bb2f8f34dc Fix crash on opening skeleton mask window 2022-03-22 18:58:15 +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
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