Commit Graph

2965 Commits

Author SHA1 Message Date
Wojciech Figat
3ded5326a2 Add more utilities for using Matrix3x3 2022-04-04 17:09:47 +02:00
Wojciech Figat
52bb5803b3 Cleanup asset previews setup for Editors thumbnails rendering 2022-04-04 17:09:13 +02:00
Wojciech Figat
cff57e5697 Fix inserting to RectPack after freeing node 2022-04-01 14:15:09 +02:00
Wojciech Figat
251de1b643 Add support for freeing slots in RectPack 2022-04-01 12:41:09 +02:00
Wojciech Figat
de8a6bea58 Add drawing RenderList if it was not batched/sorted 2022-04-01 12:40:26 +02:00
Wojciech Figat
94799a9e28 Fixes and tweaks for rendering 2022-04-01 12:39:46 +02:00
Wojciech Figat
ceb64afd4a Add DynamicTypedBuffer utility 2022-04-01 12:38:46 +02:00
Wojciech Figat
63b8b0cb50 Add GlobalSurfaceAtlas pass to Renderer (wip) 2022-03-29 15:07:00 +02:00
Wojciech Figat
787e7b423c Add additional HitNormal feature to Global SDF trace output 2022-03-29 15:06:54 +02:00
Wojciech Figat
9d56093381 Add lazy init for Global SDF shader 2022-03-29 15:06:48 +02:00
Wojciech Figat
26b2cb291e Expose GlobalSignDistanceFieldPass to user scripts 2022-03-29 15:06:41 +02:00
Wojciech Figat
c41a446ae9 Add Rotate Vector node to Visject Surface graphs 2022-03-28 15:02:32 +02:00
Wojciech Figat
446a6f22fa Fix using double value with float values to be casted in Editor 2022-03-28 14:48:45 +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
4938c7e64b Fix ParticleEffectEditor issues after emitter editing if selected 2022-03-28 13:39:45 +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
2bf0a7af8e Fix opening particle emitter editor window if shader compilation fails 2022-03-25 15:37:01 +01:00
Wojciech Figat
5a0d8f44ff Fix crash on Editor closing 2022-03-25 15:36:47 +01:00
Wojciech Figat
3e9b6caa1c Fix sorting items in various contextual list popups in Editor 2022-03-25 15:36:30 +01:00
Wojciech Figat
a917397090 Add Conform to Global SDF to GPU particles 2022-03-25 15:36:00 +01:00
Wojciech Figat
6c4e61a924 Add SampleGlobalSDFGradient to get normal vector of Global SDF 2022-03-25 12:53:30 +01:00
Wojciech Figat
1271a337c5 Fix sampling Global SDF if unsupported (return large distance) 2022-03-25 11:42:39 +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
dff1b37a3b Bump up build number 2022-03-25 09:50:18 +01:00
Wojciech Figat
d5297f9047 Add option to always render Global SDF 2022-03-24 14:59:14 +01:00
Wojciech Figat
67d1e43f6c Add utility button to generate SDF for all models on a scene 2022-03-24 12:18:28 +01:00
Wojciech Figat
67b6604a67 Add automatic group panels hiding if all properties are hidden by VisibleIf rule 2022-03-24 11:33:09 +01:00
Wojciech Figat
a1fbf79ebf Refactor Model Import Options to display only relevant properties for asset Type
Move tooltips to the doc comments
2022-03-24 11:32:34 +01:00
Wojciech Figat
b08d2001fd Add Model SDF generation utilities 2022-03-24 11:32:02 +01:00
Wojciech Figat
d5060e9067 Missing change 2022-03-22 18:11:04 +01:00
Wojciech Figat
891d65dc87 Add utility to editor CodeDocs for tooltips from C# types and members 2022-03-22 18:10:47 +01:00
Wojciech Figat
832a4bf86a Add utility Copy option for various labels in assets editors 2022-03-22 17:16: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