Commit Graph

370 Commits

Author SHA1 Message Date
Wojtek Figat
98d5769558 Fix performance bug in Development/Release builds due to incorrect draw calls batching (uninitialized memory) 2023-09-28 10:59:09 +02:00
Wojtek Figat
9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
Wojtek Figat
8cd8ae93c3 Add ObjectRadius to DrawCall to properly cull local lights and env probes in Forward Shading 2023-09-20 15:01:02 +02:00
Wojtek Figat
7e81fdbd75 Fix crash when D3D11 backend fails to create shader due to driver failure 2023-09-19 23:45:30 +02:00
Wojtek Figat
e39a56fc4e Merge remote-tracking branch 'origin/master' into 1.7 2023-07-18 11:47:39 +02:00
Wojtek Figat
371db610a9 Merge remote-tracking branch 'origin/1.7' into 1.7 2023-07-16 12:03:06 +02:00
Wojtek Figat
31943ca9bd Add normals computing to cloth mesh 2023-07-16 12:02:33 +02:00
Wojtek Figat
f0496d53e8 Add RenderTools::CalculateTangentFrame utility 2023-07-16 11:57:21 +02:00
Chandler Cox
ba93e1e1d0 Add showing default materials to model entries. 2023-07-15 10:00:34 -05:00
Wojtek Figat
18fb7fb849 Add NvCloth for iOS 2023-07-15 11:27:26 +02:00
Wojtek Figat
159beae8ae Merge remote-tracking branch 'origin/master' into 1.7 2023-07-12 12:24:24 +02:00
Chandler Cox
a0bb3f2995 Add light debug view flag to draw light shapes 2023-07-07 17:32:46 -05:00
Wojtek Figat
e4c3461053 Merge remote-tracking branch 'origin/master' into 1.7 2023-07-03 22:01:50 +02:00
Wojtek Figat
9d640656e6 Fix StringUtils::ConvertANSI2UTF16 to properly handle multi-byte characters Length
#1225
2023-07-03 12:10:06 +02:00
Wojtek Figat
99ee0b1bfe Add MeshDeformation utility for generic meshes vertices morphing (eg. via Blend Shapes or Cloth) 2023-07-03 09:49:23 +02:00
Wojtek Figat
04963fef18 Various code fixes and tweaks 2023-07-02 15:46:29 +02:00
Wojtek Figat
f952a392de Add **stencil buffer** support to GPUPipelineState 2023-06-19 13:46:37 +02:00
Wojtek Figat
a6353c0bb9 Rename GPUPipelineState::Description::PrimitiveTopologyType to PrimitiveTopology 2023-06-19 11:53:40 +02:00
Wojtek Figat
1c9d8aa470 Add GPUContext::SetStencilRef to stencil reference value 2023-06-19 11:21:35 +02:00
Wojtek Figat
fea4b3fcba Add better Texture initialization API with custom data 2023-06-15 12:14:23 +02:00
Wojtek Figat
979168e82c Refactor various Editor APIs to use auto-generated bindings instead of manual code 2023-06-12 14:34:07 +02:00
Wojtek Figat
007edb4651 Merge commit '2c809389ad7d8953b10e7ab3b1b29aca4d072116' into 1.6 2023-06-01 01:06:27 +02:00
9e07e80fa1 Fix linking errors when referencing static members in engine classes 2023-05-29 22:23:45 +03:00
Wojtek Figat
69cdb1268a Merge remote-tracking branch 'origin/master' into 1.6 2023-05-08 12:58:42 +02:00
Wojtek Figat
a5afa04f8f Fix model screen size calculation in orthographic view projections
#980
2023-05-08 12:44:01 +02:00
Wojtek Figat
71a5d56105 Add support for importing skeleton-only as Skinned Model (eg. from animation file to have skeleton for retargeting) 2023-05-04 15:43:44 +02:00
Wojtek Figat
273b6c0228 Various minor improvements 2023-05-04 11:55:22 +02:00
Wojtek Figat
05ffaf7cef Add **skeleton retargeting** to play animations on different skeletons 2023-05-04 11:54:17 +02:00
Wojtek Figat
5b50562a9f Refactor Skeleton Mapping to be handled by Skinned Model instead of Animation asset 2023-04-26 14:27:01 +02:00
Wojtek Figat
390460907d Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/Scripting/CodeEditors/VisualStudioCodeEditor.cpp
#	Source/Tools/Flax.Build/Deps/Dependencies/OpenAL.cs
2023-04-22 18:59:41 +02:00
Wojtek Figat
1ffe8a7b60 Add OpenAL AL_SOFT_source_spatialize extension support for stereo spatial audio playback
Add `AllowSpatialization` option to `AudioSource`
2023-04-20 15:01:22 +02:00
Wojtek Figat
91c017713c Merge remote-tracking branch 'origin/master' into 1.6 2023-04-13 12:12:33 +02:00
Wojtek Figat
8a44ea5a99 Fix TextureMipData::GetPixels to properly copy pixels of the same format
Fixes #988
2023-04-13 11:20:56 +02:00
Wojtek Figat
b0966c9114 Add logging PixelFormat as string instead of integer value for better readability 2023-04-13 10:31:40 +02:00
Wojtek Figat
9e5a48af4b Fix bug when using material instance of material that uses GlobalSDF 2023-04-12 16:59:59 +02:00
Wojtek Figat
abf68328e6 Fix bug when using material instance of material that uses GlobalSDF 2023-04-12 16:59:03 +02:00
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
55d721f425 Fix typo 2023-02-19 14:40:35 +01:00
Wojtek Figat
9429be0830 Fix compilation warnings 2023-02-19 14:35:47 +01:00
Wojtek Figat
e644b65289 Fix potential rare issues with material shader constants containing invalid data 2023-02-18 18:25:40 +01:00
Wojtek Figat
679757942f Fix GPU Buffer Map/Unmap pair to prevent stall if map fails on DX11
#942
2023-02-17 16:28:48 +01:00
Chandler Cox
74bdcf0749 Fix not serializing post FX script fields. 2023-02-16 19:08:24 -06:00
Wojtek Figat
123b7f5433 Fix Mesh data downloading to support not yet streamed vertex/index data gather
#932
2023-02-16 13:47:43 +01:00
Wojtek Figat
77e19e148b Fix missing TraceMode blending in PostFx volume for SSR settings 2023-02-14 09:31:23 +01:00
Wojtek Figat
1034a15ddc Fix default SceneRenderTask view to have initialized matrices 2023-02-13 22:35:49 +01:00
Wojtek Figat
39443bf4d1 Reduce Render targets Pool flushing frequency to prevent memory popping 2023-02-09 13:30:46 +01:00
Wojtek Figat
d92da5ceba Upgrade GPU limits to support 16k textures 2023-02-07 13:35:00 +01:00
Wojtek Figat
9bb8dcac3d Fix GPU Limits to be clamped to the compile-time limits 2023-02-07 13:30:18 +01:00