Commit Graph

54 Commits

Author SHA1 Message Date
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
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
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
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
Wojciech Figat
a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojciech Figat
0af86d8cb8 Add HDR env probes support 2022-07-19 10:33:52 +02:00
Wojciech Figat
6061a0a344 Add support for baking env probes in cooked game 2022-07-18 16:32:50 +02:00
Wojciech Figat
3dbff3cab7 Fix crash when closing handles to asset file while any asset streaming task is active for asset from that file 2022-07-18 13:02:34 +02:00
Wojciech Figat
a8579cadcc Move DefaultProbeResolution from Graphics to GraphicsSettings only (not runtime option)
#728
2022-07-14 15:37:54 +02:00
Wojtek Figat
1dab45f407 Add support for renaming GPU resources (development builds only) 2022-06-22 23:08:39 +02:00
Wojtek Figat
b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
Wojtek Figat
3d7d52e779 Fix Vulkan crash when using Blur Panel in Screen Space canvas 2022-05-13 20:17:06 +02:00
Wojciech Figat
5345d1f685 Add events for streamable resources residency changes tracking 2022-04-21 12:37:39 +02:00
Wojciech Figat
0a458d94c4 Add support for Volume textures to have residency changed as regular textures 2022-04-21 12:36:16 +02: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
066a4c65bb Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 19:55:59 +01:00
Wojciech Figat
f67371d524 Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 18:04:44 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +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
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
4b735a365b Fix crash when streaming texture with unsupported format by the GPU driver 2021-11-04 16:47:43 +01:00
Wojtek Figat
7880bbe7ec Add missing support for some formats in TextureTool 2021-10-11 14:02:41 +02:00
Wojtek Figat
e1d9fbb742 Fix some engine API to be exposed for C++ scripting 2021-09-21 18:23:31 +02:00
Wojtek Figat
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
04c6ecc963 Add Physics Colliders debug view mode to display physical world shapes (solid) 2021-07-14 14:49:41 +02:00
Wojtek Figat
8a66bd74cf Tweak 2021-07-14 09:44:55 +02:00
Wojtek Figat
1c03b21a43 Fix textures converting when cooking 2021-07-13 12:51:28 +02:00
Wojtek Figat
252b37ebfe Fix deprecated assertions from streamable assets (streaming uses job system now) 2021-07-11 12:03:56 +02:00
Wojtek Figat
add88a783b Tweaks 2021-06-28 16:18:03 +02:00
Wojtek Figat
3c1fd427eb Add support for programmable samplers in shaders 2021-06-28 15:56:32 +02:00
Wojtek Figat
971449bef1 Cleanup some GPU code 2021-06-28 14:08:44 +02:00
Wojtek Figat
4681d8da56 Fix texture streaming minimum mips to load for block compressed textures 2021-06-18 14:42:09 +02:00
Wojtek Figat
f582ca5051 Add dynamic textures streaming based on visibility 2021-06-18 14:41:44 +02:00
Wojtek Figat
3b31fd7c71 Add support for editing texture group in editor (without reimporting) 2021-06-18 10:49:04 +02:00
Wojtek Figat
289515a78b Add support for stripping texture resolution for target platform when cooking game 2021-06-17 16:01:01 +02:00
Wojtek Figat
4744fa05ef Refactor Streaming with new settings and textures streaming configuration 2021-06-17 15:33:34 +02:00
Wojtek Figat
99012725dc Adjust includes 2021-06-17 14:15:19 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00