Commit Graph

180 Commits

Author SHA1 Message Date
Wojciech Figat
a5af0a1c81 Fix game build 2022-03-25 11:42:09 +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
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
c10cdc3d90 Fix UsedSRsMask/UsedUAsMask when binding arrays to the shader 2022-03-22 12:55:13 +01:00
Wojciech Figat
8cca7f884b Add **Global Sign Distance Field** rendering (work in progress) 2022-03-18 16:18:00 +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
3a1475fa9c Use SoftObjectReference for deformable asset ref to prevent removing it by Content GC 2022-02-28 23:16:00 +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
3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +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
a857e6daa0 Fix memory leak in RenderTargetPool on texture init fail 2022-02-15 12:14:02 +01:00
Wojciech Figat
311b95b9fc Add support for using mipmaps with 3D textures 2022-02-14 14:37:04 +01:00
Wojciech Figat
1168176016 Optimize texture data async upload during rendering 2022-02-09 10:01:21 +01:00
Wojciech Figat
69a1e007a6 Add some missing changes 2022-02-08 19:56:11 +01:00
Wojciech Figat
066a4c65bb Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 19:55:59 +01:00
Wojciech Figat
88879e441e Add some missing changes 2022-02-08 18:06:56 +01:00
Wojciech Figat
f67371d524 Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 18:04:44 +01:00
Wojtek Figat
73976149da Fix blend shape dirty vertices range 2022-02-06 21:25:52 +01:00
Wojtek Figat
748d69a3cb Add CollisionMeshesPrefix option to import collision data from model asset 2022-02-06 14:11:13 +01:00
Wojciech Figat
f801e7ffd9 Fixes 2022-01-21 16:23:30 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
a707847067 Tweaks 2022-01-10 12:38:07 +01:00
Wojtek Figat
92289fccfd Tweak build 2022-01-09 20:53:20 +01:00
Wojtek Figat
c4b6865659 Merge branch 'master' into mac 2022-01-09 19:15:15 +01:00
Wojtek Figat
192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
Wojtek Figat
bbfe0446f0 Tweaks and fixes 2022-01-08 15:06:21 +01:00
Wojtek Figat
7471a819e1 Add Vulkan support for Mac (via MoltenVK) 2022-01-05 10:25:46 +01:00
Wojtek Figat
9b991bcfdf Add Editor for Mac impl progress 2021-12-31 17:12:55 +01:00
Wojciech Figat
d017dd14ca Add Mac platform 2021-12-27 14:04:16 +01:00
Wojciech Figat
06305a8af6 Optimize model data access during models importing 2021-12-13 17:32:01 +01:00
Wojciech Figat
23303802ec Add support for passing back value via reference to C# scripting event 2021-12-06 16:46:16 +01:00
Wojciech Figat
653c209567 Fixes and tweaks for C++ API reference docs generation 2021-12-02 10:13:20 +01:00
Wojciech Figat
8e61cf8fe1 Fix missing blend shape data transformation on model data import 2021-11-26 12:57:53 +01:00
Wojciech Figat
af305dc376 Fix crash when model or skinned model loading fails 2021-11-24 17:42:01 +01:00
Wojciech Figat
46934b086d Fix crash if texture streaming fails on different texture format on Vulkan due to fallback usage 2021-11-15 16:39:18 +01:00
Wojtek Figat
6f16195b08 Fix mesh tangent and bitangent vectors generation with OpenFBX backend by using MikkTSpace 2021-11-11 13:23:30 +01:00
Wojciech Figat
dbdeddcd26 Add GetPixels and SetPixels to TextureBase for easier textures data editing 2021-11-09 16:27:23 +01:00
Wojciech Figat
e34d3285c2 Add option to automatically generate mips for textures created from code 2021-11-09 16:26:28 +01:00
Wojtek Figat
4c4c6e8f03 Add setter for ResidentMipLevels on GPU Texture for C# scripting 2021-11-08 00:25:20 +01:00
Wojtek Figat
1f12e37412 Move mesh and skinned mesh options into shared base 2021-11-05 12:07:00 +01:00
Wojtek Figat
4b735a365b Fix crash when streaming texture with unsupported format by the GPU driver 2021-11-04 16:47:43 +01:00
Wojtek Figat
2b05b80b54 Fix running editor on older D3D10 backend 2021-11-04 16:47:19 +01:00
Wojtek Figat
7ca83858ab Optimize vertex buffer writing in Debug Draw 2021-10-27 11:03:08 +02:00
Wojtek Figat
8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
Wojtek Figat
5dbbfed654 PS5 support progress 2021-10-20 15:35:12 +02:00
Wojtek Figat
7880bbe7ec Add missing support for some formats in TextureTool 2021-10-11 14:02:41 +02:00