1256 Commits

Author SHA1 Message Date
c1f6bcb83f some linux work from summer
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
2025-10-12 18:06:23 +03:00
eca4f6d9bc Merge remote-tracking branch 'origin/1.11' into work
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
2025-07-05 14:19:52 +03:00
802074fca3 Update package requirements for Wayland 2025-07-05 12:55:25 +03:00
0bb13e1d91 Add overloads for physics queries with user-provided buffers 2025-07-05 12:36:11 +03:00
db47531a6d Support marshalling Arrays as dynamic arrays in scripting API 2025-07-05 12:36:11 +03:00
Wojtek Figat
48c6339ebb Fix memory leak on material instances when updating layout of Text Render 2025-07-04 12:21:25 +02:00
Wojtek Figat
2dd34b288c Merge remote-tracking branch 'origin/master' into 1.11 2025-07-04 12:05:19 +02:00
Wojtek Figat
0bc595f16f Disable terarin normals smoothening 2025-07-04 12:04:36 +02:00
Wojtek Figat
7abed93972 Optimize terrain heightmap decoding to use shared code 2025-07-04 11:31:27 +02:00
51feaa0730 Release mouse relative mode when focus changes during mouse tracking
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
2025-07-03 23:21:42 +03:00
8e69aa8bd6 Fix error while closing Editor
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
2025-07-03 22:57:07 +03:00
90b2fded48 Merge remote-tracking branch 'origin/master' into sdl_platform
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
# Conflicts:
#	Source/Editor/Windows/SceneTreeWindow.cs
2025-07-03 22:05:29 +03:00
9125ffeb9e Update third-party label in About dialog 2025-07-03 22:02:37 +03:00
28980e5fbf Cleanup 2025-07-03 22:02:36 +03:00
aab0d772a4 Implement client-side window decorations for Editor windows 2025-07-03 22:02:36 +03:00
Wojtek Figat
4b10d7057a Fix crash when using material instance that has more parameters that base due to material error 2025-07-03 20:33:14 +02:00
Wojtek Figat
85aed8c4d7 Fix using material VS to PS node directly within material input 2025-07-03 20:32:41 +02:00
Wojtek Figat
da08be42b4 Fix deadlock in Debug builds on object dtor 2025-07-03 20:32:12 +02:00
Wojtek Figat
056fea9a8c Fix forward shading compilation when using fog inside unlit material 2025-07-03 14:48:38 +02:00
Wojtek Figat
bf345f13ce Fix reflection probes capture seams on cube face edges due to volumetric fog
#3252
2025-07-03 13:54:22 +02:00
Wojtek Figat
a138c6b062 Optimize environment probes filtering shader 2025-07-03 11:45:12 +02:00
Wojtek Figat
33e58c12cb Optimize ProbesRenderer to use time-slicing for cubemap faces rendering and filtering 2025-07-03 11:43:56 +02:00
Wojtek Figat
094a6562b8 Refactor ProbesRenderer 2025-07-03 10:18:51 +02:00
Wojtek Figat
7f783bb7da Fix crash when importing mesh with incorrect triangulation 2025-07-02 17:23:04 +02:00
Wojtek Figat
b08f218f30 Merge branch 'Zode-tageditor-quickexpand' 2025-07-01 16:47:07 +02:00
Wojtek Figat
c6640be04a Merge branch 'tageditor-quickexpand' of https://github.com/Zode/FlaxEngine into Zode-tageditor-quickexpand 2025-07-01 16:47:04 +02:00
Wojtek Figat
eff3c50d9c Merge branch 'xxSeys1-ContentSearchMouseOverFocusFix' 2025-07-01 16:34:42 +02:00
Wojtek Figat
3fa099ad06 Merge branch 'ContentSearchMouseOverFocusFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ContentSearchMouseOverFocusFix 2025-07-01 16:27:08 +02:00
Wojtek Figat
5e47a861f3 Merge branch 'xxSeys1-VisjectConnectionCmPolish' 2025-07-01 16:06:22 +02:00
Wojtek Figat
37b4b25ead Merge branch 'VisjectConnectionCmPolish' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-VisjectConnectionCmPolish 2025-07-01 16:06:13 +02:00
Wojtek Figat
edfd145226 Merge branch 'xxSeys1-FixCloseButtonAfterIBrokeIt' 2025-07-01 15:58:46 +02:00
Wojtek Figat
763ede4bd9 Merge branch 'FixCloseButtonAfterIBrokeIt' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-FixCloseButtonAfterIBrokeIt 2025-07-01 15:58:36 +02:00
Wojtek Figat
284da341e1 Merge branch 'xxSeys1-ItemsListExpandOnNavigate' 2025-07-01 15:56:53 +02:00
Wojtek Figat
53ed2431b5 Merge branch 'ItemsListExpandOnNavigate' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ItemsListExpandOnNavigate 2025-07-01 15:48:24 +02:00
Wojtek Figat
b4ab39b3bf Merge branch 'Tryibion-keep-scroll-scene-play' 2025-07-01 15:34:27 +02:00
Wojtek Figat
de61e3efb5 Merge branch 'keep-scroll-scene-play' of https://github.com/Tryibion/FlaxEngine into Tryibion-keep-scroll-scene-play 2025-07-01 15:34:07 +02:00
Wojtek Figat
29fb36fcd6 Merge branch 'Tryibion-fix-log-clear-play' 2025-07-01 10:52:39 +02:00
Wojtek Figat
78f0ff75f2 Move debug log clearing to handle pending entries too in publci api 2025-07-01 10:52:14 +02:00
Wojtek Figat
6efd456eaf Merge branch 'fix-log-clear-play' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-log-clear-play 2025-07-01 10:50:58 +02:00
Wojtek Figat
e0c96c0cde Merge branch 'Tryibion-fix-tooltip-scene' 2025-07-01 10:48:34 +02:00
Wojtek Figat
ada269568a Merge branch 'fix-tooltip-scene' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-tooltip-scene 2025-07-01 10:48:26 +02:00
Wojtek Figat
dd256ad518 Fix typo 2025-07-01 10:37:39 +02:00
Wojtek Figat
12c8bb4f31 Fix scene lightmaps removal clearing actors linkage to lightmaps 2025-07-01 08:27:29 +02:00
Wojtek Figat
4e4d380267 Fix fog to draw Fog Cutoff Distance via a plane, not sphere test
Add support for negative Fog Cutoff Distance on fog to draw it in front of the camera Far Plane, no matter the setup.
Fix hot-reloading Fog shader in Editor.
2025-06-29 20:02:54 +02:00
Wojtek Figat
448eb48c23 Fix fog to draw Fog Cutoff Distance via a plane, not sphere test
Add support for negative Fog Cutoff Distance on fog to draw it in front of the camera Far Plane, no matter the setup.
Fix hot-reloading Fog shader in Editor.
2025-06-29 20:02:24 +02:00
Wojtek Figat
78d519cb9a Fix ConcurrentSystemLocker to have exclusive lock as an option 2025-06-29 19:16:41 +02:00
Wojtek Figat
43d11264f8 Fix asset references to use separate lightweight locking instead of full asset mutex 2025-06-29 19:16:23 +02:00
Wojtek Figat
f126a83b79 Fix graphical issues when batching materials that use Forward Shading for instancing 2025-06-29 13:52:29 +02:00
Wojtek Figat
bdd7bae459 Add new Custom Lit shading model for custom lighting in materials (eg. Cel Shading) 2025-06-29 13:51:59 +02:00
Wojtek Figat
3dc7546dd4 Fix crash when constant buffer is unused by shader but still exists 2025-06-27 19:06:25 +02:00
Wojtek Figat
185151b025 Minor fixes 2025-06-27 18:52:25 +02:00
Wojtek Figat
8cdec15fa6 Fix GlobalSignDistanceFieldCustomBuffer to be thread-safe (scene rendering events are not guarded via mutex anymore) 2025-06-27 15:41:48 +02:00
Wojtek Figat
1b40775d62 Fix deadloop in HtmlParser when parsing text with incorrect tags 2025-06-27 11:56:09 +02:00
Wojtek Figat
45e82d21f4 Fix ConcurrentSystemLocker to guard for a single writer at once 2025-06-26 19:51:06 +02:00
Wojtek Figat
5c37584eca Minor adjustment for alignment of perf-critical variables in rendering 2025-06-26 19:50:42 +02:00
Wojtek Figat
674fda7375 Add resizing to Custom Code nodes in Materials 2025-06-26 19:50:04 +02:00
6296e1a9eb Fix linker errors 2025-06-26 15:32:38 +03:00
1586bb0702 Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-26 15:31:59 +03:00
xxSeys1
bf10d0949e add a bit of spacing to the left edge of the popup to reduce colors bleeding into the background 2025-06-26 12:47:31 +02:00
Wojtek Figat
d1c43ec1fe Merge remote-tracking branch 'origin/master' into 1.11 2025-06-25 10:48:11 +02:00
edeaf6af09 Fix compilation without SDL 2025-06-24 22:57:49 +03:00
Wojtek Figat
dbd8297612 Add SortOrder to Environment Probe 2025-06-24 19:25:18 +02:00
Wojtek Figat
8d62a13cbc Add LayoutElementsContainer.Image with IBrush 2025-06-24 18:32:20 +02:00
951edd95db Cleanup 2025-06-24 16:47:45 +03:00
9951211596 Fix mono glib.h wrapper compilation error 2025-06-24 16:47:20 +03:00
6d337464f7 Support XDG Desktop Portal as color picker provider
Wayland and XWayland fallback implementation uses XDP in
order to query picked color from desktop.
2025-06-24 16:41:32 +03:00
Wojtek Figat
5a05038a9b Add new UIBrush that uses UIBrushAsset json resource with a brush data 2025-06-24 13:08:25 +02:00
xxSeys1
109d4423bb add accent color strip to search item icons 2025-06-23 20:14:18 +02:00
d0b552d74a Use logo as an icon in Linux windows 2025-06-23 18:58:02 +03:00
xxSeys1
6c1e380a3e fix search item hover auto focusing item
Change what happens when search items get focused to prevent focus being taken away from search box.
Also adds a highlight to mouse hovered search item.
2025-06-23 17:24:53 +02:00
83512822b1 Support clipboard actions in Content Browser and Scene tree on Wayland
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
2025-06-23 17:50:02 +03:00
ccb78103ec Support clipboard actions in Content Browser and Scene tree on X11 2025-06-23 17:07:10 +03:00
6e79ffea34 Fix clipboard not working on X11 2025-06-23 17:07:10 +03:00
4f03d37a17 Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-23 12:03:41 +03:00
Wojtek Figat
c57a1a7205 Fix particle emitters to wait for used textures to be loaded and streamed in for proper usage in a graph 2025-06-23 09:31:58 +02:00
Wojtek Figat
867ae2ceaa Add Texture Size node to particles 2025-06-23 09:31:15 +02:00
Wojtek Figat
ef5d45874a Fix compilation regression 2025-06-22 12:12:42 +02:00
Chandler Cox
169db79b2a Fix issue with tooltip not updating on scene reload. 2025-06-20 20:12:43 -05:00
Chandler Cox
9e4c1da032 Clear entries and pending entries before play for debug log. 2025-06-20 19:42:30 -05:00
Wojtek Figat
d7df403e5e Optimize ContainerControl.DisposeChildren 2025-06-20 09:05:41 +02:00
Wojtek Figat
d3a50cdacb Optimize Actor::DestroyChildren 2025-06-20 09:05:25 +02:00
Chandler Cox
3cb74d48ca Convert using event to using window method overrides. 2025-06-19 20:01:27 -05:00
Chandler Cox
8633ed2124 Merge branch 'master' into keep-scroll-scene-play 2025-06-19 19:58:04 -05:00
Wojtek Figat
2e10d776e9 Optimize updating actor rendering entry with better thread locking that support async writes on actor update 2025-06-19 14:04:06 +02:00
Wojtek Figat
4ac870f701 Optimize physics transformation updates propagation in async via Job System 2025-06-19 13:57:50 +02:00
Wojtek Figat
6144f6c74e Optimize physics simulation with higher limit of 8 threads 2025-06-19 09:50:07 +02:00
Wojtek Figat
edb6884942 Optimize PhysX work dispatcher to be shared by all scenes 2025-06-19 08:24:26 +02:00
Wojtek Figat
62e329ac6e Add more memory tags for Navigation 2025-06-18 23:00:43 +02:00
Wojtek Figat
68dce7e4dd Merge remote-tracking branch 'origin/master' into 1.11 2025-06-18 22:46:10 +02:00
Wojtek Figat
6479a3d3c6 Fix log spam in task when waiting for task to end 2025-06-18 22:41:42 +02:00
Wojtek Figat
e41c48f9e5 Optimize NavMesh builder when updating a large number of tiles 2025-06-18 22:41:26 +02:00
Wojtek Figat
9cfcbfa9d2 Fix memory leak on recast objects when building NavMesh tile 2025-06-17 23:28:15 +02:00
Wojtek Figat
bcd2b1f0f2 Fix Array::RemoveAt to move element and avoid data copies 2025-06-17 23:27:26 +02:00
6fb8419b3c Disable window flashing on Wayland to fix focus issues 2025-06-17 14:23:20 +03:00
a4272d6ca9 Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-17 14:19:46 +03:00
Wojtek Figat
eb6010cba7 Fix BitArray again 2025-06-16 23:20:20 +02:00
Wojtek Figat
bd2add7edd Tweak memory command tip 2025-06-16 23:15:58 +02:00
Wojtek Figat
986693757c Merge remote-tracking branch 'origin/master' into 1.11 2025-06-16 22:46:17 +02:00
Wojtek Figat
5a23060e05 Add GPUTexture.UploadData for changing texture contents via TextureData container 2025-06-16 22:35:50 +02:00
Wojtek Figat
b92c18cf25 Fix missing/incorrect toolchain exception to log only once 2025-06-16 19:10:35 +02:00
Wojtek Figat
6a82eb114d Fix BitArray bit indexing 2025-06-16 19:05:44 +02:00
Wojtek Figat
97b37b3ce4 Add PRAGMA_DISABLE_OPTIMIZATION/PRAGMA_ENABLE_OPTIMIZATION 2025-06-16 18:00:26 +02:00
xxSeys1
bbe54969b0 fix close visject surface was_ flags to properly reset to false 2025-06-16 16:51:30 +02:00
4654117d5e Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-16 17:09:22 +03:00
xxSeys1
8164ce924f fix unfolding to actually work 2025-06-16 15:30:51 +02:00
Wojtek Figat
22911bbc45 Merge branch 'xxSeys1-VisjectCloseButtonFix' 2025-06-16 15:02:37 +02:00
Wojtek Figat
cae2720585 Merge branch 'VisjectCloseButtonFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-VisjectCloseButtonFix 2025-06-16 15:02:32 +02:00
Wojtek Figat
90b6293bc2 Add OnPlayEnding to editor modules and windows
#3514
2025-06-16 14:56:35 +02:00
xxSeys1
d110237423 fix GetVisibleItems() to only get visible items 2025-06-16 14:51:29 +02:00
Wojtek Figat
117f890612 Merge branch 'Zode-scenetree-scroll' 2025-06-16 14:50:14 +02:00
Wojtek Figat
a6a2fd2c66 Format code
#3526
2025-06-16 14:48:18 +02:00
Wojtek Figat
a05ca12770 Merge branch 'scenetree-scroll' of https://github.com/Zode/FlaxEngine into Zode-scenetree-scroll 2025-06-16 14:44:54 +02:00
Wojtek Figat
abe7785e94 Merge branch 'xxSeys1-PrefabEditorScrollToSelectionFix' 2025-06-16 14:43:40 +02:00
Wojtek Figat
2cedac8d96 Merge branch 'PrefabEditorScrollToSelectionFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-PrefabEditorScrollToSelectionFix 2025-06-16 14:43:34 +02:00
Wojtek Figat
ea854a0f7b Fix potential Grid shader accuracy issues
#3229
2025-06-16 14:41:43 +02:00
Wojtek Figat
d0817809ff Merge branch 'xxSeys1-ContentFinderImprovements' 2025-06-16 14:34:25 +02:00
Wojtek Figat
95f2216f97 Merge branch 'ContentFinderImprovements' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ContentFinderImprovements 2025-06-16 14:32:31 +02:00
Wojtek Figat
7e5edf1b33 Merge branch 'xxSeys1-ClearSearchOnAssetReferenceNavigate' 2025-06-16 14:30:58 +02:00
Wojtek Figat
c649a4f4b2 Merge branch 'ClearSearchOnAssetReferenceNavigate' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ClearSearchOnAssetReferenceNavigate 2025-06-16 14:30:53 +02:00
xxSeys1
cd7233d559 allow the user to unfold folded categories when scrolling with keyboard 2025-06-16 14:10:44 +02:00
6ff260d052 Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-16 14:09:29 +03:00
88d2b72822 Update SDL to 3.3.x
Fixes popup focus issues on Linux
2025-06-16 14:09:04 +03:00
Wojtek Figat
3c74b315a8 Merge branch 'Zode-console-hotkey' 2025-06-15 23:47:29 +02:00
Wojtek Figat
f841575378 Merge branch 'console-hotkey' of https://github.com/Zode/FlaxEngine into Zode-console-hotkey 2025-06-15 23:25:09 +02:00
Wojtek Figat
d90377ed62 Merge branch 'Zode-import-export-warnings' 2025-06-15 23:23:22 +02:00
Wojtek Figat
c8d622bda9 Merge branch 'import-export-warnings' of https://github.com/Zode/FlaxEngine into Zode-import-export-warnings 2025-06-15 23:23:18 +02:00
Wojtek Figat
fbf2d8f567 Merge branch 'xxSeys1-ItemListImprovedKeyboardNav' 2025-06-15 23:06:26 +02:00
Wojtek Figat
42687a792c Merge branch 'ItemListImprovedKeyboardNav' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ItemListImprovedKeyboardNav 2025-06-15 22:59:20 +02:00
Wojtek Figat
5c43d35146 Merge branch 'Zode-node-alignment' 2025-06-15 22:32:29 +02:00
Wojtek Figat
c1e1dee975 Merge branch 'node-alignment' of https://github.com/Zode/FlaxEngine into Zode-node-alignment 2025-06-15 22:32:24 +02:00
Wojtek Figat
742d74a2d0 Merge branch 'xxSeys1-ModelSliders' 2025-06-15 21:43:04 +02:00
Wojtek Figat
614ffa70a0 Merge branch 'ModelSliders' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ModelSliders 2025-06-15 21:43:00 +02:00
Wojtek Figat
4b4331fd70 Merge branch 'Zode-visject-better-selection' 2025-06-15 21:28:42 +02:00
Wojtek Figat
e221f7204b Merge branch 'visject-better-selection' of https://github.com/Zode/FlaxEngine into Zode-visject-better-selection 2025-06-15 21:22:27 +02:00
Wojtek Figat
18fa8e1c47 Merge branch 'Zode-particles-sourcecode' 2025-06-15 20:48:22 +02:00
Wojtek Figat
2f02ec52ed Cleanup code
#3546
2025-06-15 20:48:19 +02:00
Wojtek Figat
9464f97e16 Merge branch 'particles-sourcecode' of https://github.com/Zode/FlaxEngine into Zode-particles-sourcecode 2025-06-15 20:45:18 +02:00
Wojtek Figat
54467a4a5e Merge branch 'Zode-layers-matrix-improvements' 2025-06-15 20:41:23 +02:00
Wojtek Figat
3a9e175043 Merge branch 'layers-matrix-improvements' of https://github.com/Zode/FlaxEngine into Zode-layers-matrix-improvements 2025-06-15 20:40:22 +02:00
Wojtek Figat
9dff048cb5 Merge branch 'Tryibion-main-menu-get-add' 2025-06-15 20:36:37 +02:00
Wojtek Figat
f376fd50a9 Merge branch 'main-menu-get-add' of https://github.com/Tryibion/FlaxEngine into Tryibion-main-menu-get-add 2025-06-15 20:36:32 +02:00
Wojtek Figat
e27cf04f91 Merge branch 'Zode-debug-quicktoggle' 2025-06-15 20:32:00 +02:00
Wojtek Figat
648504ceb1 Format code
#3544
2025-06-15 20:31:04 +02:00
xxSeys1
e2f741cab9 adjust model window and animated model slider speeds 2025-06-12 18:45:02 +02:00
Wojtek Figat
766091045b Improve version parsing to share code 2025-06-12 18:21:12 +02:00
xxSeys1
47e1547d29 improve behaviour of visject node cm menu 2025-06-12 18:12:06 +02:00
Wojtek Figat
e2d9452994 Add unified min Clang version 13 for Linux 2025-06-12 18:05:01 +02:00
Wojtek Figat
eadb4411ff Fix crash in GPU Memory profiler if resource went null 2025-06-12 17:35:02 +02:00
Wojtek Figat
bdc87c7bc6 Update min supported version of macOS to 13 and iOS to 15 2025-06-12 17:26:39 +02:00
Wojtek Figat
7606c9ac12 Update minimum CPU arch requirement on Windows to AVX2 with SSE4.2
94.48% support on PC according to Steam Hardware & Software Survey: May 2025 (https://store.steampowered.com/hwsurvey/)
2025-06-12 17:03:19 +02:00
Wojtek Figat
4240646ec7 Update minimum Windows version to 10 (to match .NET 8) 2025-06-12 08:31:32 +02:00
xxSeys1
214ec9f2b1 fix node delete button not checking if the user is performing certain actions on the surface before deleting node 2025-06-12 00:49:39 +02:00
Wojtek Figat
0fa53f860a Add UseLogInRelease to engine config to disable logging in Release builds 2025-06-11 23:35:03 +02:00
Zode
27ac755bbe Make particle emitter editor window source code button disable itself is no source code is available 2025-06-11 23:15:11 +03:00
Wojtek Figat
8ec138399a Add higher level streaming time budget in frame based on idle time 2025-06-11 18:40:35 +02:00
Wojtek Figat
5b6859a66f Add time slicing to Deserialization stage of async scenes loading to avoid hitching
#3261
2025-06-11 18:40:06 +02:00
Zode
bed1f6e9cc Make tag editor expand all if holding shift while clicking the ... button 2025-06-11 19:06:23 +03:00
Zode
00055ef663 Make tool strip buttons more responsive by also reaction to double left clicks 2025-06-11 17:47:27 +03:00
Zode
aa59a6faf7 Extract function to lessen repeat code for debug group buttons, add shift functionality to quick toggle others. 2025-06-11 17:46:37 +03:00
Wojtek Figat
e9835766bc Add red color to Tracy profiler zones that cause CPU waiting to improve profiling 2025-06-11 14:56:43 +02:00
Wojtek Figat
d6eb647d59 Optimize async scene loading to run in separate stages with time-slicing 2025-06-11 14:33:47 +02:00
Wojtek Figat
b50f3fcb64 Refactor level actions to support time budget and time slicing 2025-06-11 00:01:46 +02:00
Wojtek Figat
d6b4992991 Optimize actors registration in SceneRendering to track free items 2025-06-10 20:08:20 +02:00
Chandler Cox
fc561b5ec5 Merge pull request #2 from xxSeys1/noScrollOnScriptsReload
Dont scroll to node after scripts compilation
2025-06-10 10:03:06 -05:00
xxSeys1
dacc0068e0 dont scroll to node after scripts compilation 2025-06-10 16:49:30 +02:00
Zode
e7d2025010 Merge less flicker pr, and snatch the badge
Co-authored-by: Zode <jonzqzode@gmail.com>
Co-authored-by: Saas <kaktusreiniger@gmail.com>
2025-06-10 16:45:02 +03:00
xxSeys1
b418ab5275 reduce flickering in highlights and boxes 2025-06-10 14:58:31 +02:00
Zode
c1e782bb32 Add hotkey to quick focus debug console input 2025-06-09 23:34:02 +03:00
Wojtek Figat
cfd2f42b0c Optimize managed memory allocations in Editor profiler 2025-06-09 22:06:49 +02:00
Chandler Cox
e1a2a36978 Add GetOrAddButton utility for MainMenu. 2025-06-09 15:02:43 -05:00
xxSeys1
793bc33b2f fix right clicking on item reset search and scroll 2025-06-09 18:40:33 +02:00
xxSeys1
2109a2d261 update content finder popup to wrap on keyboard navigation
- Fixes auto scroll
- Make it wrap
- Add pressing backspace to focus search bar and select all text
2025-06-09 18:40:12 +02:00
Wojtek Figat
89c7f4b0a3 Fix ManagedDictionary cache to be cleared on hot-reload 2025-06-09 17:19:36 +02:00
Wojtek Figat
d7ff9fdade Optimize editor profiler native allocations when capturing data 2025-06-09 15:23:31 +02:00
Zode
9e50a39ebf Add define guards so that the messagebox only appears in editor builds 2025-06-09 16:19:39 +03:00
Zode
7fc564a0ac Pop error box on lightmap UV generation also 2025-06-09 15:07:52 +03:00
Zode
8dfb564fb3 Add messagebox to windows import too 2025-06-09 15:04:34 +03:00
Zode
f8daff273a Add import & export warning messageboxes. 2025-06-09 14:56:54 +03:00
xxSeys1
112e728465 fix scroll to node on selection in prefab editor 2025-06-09 13:56:41 +02:00
Wojtek Figat
057ec9d41e Anothher fix 2025-06-09 10:48:02 +02:00
Wojtek Figat
7fa4efcac5 Fix compilation in Release 2025-06-09 10:17:51 +02:00
Wojtek Figat
6547e7ee9c Fix compilation with Clang 2025-06-08 23:58:33 +02:00
Wojtek Figat
907c593671 Fix typos in doc comments 2025-06-08 19:47:09 +02:00
29868531ad SDL workaround for window size and position not updating
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Cooker / Cook (Mac) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
2025-06-08 18:57:57 +03:00
95dfb6fdc6 Reduce minimum default window size for CommandLineBox popup 2025-06-08 18:57:12 +03:00
Zode
9c9d560ce5 Add hotkeys to visject formatting 2025-06-08 03:32:51 +03:00
Zode
f1945552ab Add horizontal and vertical distribution 2025-06-08 02:42:28 +03:00
Wojtek Figat
65ab42158d Update engine version 2025-06-08 00:58:39 +02:00
Wojtek Figat
99841e2e8d Fix crash when using invalid node index in skinned mesh 2025-06-08 00:58:31 +02:00
Wojtek Figat
73c30d3d89 Optimize asset references to support direct registration to reduce Delegate memory allocations and overhead 2025-06-08 00:58:15 +02:00
Zode
ecd5559aad Clean up a bit code after moving it around. 2025-06-08 00:41:02 +03:00
Zode
1fa83639c2 Fix update order inconsistencies between machines by exposing an action for when defered layout happens. 2025-06-08 00:38:59 +03:00
Zode
568719b615 Fix scroll issue caused by tree's defered layout update 2025-06-07 23:21:41 +03:00
Zode
74000fa766 Expand tree if necessary, so the selected node will be shown 2025-06-07 22:53:07 +03:00
Zode
1d63067614 Add ability to do additive and subtractive selections in visject surfaces using ctrl and shift during selection. 2025-06-07 21:04:59 +03:00
xxSeys1
85fd1389db clear content panel search when selecting asset picker asset 2025-06-07 18:17:40 +02:00
xxSeys1
cce042045e wrap scrolling items with arrow keys and simplify scrolling logic 2025-06-07 17:34:01 +02:00
Zode
53e3cee196 Scroll selected to view when emptying out search box 2025-06-07 17:15:54 +03:00
Zode
6ee3b23261 Add highlighting to layers matrix editor to improve UX 2025-06-07 16:57:28 +03:00
Zode
1a77ba4552 Add node alignment formatting options to visject 2025-06-07 13:15:39 +03:00
Wojtek Figat
bffb175a9b Code fixes 2025-06-07 01:25:22 +02:00
Wojtek Figat
125a973ff2 Rename Prefetch to MemoryPrefetch 2025-06-06 22:55:14 +02:00
Wojtek Figat
462f75abd0 Optimize memory allocation when reading animated model pose by cloth 2025-06-06 22:41:48 +02:00
Wojtek Figat
d95cd2f0be Optimize memory alloc on Animated Model init 2025-06-06 22:41:29 +02:00
Wojtek Figat
091f76bbf2 Add more improvements to usability of memory profiler 2025-06-06 22:40:43 +02:00
Wojtek Figat
e8b60060ab Fix memory profiler thread-local storage to avoid dynamic mem alloc due to recursive call 2025-06-06 14:52:27 +02:00
Wojtek Figat
cd637e8a7a Add more memory profiling coverage 2025-06-06 14:38:22 +02:00
Wojtek Figat
9d8e75caa3 Fix various code to improve quality 2025-06-06 11:19:32 +02:00
Wojtek Figat
eee4e55cf0 Fix debug shapes change 2025-06-05 22:26:45 +02:00
Wojtek Figat
0670c0bbd3 Fix compilation warnings 2025-06-05 18:32:36 +02:00
Wojtek Figat
f462a2187f Merge branch 'master' into 1.11 2025-06-05 18:03:17 +02:00
Wojtek Figat
c2cbaeed30 Add option to change Character Controller capsule origin to start at feet location 2025-06-05 17:48:07 +02:00
Wojtek Figat
e982a23ed3 Add CharacterController.Resize for quick crouching implementation for characters 2025-06-05 15:07:51 +02:00
Wojtek Figat
f6feae5cf2 Optimize collider cached scale 2025-06-05 15:06:03 +02:00
Wojtek Figat
ba75fd5882 Fix crash regression when textbox watermak is null 2025-06-05 12:47:45 +02:00
Wojtek Figat
1eaf40f2f7 Fix changing CharacterController center at runtime to maintain actor placement 2025-06-05 12:40:47 +02:00
Wojtek Figat
fe98a23cb4 Merge branch 'GoaLitiuM-update_tracy' 2025-06-05 00:01:04 +02:00
Wojtek Figat
77bf03128e Merge branch 'update_tracy' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-update_tracy 2025-06-04 23:53:32 +02:00
Wojtek Figat
8f49a492d8 Fix duplicating json assets to properly remap object IDs
#3441
2025-06-04 23:49:19 +02:00
8df3999f85 Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-04 19:30:30 +03:00
Chandler Cox
dd4bb2f7f1 Dont scroll to node when play is starting or ending. 2025-06-04 11:16:01 -05:00
Wojtek Figat
496856d12e Add shader header proxy for easy .hlsl files creation within Editor 2025-06-04 00:12:43 +02:00
Wojtek Figat
e97d683545 Fix regression from #3389 2025-06-03 23:37:37 +02:00
Wojtek Figat
ae44d47043 Merge branch 'GoaLitiuM-float_equality' 2025-06-03 18:08:12 +02:00
Wojtek Figat
8b88def9d0 Revert some changes from #3389 that are not relevant for world units 2025-06-03 17:43:01 +02:00
Wojtek Figat
fa97229830 Merge branch 'float_equality' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-float_equality 2025-06-03 17:26:12 +02:00
Wojtek Figat
1946caac6e Fix compilation with Large Worlds 2025-06-03 17:26:04 +02:00
Wojtek Figat
6f5308126b Fix focus issue after closing context menu 2025-06-03 14:52:45 +02:00
Wojtek Figat
6a0c734cec Fix Visject surface select with Control to toggle selection of the node 2025-06-03 14:51:31 +02:00
Wojtek Figat
13b8863f0c Fix some material nodes height 2025-06-03 14:51:04 +02:00
Wojtek Figat
f2aaad0048 Add viewport icons scale relative to the distance and editor control over it
#2944 #2644
2025-06-03 14:50:47 +02:00
Wojtek Figat
55b441e9fa Fix transparency-related material options when using material with deferred shading 2025-06-03 12:55:54 +02:00
Wojtek Figat
6fece4ca38 Fix automatic collision importing from mode to remove unused material slots
#3475
2025-06-03 12:48:31 +02:00
Wojtek Figat
2fd9b4a62a Fix loading models with no meshes 2025-06-03 12:28:17 +02:00
Wojtek Figat
077f7a3cd1 Add PositionFormat and TexCoordFormat to model import option for mesh data encoding 2025-06-03 11:18:03 +02:00
Wojtek Figat
7da69f18d4 Add button to quickly jump into Localized String Table that contains it
#3301
2025-06-02 22:01:06 +02:00
6c63c2f650 Update tracy to 0.12.0 2025-06-02 20:00:06 +03:00
149b189629 Update SDL to 3.2.16 2025-06-02 19:23:34 +03:00
Wojtek Figat
fd8a8b5a4d Fix missing default value of localized string in editor 2025-06-02 18:02:34 +02:00
b1fd86e6b5 Merge remote-tracking branch 'origin/master' into sdl_platform 2025-06-02 18:15:16 +03:00
5e8fdf879d Fix logging in gamepad related events 2025-06-02 18:15:10 +03:00
Wojtek Figat
fa89e710d8 Fix Terrain shader error when using Position Offset
#3479
2025-06-02 15:05:20 +02:00
Wojtek Figat
b51ba58063 Fix crash on invalid particle data to be a soft check instead 2025-06-02 14:56:51 +02:00
Wojtek Figat
057489e5b9 Fix Output Log scroll when using search
#3442 #3456
2025-06-02 14:42:18 +02:00
Wojtek Figat
5bae695ae9 Merge branch 'Tryibion-fix-unpause-no-game-win' 2025-06-02 14:05:23 +02:00
Wojtek Figat
5b3ed1fbc3 Merge branch 'fix-unpause-no-game-win' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-unpause-no-game-win 2025-06-02 14:05:19 +02:00
Wojtek Figat
f5092e5262 Merge branch 'Tryibion-skip-setting-prefab-root-name' 2025-06-02 14:03:50 +02:00
Wojtek Figat
3bd6160c3b Merge branch 'skip-setting-prefab-root-name' of https://github.com/Tryibion/FlaxEngine into Tryibion-skip-setting-prefab-root-name 2025-06-02 14:03:47 +02:00
Wojtek Figat
1d0a0a409d Fix panel scroll bars update to be performed once again if controls are gets changed during layout
#3470 #3486
2025-06-02 13:40:27 +02:00
Wojtek Figat
eb90ab84f2 Fix performing layout after changing selected tab
#3467 #3487
2025-06-02 13:17:51 +02:00
Wojtek Figat
6f37525674 Merge branch 'alsed-master' 2025-06-02 12:39:17 +02:00
Wojtek Figat
eeb8a7ea41 Merge branch 'master' of https://github.com/alsed/FlaxEngine into alsed-master 2025-06-02 12:39:13 +02:00
Wojtek Figat
df0b571c50 Merge branch 'xxSeys1-UnifyZoomBehavior' 2025-06-02 12:37:41 +02:00
Wojtek Figat
ec22427acd Merge branch 'UnifyZoomBehavior' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-UnifyZoomBehavior 2025-06-02 12:25:18 +02:00
Wojtek Figat
6c499e877f Fix prefab diff in Editor on mesh reference 2025-06-02 11:50:10 +02:00
Wojtek Figat
4d9407e4e9 Merge code on properties objects locking to use the same path for prefab and scene properties panels 2025-06-02 11:03:16 +02:00
Wojtek Figat
28c70f5078 Fix some editor UI
#3460 #3491
2025-06-02 11:00:33 +02:00
Wojtek Figat
14806a1ac7 Merge branch 'Tryibion-add-root-tree-line-option' 2025-06-02 10:19:35 +02:00
Wojtek Figat
1ebb3e67d6 Merge branch 'add-root-tree-line-option' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-root-tree-line-option 2025-06-02 10:17:34 +02:00
Wojtek Figat
991cdbb9a0 Merge branch 'Tryibion-fix-node-filter-prefab' 2025-06-02 10:16:28 +02:00
Wojtek Figat
278b177c46 Merge branch 'fix-node-filter-prefab' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-node-filter-prefab 2025-06-02 10:16:25 +02:00
Wojtek Figat
0630b6257a Merge branch 'Tryibion-better-prefab-dif-name' 2025-06-02 09:30:51 +02:00
Wojtek Figat
f86d9c47b7 Merge branch 'better-prefab-dif-name' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-prefab-dif-name 2025-06-02 09:30:46 +02:00
Wojtek Figat
ae2088bb9d Fix Android NDK version parsing when using beta build
#3504
2025-06-02 00:06:13 +02:00
Wojtek Figat
9340c42f2b Merge branch 'xxSeys1-CrammedGradingFixed' 2025-06-01 23:54:40 +02:00
Wojtek Figat
8d7dfd5946 Merge branch 'CrammedGradingFixed' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-CrammedGradingFixed 2025-06-01 23:53:15 +02:00
Wojtek Figat
894cb273aa Merge branch 'xxSeys1-WindowShortcuts' 2025-06-01 23:32:43 +02:00
Wojtek Figat
2996e0c53c Merge branch 'WindowShortcuts' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-WindowShortcuts 2025-06-01 23:26:46 +02:00
Wojtek Figat
79ce82d8a0 Merge branch 'Weyzu-fix_dotnet_version_detection' 2025-06-01 22:43:56 +02:00
Wojtek Figat
3c8e59c114 Merge branch 'fix_dotnet_version_detection' of https://github.com/Weyzu/FlaxEngine into Weyzu-fix_dotnet_version_detection 2025-06-01 22:43:53 +02:00
Wojtek Figat
1493571810 Merge branch 'GoaLitiuM-fix_tree_performance' 2025-06-01 21:59:13 +02:00
Wojtek Figat
a613d89f47 Merge branch 'fix_tree_performance' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_tree_performance 2025-06-01 21:55:58 +02:00
Wojtek Figat
5471c59d5f Merge branch 'xxSeys1-Atan2DefaultValueFix' 2025-06-01 21:39:16 +02:00
Wojtek Figat
ac42223f9e Merge branch 'Atan2DefaultValueFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-Atan2DefaultValueFix 2025-06-01 21:39:03 +02:00
Wojtek Figat
c21c9c13ad Merge branch 'xxSeys1-gravityTypoFix' 2025-06-01 21:23:42 +02:00
Wojtek Figat
8251509607 Merge branch 'gravityTypoFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-gravityTypoFix
# Conflicts:
#	Source/Engine/Physics/PhysicsSettings.h
2025-06-01 21:23:35 +02:00
xxSeys1
3083e3f611 fix wrong unit in physics settings 2025-06-01 16:04:30 +02:00
xxSeys1
66add1f3bd fix missing whitespaces 2025-06-01 16:01:55 +02:00
Wojtek Figat
b8a680df57 Merge branch 'xxSeys1-TerrainLayerWeightNodeWidth' 2025-06-01 15:55:10 +02:00
Wojtek Figat
e969b7fffb Merge branch 'TerrainLayerWeightNodeWidth' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-TerrainLayerWeightNodeWidth 2025-06-01 15:55:07 +02:00
Wojtek Figat
5d9657781a Merge branch 'Weyzu-fix_timeouts_in_task_wait' 2025-06-01 15:51:07 +02:00
Wojtek Figat
2cd03787cd Merge branch 'fix_timeouts_in_task_wait' of https://github.com/Weyzu/FlaxEngine into Weyzu-fix_timeouts_in_task_wait 2025-06-01 15:50:03 +02:00
Wojtek Figat
619c5ac3b0 Fix unit of gravity in doc comment
#3509
2025-06-01 15:45:27 +02:00
Wojtek Figat
89baa91552 Don't sue 2025-06-01 09:20:11 +02:00
Wojtek Figat
83b3b1af76 Fix terrain collision debug draw flickering when moving camera in Large Worlds
#3260
2025-06-01 09:19:49 +02:00
Wojtek Figat
19148f21ac Merge branch 'Tryibion-fix-anim-preview-bounds' 2025-05-31 23:59:22 +02:00
Wojtek Figat
2da8e392db Merge branch 'fix-anim-preview-bounds' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-anim-preview-bounds 2025-05-31 23:58:54 +02:00
Wojtek Figat
a812b8b108 Merge branch 'xxSeys1-ViewFlagAndDebugModeShortcuts' 2025-05-31 23:56:06 +02:00
Wojtek Figat
3dc96352e6 Merge branch 'ViewFlagAndDebugModeShortcuts' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ViewFlagAndDebugModeShortcuts 2025-05-31 23:51:10 +02:00
Wojtek Figat
c2b590d2cf Merge branch 'Tryibion-engine-play-mode' 2025-05-31 23:37:16 +02:00
Wojtek Figat
842d6969fe Merge branch 'engine-play-mode' of https://github.com/Tryibion/FlaxEngine into Tryibion-engine-play-mode 2025-05-31 23:37:11 +02:00
Wojtek Figat
0f3044ae72 Optimize debug drawing of terrain shape in Physics Colliders view mode
#3469
2025-05-31 23:27:51 +02:00
Wojtek Figat
11dec8e868 Fix incorrectly rendered transparency in Physics Colliders view mode
#3474
2025-05-30 15:51:35 +02:00
Wojtek Figat
d6b1f06721 Fix deprecated asset saving to skip temporary or virtual assets 2025-05-30 15:31:10 +02:00
Wojtek Figat
14fcc593c7 Fix various margins and spacings between UI elements in Editor to be consistent 2025-05-30 15:28:56 +02:00
Wojtek Figat
08ed5ae483 Add SCOPE_EXIT macro and use it in prefab tests to cleanup assets on test fail 2025-05-30 11:16:17 +02:00
Wojtek Figat
b065e6c989 Fix regression from 294dd3d363 2025-05-30 11:15:47 +02:00
Wojtek Figat
372a23cf3a Merge branch 'Tryibion-focus-actor-no-box' 2025-05-30 00:47:18 +02:00
Wojtek Figat
4721e8109f Merge branch 'focus-actor-no-box' of https://github.com/Tryibion/FlaxEngine into Tryibion-focus-actor-no-box 2025-05-30 00:47:05 +02:00
Wojtek Figat
b58aaccc53 Fix missing Physics Colliders view if Debug Draw is disabled
#3498
2025-05-30 00:46:09 +02:00
Wojtek Figat
294dd3d363 Fix json guid parsing to check for correct hex characters
#3476
2025-05-30 00:42:55 +02:00
Wojtek Figat
e00f552baf Fix missing xml comment 2025-05-30 00:39:20 +02:00
Wojtek Figat
8eff098850 Fix Linux build 2025-05-28 04:30:08 +02:00
Wojtek Figat
4fe9fdded6 Optimize redundant string allocation in managed binary module unload 2025-05-28 04:10:47 +02:00
Wojtek Figat
03d52d4eb9 Add support for building engine without logging 2025-05-28 04:05:12 +02:00
Wojtek Figat
ab61ed5a37 Add more memory profiling insights and groups 2025-05-28 04:03:44 +02:00
Wojtek Figat
72ee80242d Add integration with Tracy profiler to plot main memory categories 2025-05-26 05:37:53 +02:00
Wojtek Figat
9dc4dbc6d7 Add more memory profiler categories 2025-05-25 18:38:07 +02:00
Wojtek Figat
a74c5e7943 Another fix for iOS build 2025-05-25 18:01:30 +02:00
Wojtek Figat
8f9fa6995e Fix compilation issues 2025-05-25 17:40:00 +02:00
Wojtek Figat
98e59450f1 Add freeing managed assembly memory on reload/unload 2025-05-25 17:39:51 +02:00
Wojtek Figat
8c62f1120f Optimize dynamic memory allocations for managed runtime interop collections with a new Arena Allocation 2025-05-25 17:39:20 +02:00
Wojtek Figat
9aaba955d0 Fix profiler tables to use column headers aligned to center 2025-05-25 02:04:56 +02:00
Wojtek Figat
410ec0465c Optimize CSharp scripting runtime to use arena allocator per-assembly 2025-05-25 02:04:16 +02:00
Chandler Cox
ae9ded504d Add utility for if in play mode that returns true for shipped applications. 2025-05-23 23:21:45 -05:00
Wojtek Figat
f9cb4ddae2 Add new Arena Allocator for optimized dynamic memory allocations with a shared lifetime 2025-05-24 05:08:32 +02:00
Chandler Cox
9753e579c1 Check for Game window before usage to avoid errors in trying to unplay. 2025-05-23 18:16:48 -05:00
Chandler Cox
2e996c8e91 Remove redundant call to scene. Fixes error in prefab node filtering. 2025-05-23 17:11:45 -05:00
Chandler Cox
545a43de32 Add drawing root tree lines except for in scene and prefab tree. 2025-05-23 16:50:55 -05:00
Chandler Cox
e606c35093 Add node tree to show changes to whole prefab. 2025-05-23 16:23:22 -05:00
Chandler Cox
21ae2d5d40 Focus Actor position if no Actor bounding box. 2025-05-23 14:44:53 -05:00
Chandler Cox
4649298605 Dont allow setting prefab root name from scene instance. 2025-05-23 14:06:21 -05:00
Chandler Cox
ae9622d271 Re-add colors back in for nodes. 2025-05-23 13:29:05 -05:00
Chandler Cox
4366976015 Add better prefab diff viewing naming for actors 2025-05-23 13:27:01 -05:00
Chandler Cox
5b2a966ac6 Fix animation preview bounds scale. 2025-05-23 10:37:30 -05:00
Wojtek Figat
bb855e2663 Add suport for Tracy profiler on Mac 2025-05-22 05:34:36 +02:00
Wojtek Figat
d24f9d1e1e Add warning when using memory profiler without enabled on startup 2025-05-22 05:18:56 +02:00
Wojtek Figat
c1b1f4afc4 Add process memory stats for Apple platforms 2025-05-22 04:49:48 +02:00
Wojtek Figat
c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
Wojtek Figat
32bc73610f Fix debug command type detection when it's used with argument 2025-05-22 04:45:12 +02:00
Wojtek Figat
66dcfafa2e Fix Vulkan descriptor sets pooling 2025-05-22 04:42:01 +02:00
Wojtek Figat
9215f2662f Add missing memory alloc profiling for virtual pages 2025-05-22 04:41:01 +02:00
Wojtek Figat
2dc404cbd3 Add new memory profiler 2025-05-22 04:40:32 +02:00
xxSeys1
59308df250 add shortcuts for viewflags and debug view modes 2025-05-18 16:28:16 +02:00
Wojtek Figat
9ba1c4c338 Fix typo in ec2957bf38 2025-05-16 20:24:01 +02:00
Wojtek Figat
ec2957bf38 Fix memory leak on sequential mesh buffers update
#3449
2025-05-16 20:23:16 +02:00
Wojtek Figat
8bb5655b2f Fix error when using invalid camera ray 2025-05-16 20:22:52 +02:00
xxSeys1
c24ecaaab1 fix crammed color grading editor value boxes 2025-05-15 19:27:48 +02:00
xxSeys1
483a33996f fix atan2 to use default box value 2025-05-15 11:43:38 +02:00
Wiktor Żurawik
6be8158209 Fix timeout calculation in Task::Wait 2025-05-13 23:10:57 +02:00
Wojtek Figat
8e7fcd3cad Merge branch 'xxSeys1-ItemsListNoSelectionAutoFirst' 2025-05-13 20:16:56 +02:00
Wojtek Figat
a792a8a533 Merge branch 'ItemsListNoSelectionAutoFirst' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ItemsListNoSelectionAutoFirst 2025-05-13 20:16:51 +02:00
Wojtek Figat
25d8c4645e Merge branch 'GoaLitiuM-fontlinecache_alloc' 2025-05-13 20:09:08 +02:00
Wojtek Figat
64c552d69d Merge branch 'fontlinecache_alloc' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fontlinecache_alloc 2025-05-13 20:06:31 +02:00
Wojtek Figat
fafa400db0 Merge branch 'xxSeys1-documentationInReadme' 2025-05-13 19:59:21 +02:00
xxSeys1
0b20a5342e add info on docs source being available to readme 2025-05-13 16:00:16 +02:00
xxSeys1
fa4e56a32a unify zoom behavior when zooming in and out 2025-05-12 20:26:33 +02:00
xxSeys1
212bd7a011 adjust width of terrain related nodes and node elements 2025-05-12 20:11:08 +02:00
alsed
943864004f Update README.md
removed spirv-tools, since Flax build it during compilation.
2025-05-09 15:17:20 -04:00
Wiktor Żurawik
8ce4d94a96 Refactor .NET version detection error reporting 2025-05-09 17:04:41 +02:00
xxSeys1
6be193bfbf fix tooltip 2025-05-09 11:39:40 +02:00
Wojtek Figat
5d3947f117 Merge branch 'xxSeys1-improvedImportPath' 2025-05-08 14:38:25 +02:00
Wojtek Figat
c7bb7be20f Merge branch 'improvedImportPath' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-improvedImportPath 2025-05-08 14:38:20 +02:00
Wojtek Figat
f74b96bcb6 Merge branch 'xxSeys1-DisableCreateButton' 2025-05-08 14:32:54 +02:00
Wojtek Figat
cecfea1ecf Merge branch 'DisableCreateButton' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-DisableCreateButton 2025-05-08 14:32:48 +02:00
Wojtek Figat
09ce2b5a6d Merge branch 'xxSeys1-RigidbodyInfoGroup' 2025-05-08 14:29:12 +02:00
Wojtek Figat
2f9cdadb11 Merge branch 'RigidbodyInfoGroup' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-RigidbodyInfoGroup 2025-05-08 14:29:07 +02:00
Wojtek Figat
e218ce2d85 Merge branch 'Tryibion-fix-group-scene' 2025-05-08 14:28:13 +02:00
Wojtek Figat
5ec6993342 Merge branch 'fix-group-scene' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-group-scene 2025-05-08 14:28:01 +02:00
xxSeys1
87787cb5bf replace Todo doc comments 2025-05-05 15:15:32 +02:00
xxSeys1
5b618b4f31 add icons to more commonly used editor windows 2025-05-05 13:24:21 +02:00
xxSeys1
08a86066d0 add window shortcuts 2025-05-05 13:24:01 +02:00
xxSeys1
388eb654a5 update doc comment to reflect get only parameter 2025-05-05 09:58:36 +02:00
xxSeys1
d8059c3db3 disable create file dialog create button if asset can't be created 2025-05-04 20:08:12 +02:00
559d17e6c3 Reduce allocations in text rendering related functions 2025-05-04 15:05:46 +03:00
xxSeys1
dfe177447c add auto selecting first item in item list context menu if no selection 2025-05-03 22:11:38 +02:00
Chandler Cox
2a5aed6c15 Fix trying to add scene to actor group. 2025-05-02 21:58:02 -05:00
xxSeys1
f5ad8566eb make path creation method more generalized 2025-05-02 13:29:01 +02:00
7c5628d47e Fix crash caused by conflicting tracy DbgHelp lock helper names 2025-05-02 14:20:18 +03:00
9645008460 Update tracy to 0.11.1 2025-05-02 14:20:18 +03:00
12dbf09164 Fix tests 2025-05-02 14:19:55 +03:00
f09fd7ad34 Use exact value comparison in caching related functions
(cherry picked from commit 9d7c6b26422e127719836944d8d473910190e7d4)
2025-05-02 14:19:55 +03:00
8986290b12 Use exact component value equality checks in equality comparisons
(cherry picked from commit 2cddf3de97943844512b2d84aa6be122c6f0d409)
2025-05-02 14:19:54 +03:00
9a4d3a56a3 Fix slow Tree expansion/collapsion with large amount of tree nodes 2025-05-02 13:31:13 +03:00
xxSeys1
b0048d6540 add margin around info label 2025-05-01 22:32:28 +02:00
xxSeys1
b1b36ea1a3 move rigidbody info to dedicated info group in Properties Panel 2025-05-01 22:29:37 +02:00
xxSeys1
e568e6e17b improve import path ui 2025-05-01 19:15:43 +02:00
Wojtek Figat
af955ba418 Merge branch 'xxSeys1-prefabSearchOperatorTooltip' 2025-04-29 09:22:00 +02:00
Wojtek Figat
a56e2e7b1e Merge branch 'prefabSearchOperatorTooltip' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-prefabSearchOperatorTooltip 2025-04-29 09:21:55 +02:00
Wojtek Figat
a0cdb08893 Merge branch 'Zode-fix-profiler-memory' 2025-04-29 09:17:37 +02:00
Wojtek Figat
fbb829a915 Merge branch 'fix-profiler-memory' of https://github.com/Zode/FlaxEngine into Zode-fix-profiler-memory 2025-04-29 09:17:30 +02:00
Wojtek Figat
5790da6167 Merge branch 'Tryibion-fix-input-edit-ui' 2025-04-29 09:15:53 +02:00
Wojtek Figat
c6e4fbd966 Merge branch 'fix-input-edit-ui' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-input-edit-ui 2025-04-29 09:15:04 +02:00
Wojtek Figat
101ea44051 Merge branch 'Tryibion-fix-skel-mask-create' 2025-04-29 09:12:24 +02:00
Wojtek Figat
d6c6936f6d Merge branch 'fix-skel-mask-create' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-skel-mask-create 2025-04-29 09:12:19 +02:00
Wojtek Figat
4929e8172c Merge branch 'Tryibion-fix-scrollbar-drag' 2025-04-29 09:10:54 +02:00
Wojtek Figat
8c83156133 Merge branch 'fix-scrollbar-drag' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-scrollbar-drag 2025-04-29 09:09:42 +02:00
Wojtek Figat
d587921a83 Merge branch 'Tryibion-fix-add-blend-tooltip-spell' 2025-04-29 09:05:50 +02:00
Zode
6fe6ba20fb Fix profiler memory propagation 2025-04-26 21:40:12 +03:00
xxSeys1
2ea3cde203 add search operator tooltip to prefab editor search bar
somewhat of a follow up to #3300
2025-04-26 16:33:49 +02:00
Chandler Cox
059fe98c67 Fix scroll bars not updating when dragging. 2025-04-26 07:38:18 -05:00
Chandler Cox
1ab05b620a Another small grammer mistake. 2025-04-26 07:08:49 -05:00
Chandler Cox
4b387d040d Fix spelling on Additive Blend node tooltip. 2025-04-26 07:07:27 -05:00
Chandler Cox
9d527ab4a6 Remove editable from check for enabling inputs for game window GUI. 2025-04-25 20:36:53 -05:00
Chandler Cox
bbc221086a Fix GUI input when edit GUI option is false and game is being played. 2025-04-25 17:55:07 -05:00
Chandler Cox
e5b7e58a07 Fix newly created skeleton mask from being able to be opened. 2025-04-25 17:11:36 -05:00
Wojtek Figat
f0bcc70563 Attempt to fix game cooking regression from ef188d06c4 2025-04-22 23:44:34 +02:00
Wojtek Figat
992b08025f Attempt to fix game cooking regression from ef188d06c4 2025-04-22 23:28:21 +02:00
alsed
cfef93134e Added Fedora instructions in Readme 2025-04-22 17:16:12 -04:00
Wojtek Figat
ac3c4a4b30 Merge remote-tracking branch 'origin/master' 2025-04-22 16:17:53 +02:00
Wojtek Figat
d77024bbf1 Fix crash when existing engine while content streaming is active 2025-04-22 16:16:46 +02:00
Wojtek Figat
4f3fbe89f2 Cleanup code to share it for engine service profile event formatting 2025-04-22 12:32:36 +02:00
Wojtek Figat
9ae1867c9e Fix crash when rendering bloom or lens flares in too small viewport 2025-04-22 12:08:10 +02:00
Wojtek Figat
caf0251a9c Fix bug in CustomEditorWindow usage
#3392
2025-04-22 12:00:35 +02:00
Wojtek Figat
216868085b Merge branch 'GoaLitiuM-large_worlds_camera_fix' 2025-04-22 11:10:14 +02:00
Wojtek Figat
18a5c68b3e Merge branch 'large_worlds_camera_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-large_worlds_camera_fix 2025-04-22 11:10:09 +02:00
Wojtek Figat
f9e9f26e97 Remove leftover debug log from bindings generator 2025-04-22 11:04:09 +02:00
Wojtek Figat
a2ff6e5c24 Fix missing BoundsScale usage on AnimatedModel 2025-04-22 11:02:53 +02:00
84ada18299 Fix unlock mouse hotkey not unlocking CursorLockMode.Locked cursor 2025-04-21 23:13:23 +03:00
635fe8017e Fix EditorViewport buttons activating items on scene 2025-04-21 23:13:23 +03:00
834380ff05 Cleanup 2025-04-21 23:13:23 +03:00
dd65fc2289 Implement Wayland text clipboard data handling 2025-04-21 23:13:23 +03:00
86125bb625 Add support for VK_EXT_metal_surface extension 2025-04-21 23:13:23 +03:00
09a9d8b380 Update volk to 1.4.304 2025-04-21 23:13:23 +03:00
86b223ec93 Fix mouse relative mode activation triggering mouse move events on Mac 2025-04-21 23:13:23 +03:00
78f6080321 Initial support for building and running SDL platform on macOS 2025-04-21 23:13:23 +03:00
c7be6f6e0e Fix VC++ project file building on macOS Rider 2025-04-20 01:14:51 +03:00
c40c31fbb7 Reduce lock usage during window events 2025-04-19 21:14:13 +03:00
f5fbc1e32d Fix handling of WindowsManager locks 2025-04-19 21:14:13 +03:00
0a20378acd Handle Wayland dragging actions ending prematurely 2025-04-19 21:14:12 +03:00
d4e87877b6 Fix editor viewport activating while dragging a window 2025-04-19 21:14:12 +03:00
7eb7236b8a Fix occluded or hidden windows causing the engine to freeze on Wayland 2025-04-19 21:14:11 +03:00
dc0e4ffce2 Allow context menu to show when activating scene tree with right click 2025-04-19 21:14:11 +03:00
86fe93943d Fix crash when relative mode was left active on removed window 2025-04-19 21:14:10 +03:00
3258113ef8 Ensure mouse position is up-to-date during button down events 2025-04-19 21:14:10 +03:00
ebf3999cfe Fix rubber band selector activating outside of the viewport
This usually happens while trying to drag the window from window handle
2025-04-19 21:14:09 +03:00
a1ccbbb5b9 Use sensible window minimum size limits in editor windows 2025-04-19 21:14:09 +03:00
35072c40d8 Fix build on Linux 2025-04-19 21:14:08 +03:00
5c51021388 Fix merge 2025-04-19 21:14:08 +03:00
95fd527515 Apply drag and drop styling on refactored WindowDragHelper
Reapplies changes from commit 38b00f458c
2025-04-19 21:14:07 +03:00
113d851cea Fix cursor escaping constrained area when initially outside on Windows 2025-04-19 21:14:07 +03:00
72f0c460f9 Refix dragged maximized window generating wrong mouse position events 2025-04-19 21:14:06 +03:00
13ddd15b44 Focus viewports earlier to fix CursorLockMode not always activating 2025-04-19 21:14:06 +03:00
c9e24aaf5f Fix documentation generation 2025-04-19 21:14:05 +03:00
68c0ac0ffc Fix cursor locking bounds calculation 2025-04-19 21:14:05 +03:00
bebda275a9 Fix crash when Game viewport was hidden 2025-04-19 21:14:04 +03:00
287eaae850 Fix X11 external drag and drop not releasing consistently 2025-04-19 21:14:04 +03:00
7e59c3b9a7 Fix restoring locked cursor state when window gains focus again 2025-04-19 21:14:03 +03:00
38658a5b8c Fix CursorLockMode.Locked not working 2025-04-19 21:14:02 +03:00
88c75b8672 Fix dragged maximized window generating wrong mouse position events 2025-04-19 21:14:02 +03:00
17ab1e6830 Fix window handle clicking to not restore window from maximized state 2025-04-19 21:14:01 +03:00
1f45110e5f Fix rubber band selector activating when using Alt-key to orbit 2025-04-19 21:14:01 +03:00
5401166a07 Fix error when entering playmode while holding right mouse button 2025-04-19 21:14:00 +03:00
bfa8188782 Fix accepting drag and drop for files in Wayland 2025-04-19 21:14:00 +03:00
e777a71784 Fix error while dragging files around Content window 2025-04-19 21:13:59 +03:00
c13e91a0d0 Release rubber band selection when viewport starts controlling the view 2025-04-19 21:13:59 +03:00
aac5d57352 Update SDL to 3.2.10 2025-04-19 21:13:58 +03:00
ceca13c7b6 Avoid showing tooltips in inactive windows 2025-04-19 21:13:58 +03:00
2905470330 Update SDL3 to 3.2.4 2025-04-19 21:13:57 +03:00
2c17033822 Fix window dragging when not supported by Wayland compositor
(cherry picked from commit 3554747a67)
2025-04-19 21:13:57 +03:00
0a4cb9e9b1 Show current display server in Editor window tooltip
(cherry picked from commit 62968dd437)
2025-04-19 21:13:56 +03:00
096651f4c1 Properly mark floating windows with transparency support
(cherry picked from commit c660fac524)
2025-04-19 21:13:56 +03:00
275a08506b Enable transparency support in Vulkan swapchains
(cherry picked from commit 431a69e357)
2025-04-19 21:13:55 +03:00
4cd61cb381 Fix compilation for game builds
(cherry picked from commit f4fcc07288)
2025-04-19 21:13:54 +03:00
9ad1147581 Fix cloning SDL repository 2025-04-19 21:13:54 +03:00
35e09def1b Fix text input not working on X11 2025-04-19 21:13:53 +03:00
0469607a71 Fix button latching on Windows after drag and drop operation 2025-04-19 21:13:53 +03:00
d115d22ee6 Implement new window dragging system 2025-04-19 21:13:52 +03:00
8120ae621d Fix mouse resetting issues after ending relative mode 2025-04-19 21:13:52 +03:00
f873c2fa9f Fix frame stutter when window is focused 2025-04-19 21:13:51 +03:00
c3ffbe2f42 Fix error when docking to sides of tabbed panel 2025-04-19 21:13:51 +03:00
55a0a39881 Cleanup Linux SDL implementation 2025-04-19 21:13:50 +03:00
592215dd30 Support compiling third party library C files as C code 2025-04-19 21:13:50 +03:00
ef0c2a2785 Implement Wayland protocols module and file generation 2025-04-19 21:13:49 +03:00
37979e452a Fix mouse warping after ending relative mode 2025-04-19 21:13:49 +03:00
e9671bb727 Add git fetch method for dependencies 2025-04-19 21:13:48 +03:00
aa328bd591 Fix window ShowInTaskbar setting 2025-04-19 21:13:48 +03:00
188e4313f9 Fix various issues with child window positioning 2025-04-19 21:13:47 +03:00
df02c70e31 Add Window.IsAlwaysOnTop property 2025-04-19 21:13:47 +03:00
257f54b323 Use SDL locale 2025-04-19 21:13:46 +03:00
fb4b5b2575 Allow window with single tab to be dragged from tab area 2025-04-19 21:13:46 +03:00
4e1251276d Fix ValueBox mouse position resetting after releasing the button 2025-04-19 21:13:45 +03:00
a7b200dc57 Fix SDL build process on Linux 2025-04-19 21:13:44 +03:00
8cadbae80e Update SDL to 3.2.0 2025-04-19 21:13:44 +03:00
c3bae49aae Force cursor to center of Game Window when tab handle is clicked 2025-04-19 21:13:43 +03:00
Chandler Cox
6fa4fc6149 Fix rotation using SDL 2025-04-19 21:13:43 +03:00
f1ffe1acaa Fix Linux compilation without SDL 2025-04-19 21:13:42 +03:00
5c9ddf7f00 Fix compilation 2025-04-19 21:13:42 +03:00
431767a150 Update SDL3 2025-04-19 21:13:41 +03:00
8ba4e442a6 Fix compilation issues 2025-04-19 21:13:41 +03:00
2f8d19c267 Fix windows not being hidden initially 2025-04-19 21:13:40 +03:00
f2fd98f742 Fix parent window position handling with popup/tooltip windows 2025-04-19 21:13:40 +03:00
3ce35d6e81 Fix compilation errors in other platforms 2025-04-19 21:13:39 +03:00
796dbaa836 Fix CI for Linux 2025-04-19 21:13:39 +03:00
84b209ec7f Prevent building with SDL in unsupported platforms 2025-04-19 21:13:38 +03:00
fa976b34dc Fallback to X11 message box implementation when SDL fails 2025-04-19 21:13:38 +03:00
e7cda362b7 Fix popup and context menus not working on Wayland 2025-04-19 21:13:37 +03:00
a41a09c162 Hide warnings for unsupported SDL operations on Wayland 2025-04-19 21:13:37 +03:00
e82f84f0ab Log a warning for not implemented Wayland functionality 2025-04-19 21:13:36 +03:00
f1d387ceea Fix compilation in Linux 2025-04-19 21:13:36 +03:00
3893d4d1f8 Enable warning sound in question dialogs 2025-04-19 21:13:35 +03:00
cf7ac50faf Enable modern Windows dialog boxes 2025-04-19 21:13:35 +03:00
3f6bf15554 Implement relative mouse mode (raw input) for SDL platform 2025-04-19 21:13:34 +03:00
dac74829b4 Add flag for Window types 2025-04-19 21:13:34 +03:00
94d6f213a0 Enable native windowing system settings with SDL platform 2025-04-19 21:13:33 +03:00
8f2550ef61 Add command-line switches to force X11 and Wayland SDL drivers 2025-04-19 21:13:33 +03:00
b622a1cc5e Implement SDL platform, windowing and input handling 2025-04-19 21:13:32 +03:00
c83a3c32c7 Refactor application window class name 2025-04-19 21:13:32 +03:00
e7dcf7f7e7 Move Window related enums to separate header file 2025-04-19 21:13:31 +03:00
398785a2be Refactor Windows drag and drop implementation 2025-04-19 21:13:31 +03:00
05dba0f1f5 Refactor ScreenUtilities 2025-04-19 21:13:30 +03:00
39dbd32b2e Add more helper methods for managing Git repos 2025-04-19 21:13:30 +03:00
23a34a455a Fix centered window location on X11 2025-04-19 21:13:29 +03:00
4308328b48 Fix initial position of Tooltips 2025-04-19 21:13:29 +03:00
Wojtek Figat
0a3f07e6e7 Add exception and crashes catching with processing on iOS/macOS 2025-04-19 11:28:46 +02:00
Wojtek Figat
3c1aca6d46 Fix camera mouse ray error when mouse position is invalid 2025-04-19 10:50:39 +02:00
02c333c720 Use double vector types in camera view matrix calculations 2025-04-19 02:39:23 +03:00
Wojtek Figat
d30ff65800 Fix flipbook regression bug 2025-04-17 17:45:19 +02:00
Wojtek Figat
3d454ed321 Fix cursor locked mode when system uses Dpi scaling 2025-04-17 13:27:59 +02:00
Wojtek Figat
7e72d7b3cf Optimize mac version logging 2025-04-17 12:49:52 +02:00
Wojtek Figat
ef188d06c4 Revert d3c49be80f and do it better 2025-04-17 10:52:00 +02:00
Wojtek Figat
414b229b27 Fix capturing empty project icon when Editor viewport was never rendered 2025-04-17 10:49:44 +02:00
Wojtek Figat
d3c49be80f Fix crash when GPUTask gets deleted before sync happens 2025-04-17 10:40:05 +02:00
Wojtek Figat
980473cce6 Add info for future project version cache file changes 2025-04-17 10:39:16 +02:00
Wojtek Figat
6ef2012359 Update version 2025-04-17 08:57:00 +02:00
Wojtek Figat
e267db7fac Another fix for flipbook to work with all cases
#3381
2025-04-16 10:01:55 +02:00
Wojtek Figat
9dba7caa88 Another fix for flipbook to work with all cases
#3381
2025-04-16 10:01:23 +02:00
Wojtek Figat
c9e625a1a0 Fix not defined localized strings to use fallback instead of empty text
#3387
2025-04-16 09:55:35 +02:00
Wojtek Figat
45f202fdf7 Fix culture info editor picker to show under button
#3387
2025-04-16 09:39:24 +02:00
Wojtek Figat
c30e31bd65 Fix material flipbook X slice calculation
#3381
2025-04-16 08:58:00 +02:00
Wojtek Figat
61a11f4a29 Fix regression in material editing when compilation failed 2025-04-15 22:40:29 +02:00
Wojtek Figat
c786a84dc6 Merge branch 'Zode-absolutesnap' 2025-04-15 22:25:32 +02:00
Wojtek Figat
1680ccfec3 Merge branch 'absolutesnap' of https://github.com/Zode/FlaxEngine into Zode-absolutesnap 2025-04-15 22:25:26 +02:00
Wojtek Figat
30c78350eb Fix incorrect motion vectors for material that uses position offset
#3367
2025-04-15 22:24:12 +02:00
Zode
7b4da6dd2b Fix issues with absolute snapping 2025-04-15 21:38:49 +03:00
Wojtek Figat
b25881d55e Update code signing to support sign with identity on Windows 2025-04-14 22:47:40 +02:00
Wojtek Figat
cfc90d1ddf Fix crash in value comparison for deleted native scripting object that still has managed reference
#3365 #3374
2025-04-13 22:13:17 +02:00
Wojtek Figat
a3be6e2add Merge branch 'xxSeys1-AutoCollision' 2025-04-13 21:46:08 +02:00
Wojtek Figat
d351c96a40 Cleanup code
#3359
2025-04-13 21:46:04 +02:00
Wojtek Figat
b3ab1b7a4a Merge branch 'AutoCollision' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-AutoCollision 2025-04-13 21:33:04 +02:00
Wojtek Figat
b719d6dd04 Add more informative logging when .NET sdk is missing for proper game cooking 2025-04-13 20:41:30 +02:00
Wojtek Figat
9d059f6c94 Merge branch 'GoaLitiuM-buildrules_cache_fix' 2025-04-13 20:30:04 +02:00
Wojtek Figat
b8a0150310 Merge branch 'buildrules_cache_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-buildrules_cache_fix 2025-04-13 20:28:26 +02:00
Wojtek Figat
b891fb7b03 Merge branch 'GoaLitiuM-fix_csharp_proj_sdk' 2025-04-13 20:26:43 +02:00
Wojtek Figat
bdd4ab9bfd Merge branch 'fix_csharp_proj_sdk' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_csharp_proj_sdk 2025-04-13 20:26:38 +02:00
Wojtek Figat
f70ec896b8 Improve Dotnet version setup for Game Cooker
Especially after #3371 change to not passing dotnet 8 when packaging engine so editor can use the one use at compile time.
2025-04-13 20:22:23 +02:00
Wojtek Figat
85ecbaab6d Merge branch 'GoaLitiuM-package_dotnet8' 2025-04-13 20:16:34 +02:00
Wojtek Figat
0381bda068 Merge branch 'package_dotnet8' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-package_dotnet8 2025-04-13 20:16:28 +02:00
Wojtek Figat
c4d8345b7c Fix compilation warning 2025-04-13 20:14:10 +02:00
6beb9febb1 Fix CD to package with .NET 8 version 2025-04-13 18:23:48 +03:00
711a75ce3b Fix BuildScript file structure with engine files in different drive 2025-04-13 14:25:19 +03:00
be72a9f4a2 Invalidate build rules assembly when files are added, moved or renamed 2025-04-13 14:25:18 +03:00
8c83de8521 Add more verbose logging for project generation 2025-04-13 14:24:34 +03:00
00b9d603ae Fix missing C#-only project configurations when platform SDK is missing 2025-04-13 14:24:24 +03:00
Wojtek Figat
5d3d9d7e82 Improve output log hint when empty
#3363
2025-04-12 23:18:25 +02:00
Wojtek Figat
91897f290a Merge branch 'xxSeys1-OutputLogNoMessageHint' 2025-04-12 22:50:45 +02:00
Wojtek Figat
4255ee70fc Merge branch 'OutputLogNoMessageHint' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-OutputLogNoMessageHint 2025-04-12 22:49:45 +02:00
Wojtek Figat
2d20c2d542 Merge branch 'GoaLitiuM-unload_alc_debugger_fix' 2025-04-12 22:43:46 +02:00
Wojtek Figat
1bb710e385 Merge branch 'unload_alc_debugger_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unload_alc_debugger_fix 2025-04-12 22:43:29 +02:00
Wojtek Figat
6583985017 Merge branch 'GoaLitiuM-loceditor_fix' 2025-04-12 22:36:58 +02:00
Wojtek Figat
e7718e232f Merge branch 'loceditor_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-loceditor_fix 2025-04-12 22:36:53 +02:00
Wojtek Figat
045ba897c7 Merge branch 'GoaLitiuM-dotnet_ver_check' 2025-04-12 22:25:31 +02:00
Wojtek Figat
72a4e577c8 Merge branch 'dotnet_ver_check' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet_ver_check 2025-04-12 22:25:28 +02:00
Wojtek Figat
bf9f7ee051 Merge branch 'GoaLitiuM-dotnet_sdk_detect_fix' 2025-04-12 22:21:16 +02:00
Wojtek Figat
1370225bae Merge branch 'dotnet_sdk_detect_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet_sdk_detect_fix 2025-04-12 22:21:12 +02:00
Wojtek Figat
aea6f43519 Add Half to bindings (as typedef) 2025-04-12 22:09:32 +02:00
Wojtek Figat
59aed828f6 Update attributes style to be consistent in engine 2025-04-12 22:09:12 +02:00
Wojtek Figat
74d7dd58c2 Merge branch 'GoaLitiuM-tooltip_fix' 2025-04-12 22:08:09 +02:00
Wojtek Figat
f2f2056509 Merge branch 'tooltip_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-tooltip_fix 2025-04-12 22:08:04 +02:00
5f92932c40 Fix saving virtual JsonAssets to path 2025-04-12 02:32:10 +03:00
ed8eb072c5 Fix error in LocalizationSettingsEditor after adding new locales 2025-04-12 02:11:06 +03:00
5bd4a40ee5 Remove .NET target version in packaging scripts 2025-04-10 23:59:22 +03:00
8322e762df Fix DOTNET_ROOT path ignored on Windows 2025-04-10 23:59:22 +03:00
e6d7024a61 Fix error when no valid .NET SDKs were found 2025-04-10 23:59:19 +03:00
0eb7badf91 Attempt to fix a rare crash while debugging scripting unload 2025-04-10 23:55:59 +03:00
2acca350fe Fix tooltip not appearing anymore after scripts compilation 2025-04-10 18:20:55 +03:00
ac305b369d Fix .NET SDK detection when only the runtime is installed 2025-04-10 18:18:56 +03:00
xxSeys1
9e23c324bf add a hint to the Output Log if there are no messages shown because of filters 2025-04-10 00:01:31 +02:00
Wojtek Figat
aabbb04f18 Fix anim graph state transition title to auto-fit 2025-04-09 19:33:14 +02:00
Wojtek Figat
a9a9057304 Fix typo 2025-04-09 09:50:33 +02:00
Wojtek Figat
eb86002fbd Add AutoAttachDebugPreviewActor option to editor for quick debugging anim graphs on dynamically spawned player 2025-04-08 22:44:31 +02:00
Wojtek Figat
c75b33eb7d Fix scripts reload to auto-save any modified assets in editor windows 2025-04-08 22:34:45 +02:00
xxSeys1
06f4808dcc improve auto enabled algorithm 2025-04-08 21:27:45 +02:00
xxSeys1
644c5b843b improve and expand new add collision options 2025-04-08 20:55:18 +02:00
Wojtek Figat
1ae098331d Fix new IOnlinePlatform leaderboards api to be empty for backwards compatibility
#3357
2025-04-08 19:20:35 +02:00
Wojtek Figat
043ae687e2 Fix 2025-04-08 19:11:01 +02:00
Wojtek Figat
047a637029 Fix Output Window debug console input when using history
#3353
2025-04-08 17:39:39 +02:00
Wojtek Figat
e66365fd88 Merge branch 'xxSeys1-NavigationContextSubmenu' 2025-04-08 17:11:29 +02:00
Wojtek Figat
cd803e42ad Merge branch 'NavigationContextSubmenu' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-NavigationContextSubmenu 2025-04-08 17:11:26 +02:00
xxSeys1
2777436e83 change "Lighting & Effects" to "Lighting & PostFX"
old name clashed with "Particle Effect" a bit
2025-04-08 17:07:21 +02:00
Wojtek Figat
2742ec8256 Merge branch 'xxSeys1-PrimitivesInToolboxSearch' 2025-04-08 17:05:24 +02:00
Wojtek Figat
3de6ac2658 Reuse code
#3354
2025-04-08 17:05:15 +02:00
Wojtek Figat
58813d09c3 Merge branch 'PrimitivesInToolboxSearch' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-PrimitivesInToolboxSearch 2025-04-08 16:55:44 +02:00
Wojtek Figat
242d400284 Merge branch 'xxSeys1-NavigationContextSubmenu' 2025-04-08 16:53:58 +02:00
Wojtek Figat
9beca96230 Merge branch 'NavigationContextSubmenu' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-NavigationContextSubmenu 2025-04-08 16:53:55 +02:00
Wojtek Figat
db20dae062 Merge branch 'Tryibion-fix-shift-arrow-end' 2025-04-08 16:51:46 +02:00
Wojtek Figat
51df5af253 Merge branch 'fix-shift-arrow-end' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-shift-arrow-end 2025-04-08 16:50:09 +02:00
Wojtek Figat
8a9e22c987 Fix compilation regression 2025-04-08 16:47:11 +02:00
Wojtek Figat
2b97fe5ce0 Fix crash when cooking game without game settings asset
#3352
2025-04-08 14:55:25 +02:00
Wojtek Figat
bea6e6330b Merge branch 'Tryibion-center-scale' 2025-04-08 14:53:14 +02:00
Wojtek Figat
0ed298b5e5 Merge branch 'center-scale' of https://github.com/Tryibion/FlaxEngine into Tryibion-center-scale 2025-04-08 14:52:13 +02:00
xxSeys1
f432e54809 add primitive meshes to toolbox search 2025-04-08 13:44:11 +02:00
Wojtek Figat
27d18e8d16 Merge branch 'xxSeys1-ColliderPropertiesCleanup' 2025-04-08 12:59:37 +02:00
Wojtek Figat
684a8fbb8a Merge branch 'ColliderPropertiesCleanup' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ColliderPropertiesCleanup 2025-04-08 12:59:33 +02:00
Wojtek Figat
22e7a24327 Merge branch 'Tryibion-add-order-in-spawn' 2025-04-08 12:57:34 +02:00
Wojtek Figat
df1313af33 Merge branch 'add-order-in-spawn' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-order-in-spawn 2025-04-08 12:57:29 +02:00
Wojtek Figat
46f842a555 Add option to quickly create box, sphere, convex or triangle mesh collider for the selected static model 2025-04-08 12:47:27 +02:00
Chandler Cox
5ffe6a39ab Add mising default parameter value in override. 2025-04-07 21:13:30 -05:00
Chandler Cox
2452face38 Add set order in parent for spawning actor with a parent in editor. 2025-04-07 21:10:36 -05:00
Chandler Cox
40a641b731 Fix scale not being applied to physics center. 2025-04-07 17:23:03 -05:00
Wojtek Figat
938d23ce0d Fix editor icons to draw over grid
#3348
2025-04-07 23:33:04 +02:00
Wojtek Figat
15da2d59e5 Add GPUTexture::DownloadData to C#
#2973 #1446
2025-04-07 23:32:37 +02:00
xxSeys1
55effc35db move box collider utility in own Properties Panel category 2025-04-07 22:31:09 +02:00
Wojtek Figat
6fc5e1f423 Merge branch 'Tryibion-prop-lock-select' 2025-04-07 22:26:46 +02:00
Wojtek Figat
8b5c35ac6d Merge branch 'prop-lock-select' of https://github.com/Tryibion/FlaxEngine into Tryibion-prop-lock-select 2025-04-07 22:26:42 +02:00
Wojtek Figat
4a10905464 Fix regression in float parsing change 2025-04-07 22:22:38 +02:00
xxSeys1
344fb908ed clean up Visuals Actor add subcontext menu 2025-04-07 22:02:59 +02:00
Wojtek Figat
73c0dcf76b Merge branch 'GoaLitiuM-restore_tabs_fix' 2025-04-07 21:52:38 +02:00
Wojtek Figat
09a3eaef83 Merge branch 'restore_tabs_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-restore_tabs_fix 2025-04-07 21:52:31 +02:00
Wojtek Figat
501bb9fa98 Merge branch 'xxSeys1-SliderHoverColor' 2025-04-07 21:50:30 +02:00
Wojtek Figat
32e87c7d4e Merge branch 'SliderHoverColor' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-SliderHoverColor 2025-04-07 21:50:25 +02:00
Wojtek Figat
17bf77c352 Merge branch 'Tryibion-fix-tag-menu' 2025-04-07 21:50:08 +02:00
Wojtek Figat
aaa4e73e0c Merge branch 'fix-tag-menu' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-tag-menu 2025-04-07 21:49:30 +02:00
Wojtek Figat
c9ba28ce55 Merge branch 'xxSeys1-NoExpandFlipChannel' 2025-04-07 21:49:11 +02:00
Wojtek Figat
2ac8144ac2 Merge branch 'NoExpandFlipChannel' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-NoExpandFlipChannel 2025-04-07 21:48:03 +02:00
xxSeys1
1229a6f398 match box brush context menu name with toolbox name 2025-04-07 21:46:30 +02:00
xxSeys1
ec93b2ff06 move animation related actors to context submenu 2025-04-07 21:45:21 +02:00
xxSeys1
c074b15671 add navigation actors to submenu 2025-04-07 21:41:19 +02:00
5fa54fd0d0 Fix docked asset windows not getting restored after scripts compilation 2025-04-07 22:37:45 +03:00
99682ea9b2 Fix restored docked window layout being misaligned 2025-04-07 22:22:15 +03:00
063f3c69ad Fix error when Control state is cleared during scripts reload 2025-04-07 22:22:15 +03:00
9c5c98e8f3 Fix docked asset windows not getting restored after scripts compilation 2025-04-07 22:22:13 +03:00
Wojtek Figat
0ea37879e8 Add wait on asset load when accessing material parameter values directly 2025-04-07 19:28:59 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
60c5fbeba3 Disable spline node snapping when using viewport movement 2025-04-07 18:20:02 +02:00
xxSeys1
aaf87e3960 code style 2025-04-06 22:17:09 +02:00
xxSeys1
628bffd63e change slider thumb color on hover 2025-04-06 14:36:37 +02:00
Wojtek Figat
210c8e8fe4 Fix incorrect result array memory copy from native to managed code 2025-04-04 00:36:35 +02:00
Chandler Cox
cb6a4cc325 Fix text box shift not working when selection start is at the text length. 2025-04-03 13:58:16 -05:00
Wojtek Figat
9c0c809e7e Update assets 2025-04-03 19:17:49 +02:00
Wojtek Figat
5873c48ed6 Fix dummy vertex buffer on d3d11 and d3d12 to be float4 instead of byte4 2025-04-03 19:09:12 +02:00
Wojtek Figat
0cfab003ef Potential fix for rare streaming bug in Audio Clip asset dispose when streaming failed 2025-04-03 18:47:00 +02:00
Wojtek Figat
0c6f1ff9dc Optimize NavMesh to not allocate tile memory twice and add safelock to asset data 2025-04-03 17:21:48 +02:00
Wojtek Figat
a29b556de6 Update build number 2025-04-03 13:03:59 +02:00
Chandler Cox
d0ad0859ea Add unlock selection switch for prefab. 2025-04-02 22:45:07 -05:00
Chandler Cox
996188864c Select selected objects on unlock properties. 2025-04-02 21:53:10 -05:00
Chandler Cox
60b4660a2c Fix tag add menu. 2025-04-02 21:39:47 -05:00
Wojtek Figat
fcddd4eca7 SImplify editor state changes logging 2025-04-02 09:24:11 +02:00
Wojtek Figat
854d0cc23c Add profiler zone for native library loading 2025-04-02 09:23:55 +02:00
Wojtek Figat
d00a2ea63f Fix crash when using anim graph asset after it's reloaded (after editing) 2025-04-02 09:22:23 +02:00
Wojtek Figat
311a7b8c02 Improve a8eca76cd1 2025-04-01 23:32:12 +02:00
Wojtek Figat
3e7ec2b28d Fix missing animation playback information for state transition when using root motion modify nodes 2025-04-01 17:28:33 +02:00
Wojtek Figat
1c9ff2ec03 Fix mouse cursor when opening state in animation state machine 2025-04-01 17:28:05 +02:00
Wojtek Figat
968044a6c7 Minor fixes 2025-03-31 22:59:15 +02:00
Wojtek Figat
a8eca76cd1 Fix sampling Multi Blend 1D animation at out of bounds to the right point 2025-03-31 20:52:08 +02:00
Wojtek Figat
5202d11af4 Fix looping animations with different speed in blend space 2025-03-31 20:31:20 +02:00
Wojtek Figat
3b518cdf2c Merge remote-tracking branch 'origin/master' into 1.10 2025-03-31 16:58:25 +02:00
xxSeys1
af3054e5e0 minor code style 2025-03-31 15:55:04 +02:00
xxSeys1
e5d0158c92 remove texture flip channels default group expand 2025-03-31 15:53:40 +02:00
Wojtek Figat
368ef9185b Fix various editor labels placement after UI resizing refactor
#3317
2025-03-31 15:35:32 +02:00
Wojtek Figat
bf849c860a Fix loading windows layout with assets due to content database load order change 2025-03-31 15:19:23 +02:00
Wojtek Figat
4268d3d341 Merge branch 'xxSeys1-CollectionsEditorSizeValueBoxWidth' 2025-03-31 15:17:37 +02:00
Wojtek Figat
dd50972fb1 Merge branch 'CollectionsEditorSizeValueBoxWidth' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-CollectionsEditorSizeValueBoxWidth 2025-03-31 15:17:33 +02:00
Wojtek Figat
93a3083803 Merge branch 'xxSeys1-ContentFinderSearchboxFix' 2025-03-31 15:16:04 +02:00
Wojtek Figat
b5e3d02539 Merge branch 'ContentFinderSearchboxFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ContentFinderSearchboxFix 2025-03-31 15:15:56 +02:00
Wojtek Figat
43abd1fe37 Merge branch 'xxSeys1-DebugLogCutoffNewMessageFix' 2025-03-31 15:15:31 +02:00
Wojtek Figat
6eb24d59b4 Merge branch 'DebugLogCutoffNewMessageFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-DebugLogCutoffNewMessageFix 2025-03-31 15:15:28 +02:00
Wojtek Figat
d7204dbf3b Merge branch 'xxSeys1-LogColors' 2025-03-31 15:15:12 +02:00
Wojtek Figat
7abc7258ab Merge branch 'LogColors' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-LogColors 2025-03-31 15:15:08 +02:00
Wojtek Figat
4ddf8d0f48 Merge branch 'GoaLitiuM-fix_asseteditorwindow_restore' 2025-03-31 15:14:51 +02:00
Wojtek Figat
ed3ec55561 Add Visject per-node custom search and use it for Multi Blend nodes to filter animations used 2025-03-31 14:12:32 +02:00
Wojtek Figat
c00876fa94 Fix showing Content Search window to properly use context window 2025-03-31 14:12:03 +02:00
Wojtek Figat
f947aa3ae2 Fix asset reference window showing temp assets 2025-03-31 13:44:16 +02:00
Wojtek Figat
e0251afe79 Fix last frame importing from animations to correctly loop 2025-03-31 13:38:13 +02:00
xxSeys1
f53c3d7ad5 increase width of "Size" box to fit max collection size
Max size is 65535
2025-03-30 23:26:59 +02:00
Wojtek Figat
0046cbe0ef Fix regression in using per-component input fields in Visject nodes values editing 2025-03-30 20:54:32 +02:00
Wojtek Figat
4c133fb6ff Add minor improvement to anim graph editing 2025-03-29 22:33:31 +01:00
xxSeys1
3acb80f320 turns out flax has a method for this 2025-03-28 22:19:23 +01:00
bada6b8886 Fix AssetEditorWindows not getting restored after script recompilation 2025-03-28 23:06:30 +02:00
xxSeys1
ac60dc8068 fix/ change content finder search box text persistency behaviour 2025-03-28 22:02:48 +01:00
xxSeys1
f025d96111 fix new messages being cut off in Debug Log
Happens when there are a lot of messages logged at once
2025-03-28 19:38:51 +01:00
Wojtek Figat
5bee99cb93 Add ArrayExtensions::First and fix usage for object pointers 2025-03-28 15:36:03 +01:00
Wojtek Figat
ab348d5f34 Fix incorrect scene object memory leak printing if some objects are destroyed during game plugin shutdown 2025-03-28 15:35:38 +01:00
Wojtek Figat
54f73fe35a Fix regression in new triplanar to still support scale as Float3 for per-axis scaling 2025-03-28 11:15:14 +01:00
Wojtek Figat
5017bdd470 Fix parsing floating point values with . separator instead of , 2025-03-28 10:50:06 +01:00
Wojtek Figat
62273db725 Fix bone socket update on load while in game 2025-03-28 10:49:40 +01:00
Wojtek Figat
e468a77a22 Add HighestSetBit and LowestSetBit utilities 2025-03-28 10:49:23 +01:00
Wojtek Figat
cc32af3919 Add utility operators for LayersMask bit operations 2025-03-28 10:48:41 +01:00
Wojtek Figat
0041a17b7d Add Script::IsEnabledInHierarchy 2025-03-27 21:05:32 +01:00
Wojtek Figat
38b00f458c Restyle dock window hints to match current drag&drop/selection coloring in Editor 2025-03-27 20:48:16 +01:00
Wojtek Figat
1c64845169 Fix loading windows layout with assets due to content database load order change 2025-03-27 20:47:47 +01:00
Wojtek Figat
98834131f1 Add smooth shadows blending between directional light cascades
It was deprecated in 1.9 in favor for dithering between cascades. Bing back that option for games that don't use TAA.
2025-03-27 10:48:35 +01:00
xxSeys1
40f2067732 improve message readability 2025-03-26 23:39:22 +01:00
xxSeys1
1e9f9c8e82 move log colors to visual settings 2025-03-26 23:38:54 +01:00
Wojtek Figat
fa1469514b Fix binding missing vertex buffer slots to zero data on D3D11 and D3D12 2025-03-26 22:54:00 +01:00
Wojtek Figat
f94543aac8 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Flax.flaxproj
2025-03-26 19:48:47 +01:00
Wojtek Figat
bf2974b6cc Fix reading Variant Type in C# 2025-03-26 19:47:39 +01:00
Wojtek Figat
faa3f62813 Fix crash when using different values in various math nodes in Visject
#3315
2025-03-26 18:20:09 +01:00
Wojtek Figat
6a4078c589 Fix displaying double vectors in Visject constant fields
#3314
2025-03-26 17:26:01 +01:00
Wojtek Figat
a0497a8f60 Fix opening game project when engine Large Worlds config gets changed 2025-03-26 17:15:01 +01:00
Wojtek Figat
8f7752bec7 Merge branch 'xxSeys1-EmmiterTemplatesDescriptions' 2025-03-26 16:05:55 +01:00
Wojtek Figat
7dc18eeda9 Merge branch 'EmmiterTemplatesDescriptions' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-EmmiterTemplatesDescriptions 2025-03-26 16:05:47 +01:00
Wojtek Figat
a73da8a31c Merge branch 'xxSeys1-ActorSearchBoxTooltip' 2025-03-26 16:04:16 +01:00
Wojtek Figat
ee6ad02a95 Merge branch 'ActorSearchBoxTooltip' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ActorSearchBoxTooltip 2025-03-26 16:04:13 +01:00
Wojtek Figat
04d105ed85 Merge branch 'xxSeys1-TerrainInfo' 2025-03-26 16:03:07 +01:00
Wojtek Figat
0e822fc1f7 Merge branch 'TerrainInfo' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-TerrainInfo 2025-03-26 16:03:02 +01:00
Wojtek Figat
a78ec8b8cd Merge branch 'xxSeys1-collectionResizeContextMenu' 2025-03-26 16:02:00 +01:00
Wojtek Figat
83daca569b Merge branch 'collectionResizeContextMenu' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-collectionResizeContextMenu 2025-03-26 16:01:24 +01:00
Wojtek Figat
6ea3b0012f Merge branch 'xxSeys1-ModelToolSliders' 2025-03-26 15:59:28 +01:00
Wojtek Figat
e67b9a2e05 Merge branch 'ModelToolSliders' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ModelToolSliders 2025-03-26 15:59:23 +01:00
Wojtek Figat
438ca91dc3 Merge branch 'xxSeys1-compilationFailedMessage' 2025-03-26 15:58:24 +01:00
Wojtek Figat
45ec633fec Merge branch 'compilationFailedMessage' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-compilationFailedMessage 2025-03-26 15:58:16 +01:00
Wojtek Figat
df6cf13b98 Fix rubber band selection with large worlds
#3305
2025-03-26 15:57:58 +01:00
Wojtek Figat
19da49a0e0 Merge branch 'xxSeys1-AnimAndEmitterPreviewNoParamText' 2025-03-25 17:12:59 +01:00
Wojtek Figat
9f1429259a Merge branch 'AnimAndEmitterPreviewNoParamText' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-AnimAndEmitterPreviewNoParamText 2025-03-25 17:12:53 +01:00
Wojtek Figat
38c3d88a8a Fix crash on incorrect MultiBlend2D triangles memory
#3302
2025-03-25 17:12:14 +01:00
Wojtek Figat
7e145c56fd Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/Windows/Profiler/Memory.cs
2025-03-25 13:37:15 +01:00
Wojtek Figat
9cf7046a5b Add leaderboards to Online interface
https://github.com/FlaxEngine/OnlinePlatformSteam/issues/2
2025-03-25 13:35:50 +01:00
Wojtek Figat
4e14035281 Add curl lib linking in GDK and expose XboxServicesToolset for plugins/modules 2025-03-25 13:23:23 +01:00
xxSeys1
bd74d9202e update and fix the emitter template descriptions 2025-03-25 10:33:47 +01:00
xxSeys1
0938dd3f5d hide Remove option in collections editor if collection can not be resized 2025-03-25 00:34:28 +01:00
xxSeys1
bde4aec113 make script compilation failed warning a bit nicer 2025-03-24 19:12:16 +01:00
xxSeys1
82bdc5d869 adjust sensitivity of some sliders in Model Tool 2025-03-24 18:14:54 +01:00
Wojtek Figat
1b3ad99554 Fix indentation and shader compilation for blue console 2025-03-24 15:40:51 +01:00
xxSeys1
e9e96b21d3 put terrain info into own Properties panel group 2025-03-23 14:48:02 +01:00
xxSeys1
a403e21cbc add search operator tooltip to scene tree search bar 2025-03-19 23:01:57 +01:00
Wojtek Figat
2c8f2b6e92 Fix potential crash 2025-03-19 16:56:08 +01:00
Wojtek Figat
04fa19fce7 Revert "Fix issue with re-loading scene and toolstip not updating."
This reverts commit 3788021898.
2025-03-19 16:55:05 +01:00
xxSeys1
92a212317d show No parameters text when no parameters to be displayed in Preview tab 2025-03-18 22:25:51 +01:00
Wojtek Figat
9459eff58c Fix regression in game viewport DPI scale usage
#2976 809fd2653a
2025-03-18 20:07:30 +01:00
Wojtek Figat
8c857e6fa4 Merge branch 'GoaLitiuM-unload_alc_fix' 2025-03-18 17:42:47 +01:00
Wojtek Figat
d123dd3eb4 Use limited attempts for assembly context reload and dont use Debug Log for warning
#2469
2025-03-18 17:42:21 +01:00
Wojtek Figat
db645c1aae Fix project loading bug if it's empty without modules info 2025-03-18 16:35:51 +01:00
Wojtek Figat
abe5b14f72 Merge branch 'unload_alc_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unload_alc_fix 2025-03-18 14:20:20 +01:00
Wojtek Figat
68967de1f5 Fix custom GUI material writing depth when it's not needed
#3294
2025-03-18 10:57:12 +01:00
Wojtek Figat
e25efa8c6f Fix naming convention 2025-03-18 09:09:06 +01:00
Wojtek Figat
7f081abf92 Fix crash in editor on exit 2025-03-17 17:18:01 +01:00
Wojtek Figat
80df074b5f Minor fixes 2025-03-17 16:37:28 +01:00
Wojtek Figat
7ee2e66881 Fix Rich Text Box ascender usage in line breaks for correct images placement
#3292
2025-03-17 16:37:15 +01:00
Wojtek Figat
7144e9352d Optimize image size access 2025-03-17 15:19:53 +01:00
Wojtek Figat
694fc262fa Merge branch 'ZaPx64-master' 2025-03-17 12:11:29 +01:00
Wojtek Figat
6c464569f2 Add even more nested inner exceptions handling
#3288
2025-03-17 12:11:25 +01:00
Wojtek Figat
c12b99b3ce Merge branch 'master' of https://github.com/ZaPx64/FlaxEngine into ZaPx64-master 2025-03-17 12:10:08 +01:00
Wojtek Figat
0586c94428 Merge branch 'Tryibion-json-options-cm-fixes' 2025-03-17 12:09:46 +01:00
Wojtek Figat
59112a68e6 Merge branch 'json-options-cm-fixes' of https://github.com/Tryibion/FlaxEngine into Tryibion-json-options-cm-fixes 2025-03-17 12:09:02 +01:00
Wojtek Figat
b5158e0f5a Merge branch 'Tryibion-fix-fmod' 2025-03-17 12:08:40 +01:00
Wojtek Figat
b338244c51 One more default value
#3289
2025-03-17 12:08:35 +01:00
Wojtek Figat
4b1f8efba0 Merge branch 'fix-fmod' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-fmod 2025-03-17 12:07:31 +01:00
Wojtek Figat
8f1c22fa48 Merge branch 'Tryibion-fix-toolstip-scene-reload' 2025-03-17 12:07:07 +01:00
Wojtek Figat
e11b381c13 Merge branch 'fix-toolstip-scene-reload' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-toolstip-scene-reload 2025-03-17 12:07:00 +01:00
Wojtek Figat
62354e81e2 Fix rubber band to ignore inactive actors 2025-03-17 11:40:23 +01:00
Wojtek Figat
17e30ff904 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/Editor/Viewport/MainEditorGizmoViewport.cs
2025-03-16 23:21:32 +01:00
Wojtek Figat
81f24ca914 Refactor UI Control initialization to keep layout locked while loading hierarchy
#3031
2025-03-16 23:10:30 +01:00
Wojtek Figat
54050685d7 Optimize UI code 2025-03-16 23:07:56 +01:00
Wojtek Figat
cd4ace3f49 Fix regression bugs in new rubber band when using different gizmos 2025-03-16 23:06:33 +01:00
Wojtek Figat
a4082934b8 Update Editor UI to use empty Pivot after fa68a5f572
#3031
2025-03-16 23:06:08 +01:00
Wojtek Figat
fa68a5f572 Fix UI Controls layout auto-resizing to always use pivot-relative logic
#3031
2025-03-16 22:57:18 +01:00
Wojtek Figat
23c251ea80 Fix new colider transform when using 'Add collider' option 2025-03-16 12:34:05 +01:00
Wojtek Figat
05e3149ef4 Add preserving existing Model Prefab objects when reimporting asset
#3122
2025-03-16 12:33:23 +01:00
Wojtek Figat
4a769265b6 Fix drawing editor primitives later in the pipeline to draw gizmos on top of world-space canvas
#3284
2025-03-16 11:42:03 +01:00
Wojtek Figat
56a8bb777b Fix rubber band drawing to respect DPI scale (eg. on macOS) 2025-03-16 11:38:17 +01:00
Chandler Cox
36931c9047 Small fixes for cleaning up the options menu in the json asset window. 2025-03-15 18:49:39 -05:00
Chandler Cox
3788021898 Fix issue with re-loading scene and toolstip not updating. 2025-03-15 18:41:53 -05:00
Chandler Cox
c26c217bf7 Fix fmod to use default box value. 2025-03-15 15:43:41 -05:00
Tim
af454b987b ZaP-object-editor-inner-exception-log 2025-03-15 11:09:02 +01:00
Wojtek Figat
87e423ed48 Fix regression in C++ objects created from C# code to link managed instance properly 2025-03-13 22:31:01 +01:00
Wojtek Figat
5d3da8a8d0 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/SceneGraph/Actors/StaticModelNode.cs
#	Source/Engine/Graphics/Models/Mesh.cs
#	Source/Engine/Graphics/Models/ModelData.h
2025-03-13 11:23:01 +01:00
Wojtek Figat
2cf30c27eb Fix .NET libs deploy regression 2025-03-13 11:19:09 +01:00
Wojtek Figat
5d32bb962f Add warning when cloth paint is incorrect size 2025-03-11 23:09:47 +01:00
Wojtek Figat
477c979cdd Merge branch 'Tryibion-local-origin-multi-mesh' 2025-03-11 23:02:39 +01:00
Wojtek Figat
9d46626641 Fix new rubberband selection when using arc cam via alt key 2025-03-11 22:58:01 +01:00
Wojtek Figat
e7824d6d9b Merge branch 'local-origin-multi-mesh' of https://github.com/Tryibion/FlaxEngine into Tryibion-local-origin-multi-mesh 2025-03-11 22:28:48 +01:00
Wojtek Figat
7120ac4f10 Merge branch 'xxSeys1-TypoFix' 2025-03-11 22:12:49 +01:00
Wojtek Figat
f5751254d6 Merge branch 'TypoFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-TypoFix 2025-03-11 22:12:43 +01:00
Wojtek Figat
f11349f16c Fix compilation 2025-03-11 22:09:19 +01:00
xxSeys1
862c2db11a fix some typos 2025-03-11 21:18:23 +01:00
Wojtek Figat
2af6bdc283 Fix audio artifacts when importing 32-bit IEE wav files 2025-03-11 18:46:25 +01:00
Wojtek Figat
3c303514a4 Fix crash when using audio playback and playing editor meanwhile 2025-03-11 18:10:48 +01:00
Wojtek Figat
a3cc3c79e2 Another fix for spatial and non-spatial, mono and multi-channel audio sourcs playback on OpenAL
#3206
2025-03-11 18:10:19 +01:00
Wojtek Figat
cab0f92da8 Fix crash when importing large audio file 2025-03-11 17:01:33 +01:00
Wojtek Figat
21c07b7bf3 Fix regression from f256b0670f
#3277
2025-03-11 16:41:27 +01:00
Wojtek Figat
0b85438b20 Merge branch 'Zode-absolutesnap' 2025-03-11 14:05:30 +01:00
Wojtek Figat
9c15094855 Minor tweaks
#2722
2025-03-11 14:05:18 +01:00
Wojtek Figat
9e9b255c00 Merge branch 'absolutesnap' of https://github.com/Zode/FlaxEngine into Zode-absolutesnap 2025-03-11 13:28:01 +01:00
Wojtek Figat
1a5874e425 Merge branch 'Tryibion-scene-actor-multi-select' 2025-03-11 13:09:01 +01:00
Wojtek Figat
f256b0670f Add mouse capture usage for new rubber band selection
#3151
2025-03-11 13:07:53 +01:00
Wojtek Figat
a54299a560 Optimize ViewportRubberBandSelector
#3151
2025-03-11 13:05:15 +01:00
Wojtek Figat
273b366f44 Merge branch 'scene-actor-multi-select' of https://github.com/Tryibion/FlaxEngine into Tryibion-scene-actor-multi-select 2025-03-11 10:24:00 +01:00
Wojtek Figat
131d2fa4f1 Merge branch 'Tryibion-control-type-search' 2025-03-11 10:15:01 +01:00
Wojtek Figat
08a43b93f4 Merge branch 'control-type-search' of https://github.com/Tryibion/FlaxEngine into Tryibion-control-type-search 2025-03-11 10:14:55 +01:00
Wojtek Figat
47b004a4aa Merge branch 'Tryibion-multi-axis-select-box' 2025-03-11 10:14:30 +01:00
Wojtek Figat
f7e5bcb058 Merge branch 'multi-axis-select-box' of https://github.com/Tryibion/FlaxEngine into Tryibion-multi-axis-select-box 2025-03-11 10:14:24 +01:00
Wojtek Figat
e30647b675 Merge branch 'Tryibion-scale-gizmo-fix' 2025-03-11 00:09:36 +01:00
Wojtek Figat
f8e6e09717 Merge branch 'scale-gizmo-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-scale-gizmo-fix 2025-03-11 00:08:19 +01:00
Wojtek Figat
b8ae066542 Merge branch 'Tryibion-remove-obj-dropdown' 2025-03-11 00:06:19 +01:00
Wojtek Figat
b96ff56043 Merge branch 'remove-obj-dropdown' of https://github.com/Tryibion/FlaxEngine into Tryibion-remove-obj-dropdown 2025-03-11 00:06:15 +01:00
Wojtek Figat
2b0dc8b16d Merge branch 'Tryibion-lock-scene-change' 2025-03-11 00:05:38 +01:00
Wojtek Figat
3c7d88663a Merge branch 'lock-scene-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-lock-scene-change 2025-03-11 00:05:33 +01:00
Wojtek Figat
cd72f4f19b Add Edit GUI option to Game Window
#3269
2025-03-11 00:04:57 +01:00
Wojtek Figat
897e451ab6 Restore shadows on Switch after refactor into Shadow Atlas 2025-03-10 21:00:49 +01:00
Chandler Cox
7a83bce996 Add using c: in search filtering to find control types. 2025-03-10 12:46:30 -05:00
Wojtek Figat
48343897cd Fix .NET files deploy regression on AOT platforms 2025-03-10 18:46:15 +01:00
Wojtek Figat
52c09b95ca Add Base Model to Animation Window to preview animation via a different base skeleton with retargetting
#3072
2025-03-09 23:35:24 +01:00
Wojtek Figat
09b23e2376 Minor fixes 2025-03-09 23:02:06 +01:00
Chandler Cox
0abd953ded Better selection bounds for multi axis transform gizmo 2025-03-09 15:29:01 -05:00
Wojtek Figat
7f8729451c Fix regression/crash in new World Triplanar node
#3214
2025-03-09 20:39:13 +01:00
Chandler Cox
5340eac14a Small fixes. 2025-03-09 13:14:26 -05:00
Wojtek Figat
bc4f3668fe Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Core/Math/Vector3.cpp
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h
2025-03-09 09:23:42 +01:00
Wojtek Figat
a93085d6d6 Redo 7d79dbac40 2025-03-09 09:15:49 +01:00
Wojtek Figat
34dcbc0445 Add Vector3.SignedAngle utility method
Merge 072f7c7e45 and c1bd42ff7e
2025-03-09 09:10:15 +01:00
Wojtek Figat
3643ec7a58 Fix crash when loading old triplanar node 2025-03-09 09:09:45 +01:00
Wojtek Figat
1e2e613a78 Fix rich textbox carret placement regressions
#3118 #2964
2025-03-08 23:49:12 +01:00
Wojtek Figat
fe95ac96af Rename param 2025-03-08 21:09:48 +01:00
Wojtek Figat
3b7c90644e Merge branch 'Muzz-Advanced-Bloom' into 1.10 2025-03-08 20:29:57 +01:00
Wojtek Figat
5e8f9e357a Reorganize code 2025-03-08 20:25:03 +01:00
Wojtek Figat
4c9d51f0ef Code style cleanup
#3250
2025-03-08 20:18:38 +01:00
Wojtek Figat
f7c6d34f59 Merge branch 'Advanced-Bloom' of https://github.com/Muzz/FlaxEngine into Muzz-Advanced-Bloom 2025-03-08 19:47:22 +01:00
Wojtek Figat
7808c65dd3 Update engine asset 2025-03-08 19:47:04 +01:00
Wojtek Figat
baf28382a8 Disable contact shadows on low shadows quality mode and fix step count for high setting 2025-03-08 19:46:35 +01:00
Chandler Cox
e9f2d94a2e Remove object editor drop down if disabled. 2025-03-08 11:07:07 -06:00
Chandler Cox
837a4927c1 Try fix build issues. 2025-03-08 10:50:46 -06:00
Chandler Cox
1ece21e25c Deselect locked object on scene change. 2025-03-08 10:46:11 -06:00
Chandler Cox
54dc66d22e Add base check to control and canvas nodes. 2025-03-08 09:41:00 -06:00
Chandler Cox
5ea6e7b49d Refactor to ViewportRubberBandSelector class and use actor node virtual methods. 2025-03-08 09:38:01 -06:00
Wojtek Figat
8a52fa257b Add logging draw event into in Vulkan error 2025-03-08 14:29:36 +01:00
Wojtek Figat
7d79dbac40 Fix shadows sampling error in shader due to incorrect sampler used
#3000
2025-03-08 14:29:17 +01:00
Wojtek Figat
fef967d4a0 Fix crash on Vulkan when binding dummy buffer as missing uniform buffer
#3000
2025-03-08 14:28:47 +01:00
Wojtek Figat
679d56d7a3 Fix regression error on duplicated scene objects in registry 2025-03-08 13:31:01 +01:00
Wojtek Figat
e760e5cc97 Fix particle sim shader compilation warning on Vulkan
#https://github.com/KhronosGroup/glslang/issues/2066
2025-03-08 13:23:08 +01:00
Wojtek Figat
5bdbbb6d38 Merge remote-tracking branch 'origin/master' into 1.10 2025-03-07 23:41:02 +01:00
Wojtek Figat
0c0f128585 Fix collision proxy not updating on sequential mesh changes
#2920
2025-03-07 23:39:01 +01:00
Wojtek Figat
ca153e70ab Fix crash when loading cloth that has different paint data size than mesh
#3264
2025-03-07 21:23:54 +01:00
Wojtek Figat
bc6f4f50cb Fix serialization of ControlReference when used in prefabs
#3262
2025-03-07 18:55:03 +01:00
Wojtek Figat
84f6667105 Fix missing MoltenVK error to be logged only once 2025-03-07 12:52:45 +01:00
Wojtek Figat
5d80cb03f1 Fix compilation issues 2025-03-07 12:35:54 +01:00
Wojtek Figat
4fada6ba40 Add logging CPU name on Windows 2025-03-07 12:06:15 +01:00
Wojtek Figat
0fa88b23c6 Add DriverVersion to GPUAdapter for checking on old GPU drivers 2025-03-07 11:39:54 +01:00
Wojtek Figat
301491bcde Fix Linux platform init to correctly calculate device id and add missing change 2025-03-07 11:39:15 +01:00
Wojtek Figat
5f57286cdb Fix Windows detection to use correct system version it was build for (eg. Win10 or Win7) 2025-03-07 11:09:32 +01:00
Wojtek Figat
7135eb3591 Add SystemName and SystemVersion to Platform api 2025-03-07 11:06:10 +01:00
Wojtek Figat
cc7d88d4a9 Fix Platform::GetCacheLineSize to be deprecated in favor of existing CPUInfo.CacheLineSize` 2025-03-06 09:08:00 +01:00
Wojtek Figat
772f7f7fd2 Move GPUDeviceDX::UpdateOutputs to cpp file 2025-03-06 09:00:33 +01:00
Wojtek Figat
8e2f3ec0c0 Fix Version marshaling as parameter 2025-03-06 00:36:39 +01:00
Wojtek Figat
196ada5710 Add Extra Development Memory access and log on start 2025-03-05 13:43:15 +01:00
Wojtek Figat
06729f6b62 Add Program Size Memory access and log on start 2025-03-05 12:10:17 +01:00
Wojtek Figat
7809007a13 Fix deprecation api usage on game exit 2025-03-05 12:09:32 +01:00
Wojtek Figat
06de1c0041 Add logging memoery usage by external apps on crash
Game crash on out of memory might be caused by user opening too many external apps that use most of memory.
2025-03-05 10:51:29 +01:00
Wojtek Figat
06665734e7 Fix Platform::GetCacheLineSize to be deprecated in favor of CPUInfo 2025-03-04 22:57:58 +01:00
Wojtek Figat
668511a727 Fix error in XML docs processing
#2724
2025-03-04 22:37:05 +01:00
Wojtek Figat
5ffa3eb837 Fix getting Control from null ControlReference
#3123
2025-03-04 22:12:35 +01:00
Wojtek Figat
00202b06a4 Merge branch 'Tryibion-control-reference' 2025-03-04 22:04:28 +01:00
Wojtek Figat
93442ec8fa Refactor ControlReference to use FlaxObjectRefPickerControl as a base class
#3123
2025-03-04 20:32:06 +01:00
Wojtek Figat
520bab7463 Refactor serialziation of ControlReference into a string with ID of actor for simplicity
#3123
2025-03-04 17:14:21 +01:00
Wojtek Figat
35fa63852c Format code and simplify IControlReference a little bit
#3123
2025-03-04 16:06:48 +01:00
Wojtek Figat
fee54f0f39 Merge branch 'control-reference' of https://github.com/Tryibion/FlaxEngine into Tryibion-control-reference 2025-03-04 14:03:56 +01:00
Wojtek Figat
e66ae2ee74 Merge branch 'Tryibion-android-emulate' 2025-03-04 10:58:01 +01:00
Wojtek Figat
30e9fe2371 Merge branch 'android-emulate' of https://github.com/Tryibion/FlaxEngine into Tryibion-android-emulate 2025-03-04 10:49:58 +01:00
Chandler Cox
a5e8f7d405 Move to custom tool method within platform 2025-03-03 21:42:54 -06:00
Wojtek Figat
a3822b6669 Fix spline node to support prefab editor
#3257
2025-03-03 23:38:41 +01:00
Wojtek Figat
819ce2222d Refactor ISceneContextWindow into ISceneEditingContext with more utilities
#3257
2025-03-03 23:32:27 +01:00
Wojtek Figat
e82bb639ed Fix objects creation to ensure managed object ctor is always executed
#3245
2025-03-03 19:12:29 +01:00
Wojtek Figat
3200fc1570 Fix new terrain debug drawing of collision lines
#3227
2025-03-03 12:03:38 +01:00
Wojtek Figat
54ad9a7629 Fix error when connecting nodes in Visject 2025-03-03 09:54:30 +01:00
Wojtek Figat
6f28302fd1 Merge branch 'xxSeys1-DebugDrawClearInEditor' 2025-03-03 09:52:43 +01:00
Wojtek Figat
47b22b305d Add conditional showing of Clear Debug Draw buttons only if there is anything to clear
#2989
2025-03-03 09:51:05 +01:00
Wojtek Figat
6ad20b222d Merge branch 'DebugDrawClearInEditor' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-DebugDrawClearInEditor
# Conflicts:
#	Source/Editor/Windows/GameWindow.cs
2025-03-03 09:40:01 +01:00
Wojtek Figat
68b21652bb Merge branch 'Tryibion-input-helpers' 2025-03-02 23:06:35 +01:00
Wojtek Figat
5fe9108803 Merge branch 'input-helpers' of https://github.com/Tryibion/FlaxEngine into Tryibion-input-helpers 2025-03-02 23:06:31 +01:00
Wojtek Figat
02ecfad428 Merge branch 'xxSeys1-ShowInContentPanel' 2025-03-02 23:05:31 +01:00
Wojtek Figat
25b51cf9c4 Merge branch 'ShowInContentPanel' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ShowInContentPanel 2025-03-02 23:05:27 +01:00
Wojtek Figat
b2c5b4c2e5 Merge branch 'anton-makarenko-DebugLog-documentation-fix' 2025-03-02 22:54:32 +01:00
Wojtek Figat
379c31ca49 Merge branch 'DebugLog-documentation-fix' of https://github.com/anton-makarenko/FlaxEngine into anton-makarenko-DebugLog-documentation-fix 2025-03-02 22:54:26 +01:00
Wojtek Figat
383df75a81 Merge branch 'xxSeys1-GridPanelFillSliderSens' 2025-03-02 22:52:52 +01:00
Wojtek Figat
0ff19e9c95 Merge branch 'GridPanelFillSliderSens' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-GridPanelFillSliderSens 2025-03-02 22:52:44 +01:00
Wojtek Figat
cbe96252f6 Update assets 2025-03-02 11:38:25 +01:00
Wojtek Figat
4846852762 Fix crash when spline actor gets removed
(speculative fix)

#3180
2025-03-02 10:45:51 +01:00
Wojtek Figat
72c3d2b94c Update engine materials 2025-02-28 15:19:47 +01:00
Wojtek Figat
7ccae0140b Fix regression from #3214 on Deformable shader 2025-02-28 15:18:29 +01:00
Muzz
7885590593 Merge branch 'Muzz-Triplanar-Features' into 1.10 2025-02-28 14:56:45 +01:00
Wojtek Figat
dad8c0cd6b Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Level/Prefabs/Prefab.Apply.cpp
2025-02-27 17:17:02 +01:00
Wojtek Figat
7410b506e3 Merge branch 'GoaLitiuM-csharp_mainproj_fix' 2025-02-27 16:22:09 +01:00
Wojtek Figat
dec9905bd3 Merge branch 'csharp_mainproj_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-csharp_mainproj_fix 2025-02-27 15:43:25 +01:00
Wojtek Figat
bb35d9f811 Add improved AndroidNdk detection to handle versions folder in env var location and fallback to automatic
#2893
2025-02-27 15:34:29 +01:00
Wojtek Figat
b2c8c4018c Fix scripting bindings codegen for SoftTypeReference and SceneReference
#2761
2025-02-26 22:43:30 +01:00
ce132f2404 Fix TypeDescriptor hack for latest runtime versions 2025-02-26 22:11:07 +02:00
Wojtek Figat
809fd2653a Fix game viewport size to not include DPI scale (screen-space uses it)
#2976
2025-02-26 20:55:57 +01:00
Wojtek Figat
56b2c96b3b Fix missing content database load when opening project without code compilation
#2469
2025-02-26 20:29:44 +02:00
Wojtek Figat
5c06d413b0 Add code sharing
#2469
2025-02-26 20:29:36 +02:00
1c17b77d1e Refocus editor after restoring windows 2025-02-26 20:29:23 +02:00
e24bb71e91 Fix stack overflow when restoring tab in floating window 2025-02-26 20:29:22 +02:00
3382aabefe Close and restore AssetEditorWindows on scripting reload 2025-02-26 20:29:22 +02:00
4ddc765ee4 Fix ContentDatabase not being loaded at the end of editor initialization 2025-02-26 20:29:21 +02:00
5fd64ead62 Fix custom content and importers blocking scripting reload 2025-02-26 20:29:21 +02:00
30257929e5 Fix error when ContentDatabase gets rebuilt while initializing editor 2025-02-26 20:29:21 +02:00
980a112c57 Clear VisjectSurface node caches and context menus during scripts reload 2025-02-26 20:29:20 +02:00
98bbcbd442 Close and restore Prefab windows during scripting reload 2025-02-26 20:29:20 +02:00
9f8faf4f17 Clear references holding on to types in game assemblies 2025-02-26 20:29:19 +02:00
691b9458ec Fix wrong prefab event unregistration 2025-02-26 20:29:19 +02:00
b095acd4a5 Fix scripting AssemblyLoadContext not getting unloaded 2025-02-26 20:29:19 +02:00
Wojtek Figat
2d956ebb36 Fix error when applying prefab changes with missing (deleted) nested prefabs
#3244
2025-02-26 17:46:22 +01:00
Wojtek Figat
33dd47c169 Merge branch 'MrCapy0-Level' 2025-02-25 22:37:04 +01:00
Wojtek Figat
e101048c71 Merge branch 'Level' of https://github.com/MrCapy0/FlaxEngine into MrCapy0-Level
# Conflicts:
#	Source/Engine/Level/Level.cpp
2025-02-25 22:33:12 +01:00
Wojtek Figat
aaad2face2 Fix HRTF audio to be disabled due to common audio problems
#3225
2025-02-25 22:19:26 +01:00
Wojtek Figat
8f1a1827f2 Fix crash in OpenAL audio backend on context rebuild
#3225
2025-02-25 22:17:18 +01:00
Wojtek Figat
83c3201ef8 Fix regression in rapidjson update 2025-02-25 18:09:47 +01:00
Wojtek Figat
dcba97f84a Fix missing masked terrain rendering
#3177
2025-02-25 16:46:17 +01:00
Wojtek Figat
ca6544204b Fix actor hierarchy initialization when it gets modified by a script on the fly
#2940 #2623 #2751
2025-02-25 15:32:20 +01:00
Wojtek Figat
1c3d1b623d Optimize and cleanup some actor code 2025-02-25 15:31:46 +01:00
Muzz
1fac78f48f attributes fix 2025-02-25 14:49:59 +10:00
Muzz
953cbb6e40 Advanced Bloom commit. 2025-02-25 14:02:15 +10:00
Wojtek Figat
21047ac8ac Upgrade CollisionCooking to use new MeshAccessor 2025-02-24 23:46:44 +01:00
Wojtek Figat
754d321ef0 Fix crash on incorrect index buffer size when building mesh buffers via MeshAccessor
#3246
2025-02-24 23:28:35 +01:00
Wojtek Figat
2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
Wojtek Figat
bf21b0a267 Fix collision cooking for skinned models that use different vertex format
#3246
2025-02-24 22:05:33 +01:00
xxSeys1
0d5534c445 decrease grid panel fill slider sensitivity 2025-02-24 17:43:32 +01:00
Wojtek Figat
afc4158dd3 Fix sprite and texture 9-slice rendering brush to properly calculate border size 2025-02-24 14:19:51 +01:00
Wojtek Figat
09ead0cc7a Fix Eye Adaptation in colllision data window viewport 2025-02-24 12:30:44 +01:00
Wojtek Figat
f2e840577a Merge branch 'Tryibion-prefab-doubleclick-obj-ref' 2025-02-24 00:10:11 +01:00
Wojtek Figat
345cbdb8d4 Merge branch 'prefab-doubleclick-obj-ref' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-doubleclick-obj-ref 2025-02-24 00:10:04 +01:00
Wojtek Figat
0ebda18669 Fix game-build version of DebugDraw for C# but without xml docs
#3201
2025-02-24 00:09:52 +01:00
Wojtek Figat
efa081716f Merge branch 'Tryibion-tube-to-capsule' 2025-02-24 00:00:30 +01:00
Wojtek Figat
7225737984 Merge branch 'tube-to-capsule' of https://github.com/Tryibion/FlaxEngine into Tryibion-tube-to-capsule 2025-02-23 23:58:28 +01:00
Wojtek Figat
0b1a64305a Merge branch 'GoaLitiuM-update_rapidjson' 2025-02-23 23:51:12 +01:00
Wojtek Figat
bfd972b96d Add SIMD support for rapidjson when processing json data
#3155
2025-02-23 23:38:07 +01:00
Wojtek Figat
25f26a7a91 Merge branch 'update_rapidjson' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-update_rapidjson 2025-02-23 23:26:55 +01:00
Wojtek Figat
d9ae41ed10 Fix editor transform gizmos rendering to draw over other editor shapes
#2954
2025-02-23 23:01:20 +01:00
Wojtek Figat
68877eebe3 Format code 2025-02-23 21:31:30 +01:00
Wojtek Figat
5ed18c7448 Fix fc4b79239b 2025-02-23 21:28:02 +01:00
Wojtek Figat
1fda1d749d Merge branch 'GoaLitiuM-launchsettings_fix' 2025-02-23 21:24:31 +01:00
Wojtek Figat
ac728f1a31 Merge branch 'launchsettings_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-launchsettings_fix 2025-02-23 21:24:17 +01:00
Wojtek Figat
8beeea0da1 Merge branch 'davevanegdom-Double-Click-Scene-Node-Actions' 2025-02-23 21:23:18 +01:00
Wojtek Figat
fc4b79239b Refactor new scene tree double click feature to support both prefab and scene editing
#1502
2025-02-23 21:23:09 +01:00
Wojtek Figat
618027b181 Merge branch 'Double-Click-Scene-Node-Actions' of https://github.com/davevanegdom/FlaxEngine into davevanegdom-Double-Click-Scene-Node-Actions
# Conflicts:
#	Source/Editor/Modules/PrefabsModule.cs
#	Source/Editor/Windows/SceneTreeWindow.ContextMenu.cs
2025-02-23 21:18:38 +01:00
Wojtek Figat
f97ead8a20 Merge branch 'davevanegdom-DebugOutputImprovements' 2025-02-23 20:30:01 +01:00
Wojtek Figat
bae381430a Cleanup code
#1437
2025-02-23 20:29:58 +01:00
Wojtek Figat
1c3f7fcec0 Merge branch 'DebugOutputImprovements' of https://github.com/davevanegdom/FlaxEngine into davevanegdom-DebugOutputImprovements
# Conflicts:
#	Source/Editor/Options/InterfaceOptions.cs
#	Source/Editor/Windows/DebugLogWindow.cs
2025-02-23 20:29:10 +01:00
Chandler Cox
65a219512c Add double clicking an object reference in a prefab to select the actor within the prefab. 2025-02-21 15:52:43 -06:00
Wojtek Figat
bb12562c2f Fix crash when setting C# property of value-type from native code 2025-02-21 20:22:54 +01:00
Wojtek Figat
b81b0b7616 Fix text clipping behind the button in Behavior Knowledge Selector editor 2025-02-21 19:34:35 +01:00
Wojtek Figat
bd9a5f03a4 Fix crash when importing fbx model with convex polygon with duplicated vertices
#3222
2025-02-21 17:36:20 +01:00
Wojtek Figat
9d5d80bf4a Fix crash when using physics overlap tests with Collider outputs that catch Terrain
#3221
2025-02-21 15:07:44 +01:00
Wojtek Figat
44e894f406 Remove unused default value codegen 2025-02-21 15:07:09 +01:00
Chandler Cox
ef8612fb59 Merge branch 'master' into android-emulate 2025-02-20 21:19:32 -06:00
Wojtek Figat
366b47ad80 Fix crash when applying prefab with missing scripts in use
#3239
2025-02-20 23:50:36 +01:00
Wojtek Figat
b3508b9fe1 Fix Visject gradient stops to update graph only on sliding end
#3226
2025-02-20 20:28:46 +01:00
Wojtek Figat
3f2eab5206 Optimize divide into multiply 2025-02-20 17:04:20 +01:00
Wojtek Figat
5bdf5da142 Resave engine materials
#3231
2025-02-20 10:09:37 +01:00
c823257b79 Fix invalid paths in C# launch settings on Windows 2025-02-19 17:23:47 +02:00
Wojtek Figat
937d369856 Fix crash in particles system when assets gets loading/unloaded while async jobs are active 2025-02-18 23:27:49 +01:00
Wojtek Figat
060bc0aaf8 Fix crash in animations system when assets gets loading/unloaded while async jobs are active
#2974
2025-02-18 22:30:49 +01:00
Wojtek Figat
ce335a0fe4 Use new api for span from stream 2025-02-18 09:52:49 +01:00
Wojtek Figat
4aab1be3d6 Bump up materials version after merge with master 2025-02-18 09:20:48 +01:00
Wojtek Figat
6b6d808698 Fix warning 2025-02-18 09:20:06 +01:00
Wojtek Figat
a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01:00
Wojtek Figat
c81ddd09cc Fix spatial audio bug regression from 84843f8cbb
#3224 #3206
2025-02-17 23:55:26 +01:00
Wojtek Figat
015c4ab475 Fix memory leak in particle buffers recycling
#3152
2025-02-17 23:25:40 +01:00
Wojtek Figat
ccdf004404 Fix memory leak in Video player on Windows
#3158
2025-02-17 21:19:45 +01:00
Wojtek Figat
9049093267 Fix scene object reference serialization in C# scripts
#3136
2025-02-17 11:57:31 +01:00
Wojtek Figat
9d4d9ccf38 Optimize compilation on MSVC as it can ommit include 2025-02-17 10:24:04 +01:00
Wojtek Figat
8b1d678f2e Fix scene object reference serialization in Visual Script properties
#3136
2025-02-17 10:23:07 +01:00
Chandler Cox
25b8939aff Update to include presenter context. 2025-02-16 18:05:25 -06:00
Chandler Cox
e4d2e429a0 Merge branch 'master' into control-reference 2025-02-16 17:40:38 -06:00
Wojtek Figat
67db774a2f Fix compilation regression 2025-02-17 00:27:06 +01:00
Wojtek Figat
3cd951f0a0 Merge branch 'Tryibion-add-context-to-obj-ref-editor' 2025-02-16 21:15:48 +01:00
Wojtek Figat
0525ce2cb3 Merge branch 'add-context-to-obj-ref-editor' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-context-to-obj-ref-editor 2025-02-16 20:42:23 +01:00
Wojtek Figat
5e74ec01ce Merge branch 'Tryibion-prefab-ui-mode' 2025-02-16 20:38:03 +01:00
Wojtek Figat
bbbc0c9d50 Merge branch 'prefab-ui-mode' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-ui-mode 2025-02-16 20:35:00 +01:00
Wojtek Figat
25067959eb Add nested prefabs editing buttons inside Prefab Window
#1595
2025-02-16 20:34:33 +01:00
xxSeys1
054d06f49e add rmb menu entry to show item in Content Panel 2025-02-15 17:38:03 +01:00
Wojtek Figat
086ddc96bb Fix incorrect prefab serialization to correctly handle diff on object references to prefab objects
#3136
2025-02-14 17:07:33 +01:00
Wojtek Figat
3394de0b93 Fix grid in multi-blend node to draw behind the lines
#3212
2025-02-13 23:29:02 +01:00
Wojtek Figat
abd0c7dece Add support for displaying Multiple Values info to object reference pickers
#2984
2025-02-12 22:31:53 +01:00
Wojtek Figat
ee540b3cb7 Speculative fix for error in thumbnails rendering 2025-02-12 22:13:29 +01:00
Wojtek Figat
c146e156ec Fix perlin and simplex noises to return normalized value to range 0-1
#3154
2025-02-12 22:13:09 +01:00
Wojtek Figat
6efb015169 Merge code for Perlin Noise impl 2025-02-12 17:21:13 +01:00
Wojtek Figat
a982e0a111 Fix crash when reading object value from BehaviorKnowledgeSelector
#3171
2025-02-12 16:54:33 +01:00
Wojtek Figat
84843f8cbb Fix playing mono audio sounds with panning
Tested on OpenAL and XAudio backkend on Windows.

#3206
2025-02-11 23:35:08 +01:00
Wojtek Figat
dccb43702e Add missing casting from Double to Float vectors within Variant 2025-02-11 14:51:17 +01:00
Wojtek Figat
f459249f78 Fix compilation regression from aa8add7b38 2025-02-11 14:23:10 +01:00
Wojtek Figat
3ad369501a Add support for searching actors and scripts by interface
#3199
2025-02-11 14:22:44 +01:00
Wojtek Figat
b0fe4373b0 Merge branch 'xxSeys1-AudioSliderGamePanelFix' 2025-02-11 14:07:16 +01:00
Wojtek Figat
9df5ed5b7f Merge branch 'AudioSliderGamePanelFix' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-AudioSliderGamePanelFix 2025-02-11 14:07:09 +01:00
Wojtek Figat
aa8add7b38 Fix large worlds rendering of meshes
Add `Double4x4` for higher precision matrices operations

#2985
2025-02-11 13:01:48 +01:00
Wojtek Figat
21f8dab5de Tweak 58090aa6d6 to secure for incorrect includes and usage 2025-02-11 00:33:08 +01:00
Wojtek Figat
4baa38c0cc Add explicit cast to in vector in C# api 2025-02-11 00:32:20 +01:00
Wojtek Figat
3c091dc214 Fix editor grid gizmo when using Large Worlds 2025-02-11 00:32:04 +01:00
Wojtek Figat
58090aa6d6 Fix triplanar texture mapping when using Large Worlds
#3001
2025-02-11 00:31:37 +01:00
Chandler Cox
2521ed4ad5 Change DrawTube to DrawCapsule. Depricate old Tube code. 2025-02-08 21:15:49 -06:00
Anton Makarenko
9e25714338 Changes text of documentation above static Log method from warning to info to better reflect method's purpose and avoid possible confusion 2025-02-05 16:24:55 +02:00
xxSeys1
6a5f22400d update volume slider in game panel on menu show 2025-02-05 12:35:49 +01:00
Wojtek Figat
a5fffc0c9e Fix DebugDraw.DrawWireArc with Large Worlds enabled
#3049
2025-02-04 23:44:31 +01:00
Wojtek Figat
e551ecbe5f Fix build warning with Large Worlds enabled 2025-02-04 23:44:12 +01:00
Chandler Cox
898295e9d4 Small code cleanup. 2025-02-03 22:20:51 -06:00
Chandler Cox
a17c15ae96 Add missing return comments for get methods. 2025-02-03 22:11:07 -06:00
Chandler Cox
be6a258846 Add runtime input mapping helpers. 2025-02-03 21:57:14 -06:00
Wojtek Figat
8542f78b0b Merge branch 'xxSeys1-BetterRayNormAssert' 2025-02-01 15:26:25 +01:00
Wojtek Figat
da513972e8 Simplify message to be single-line with less text
#2990
2025-02-01 15:26:13 +01:00
Wojtek Figat
be293a957a Merge branch 'BetterRayNormAssert' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-BetterRayNormAssert 2025-02-01 15:24:44 +01:00
Wojtek Figat
8e26591c0b Merge branch 'xxSeys1-GamePanelAudio' 2025-02-01 15:23:39 +01:00
Wojtek Figat
4e31d436d5 Merge branch 'GamePanelAudio' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-GamePanelAudio 2025-02-01 15:23:33 +01:00
Wojtek Figat
b6f7914b14 Fix RenderToTextureControl to render correctly when using different texture size than control size
#2760
2025-02-01 15:17:21 +01:00
Wojtek Figat
9ffbe1f8ca Add support in scripting for using interfaces on structures
#2679
2025-01-31 23:36:15 +01:00
0764ff6cb7 Fix C# projects not compiling in VS with native code plugins present 2025-01-31 23:58:23 +02:00
Wojtek Figat
4e0cd9e8a9 Add support for creating Json Assets in editor out of structure type
#2679
2025-01-31 21:58:36 +01:00
Wojtek Figat
24f3dfe264 Fix selected spline points to be drawn relative to the view for greater readability
#2595
2025-01-31 21:01:26 +01:00
Wojtek Figat
42fc62eb68 Add Actor.Clone for actors duplication at runtime (including scripts and children)
#2012
2025-01-31 10:21:05 +01:00
Wojtek Figat
b1392be3a1 Fix typo 2025-01-30 22:48:07 +01:00
Wojtek Figat
04dde7a3f2 Add warnings on incorrect GPUBuffer or GPUTexture usage when binding to GPUContext (in non-release builds) 2025-01-30 22:03:21 +01:00
Wojtek Figat
44fae3838e Add GPUResourceUsage.Staging for both CPU read/write access 2025-01-30 20:39:04 +01:00
Wojtek Figat
f11306af24 Add caching and restoring curve height in properties panel
#2455
2025-01-30 17:42:54 +01:00
Wojtek Figat
4057dc189d Fix SnapToGrid to skip when grid component is 0 2025-01-30 17:26:34 +01:00
Wojtek Figat
fc98b5f1f0 Add snapping to grid with Ctrl key when moving keyframes in curve
#2455
2025-01-30 17:26:04 +01:00
Wojtek Figat
4d6282a5b4 Add focus selection to curve editor and apply margin around shown curve section
#2455
2025-01-29 23:54:41 +01:00
Chandler Cox
45a24a05c5 Add check for if static model has a model. 2025-01-28 16:22:02 -06:00
Wojtek Figat
0e058b2590 Fix curve tangents reset on drag start
#2455
2025-01-28 23:18:26 +01:00
Wojtek Figat
a31279954a Fix curve editor scroll bars to be hidden when not enabled
#1083
2025-01-28 23:07:05 +01:00
Chandler Cox
16ed7272a7 Skip not active actors. 2025-01-28 16:05:19 -06:00
Wojtek Figat
d25cb7a9da Fix curve tangent handles to maintain size relative to the current view scale
Fix curve tangent colors to match editor style
Fix curve tangents editing to have stable movement no matter the view scale

#2455
2025-01-28 22:59:39 +01:00
Chandler Cox
6461ffbd0d Skip selecting scene actor. 2025-01-28 15:58:18 -06:00
Wojtek Figat
1b04c9a7b1 Another attempt to fix CD builds stability 2025-01-28 14:30:57 +01:00
Wojtek Figat
6a27e5338a Fix float precision issue when drawing curve or timeline time axes
#2455
2025-01-28 12:48:19 +01:00
Wojtek Figat
5ad323c7cb Fix showing whole curve if its empty 2025-01-28 12:44:52 +01:00
Chandler Cox
abe2482a01 Use mesh collision proxy if available. 2025-01-27 18:28:06 -06:00
Chandler Cox
9c065d55e0 Change to use view CM and set inital ui mode to use if the prefab has ui. 2025-01-27 18:02:54 -06:00
Chandler Cox
fc4c2c53fc select parent of prefab if it has a prefab link. 2025-01-26 13:50:07 -06:00
Chandler Cox
fa06a8cc16 Fix rubberband taking over when tyring to move objects. Move rubberband out of update method. 2025-01-26 13:45:31 -06:00
Chandler Cox
4d4c046556 small cleanup with uicanvas searching. 2025-01-25 15:35:07 -06:00
Chandler Cox
4598cdb2d0 Fix check for control parent. 2025-01-25 15:32:18 -06:00
Chandler Cox
eb43d4813d Faster selection, select while dragging, only select if actor box is in rect. 2025-01-25 15:30:22 -06:00
Wojtek Figat
d501018feb Add improved GPU crashes reporting 2025-01-24 22:56:52 +01:00
Wojtek Figat
d4c72487cd Fix various asset windows shutdown when editor is disposing during crash 2025-01-24 22:55:21 +01:00
Wojtek Figat
0b48a274e5 Fix compilation 2025-01-24 22:54:56 +01:00
Wojtek Figat
342f3543ca Fix LOG_FLUSH to flush only when automatic mode is disabled 2025-01-24 20:15:32 +01:00
Wojtek Figat
b36e55446f Add Engine::ReportCrash event for custom crash reporting or handling 2025-01-24 20:15:17 +01:00
Wojtek Figat
cf40facefe Add engine fatal error types handling
Add general out-of-memory handling
Add safety memory buffer for crash or out of memory handling
Refactor Globals exit/error state to be in Engine class
2025-01-24 20:07:12 +01:00
Wojtek Figat
fa2f2e3104 Fix Linux build 2025-01-24 12:53:56 +01:00
Wojtek Figat
ae74d49b09 Fix bug 2025-01-24 12:24:52 +01:00
Wojtek Figat
80a44b5f5c Remove old code 2025-01-24 11:08:31 +01:00
Wojtek Figat
dffc6ea24d Move hash set related configs into proper header file and rename those 2025-01-24 00:05:07 +01:00
Wojtek Figat
38f74c8cf7 Refactor Dictionary and HashSet to use shared base class
Add const iterators
2025-01-23 23:59:31 +01:00
Wojtek Figat
61a731704d Fix const-correctness in dictionary iterator access 2025-01-23 21:40:52 +01:00
Wojtek Figat
c1339765b7 Fix parsing nested template types in scripting type inheritance 2025-01-23 21:32:09 +01:00
Wojtek Figat
f5280eab74 Refactor and improve collections code
#3043
2025-01-23 14:44:11 +01:00
Wojtek Figat
af416fe0c8 Fix packaging issues to properly read asset data after it's serialized with a new format 2025-01-22 21:24:49 +01:00
Wojtek Figat
326bc498b8 Add more logging for cooking process 2025-01-22 00:01:25 +01:00
Wojtek Figat
d1cc8da841 Remove not needed warning log in Editor on fresh project 2025-01-21 23:46:32 +01:00
Wojtek Figat
4cf22c3a1f Fix material to run shader generation when using null rendering backend 2025-01-21 23:14:00 +01:00
Wojtek Figat
8736d4c91a Remove not needed warning log in Editor on fresh project 2025-01-21 22:47:44 +01:00
Wojtek Figat
682ca9e953 Add progress indicator in editor for assets loading 2025-01-21 21:38:02 +01:00
Wojtek Figat
344d17714c Fix crash when using ref struct reflection in managed api 2025-01-21 15:39:21 +01:00
Wojtek Figat
b247070840 Fix regression in Dictionary capacity and use similar improvement in HashSet 2025-01-21 15:38:14 +01:00
Wojtek Figat
236b8d5667 Add failing Windows Test CI if FlaxTests.exe fails 2025-01-21 14:01:23 +01:00
Wojtek Figat
c3ad937d3f Add failing Windows Test CI if FlaxTests.exe fails 2025-01-21 13:12:04 +01:00
Wojtek Figat
d8dcec42d5 Add failing Windows Test CI if FlaxTests.exe fails 2025-01-21 12:28:35 +01:00
Wojtek Figat
3b5f953b3d Add failing Windows Test CI if FlaxTests.exe fails 2025-01-21 11:52:27 +01:00
Wojtek Figat
9fd98c8e12 Optimize blend weights to use 8-bit per bone (instead of 16-bit) 2025-01-21 11:40:01 +01:00
Wojtek Figat
0b24c50161 Expose ContentDeprecated to scripting (editor-only) 2025-01-21 10:18:57 +01:00
Wojtek Figat
fe8f862b16 Update engine assets 2025-01-21 00:04:03 +01:00
Wojtek Figat
7d0804af91 Add content deprecation upgrades support to prefabs and scenes when loading levels 2025-01-20 23:53:13 +01:00
Wojtek Figat
67f12596e2 Fix LoadAssetTask to properly dereference asset loading task pointer when asset init fails 2025-01-20 23:52:12 +01:00
Wojtek Figat
6a66a944d2 Add total mesh vertex stride display in editor panel 2025-01-20 23:51:35 +01:00
Wojtek Figat
65a689f8ab Add logging first scene asset id in cooked game 2025-01-20 23:51:08 +01:00
Wojtek Figat
18fd68db25 Add SpawnOptions container for more robust prefabs spawning 2025-01-20 23:50:47 +01:00
Wojtek Figat
86444aa5f3 Fix TypeUtils.GetTypeName for nested generic types 2025-01-20 23:49:40 +01:00
Wojtek Figat
011abe4ac0 Fix error when connecting nodes in Visject 2025-01-20 23:49:17 +01:00
Wojtek Figat
f4c07388d9 Restore old upgrader for skinned models from 9f648caac8 2025-01-20 23:49:00 +01:00
Wojtek Figat
eaf48bb176 Fix regression in dynamic mesh bounds and triangles setup after refactor 2025-01-20 23:48:25 +01:00
Wojtek Figat
d4a5c76c82 Add serialization of game settings for proper upgrade when loading deprecated data 2025-01-20 23:47:51 +01:00
Wojtek Figat
8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +01:00
Wojtek Figat
1497acef58 SImplify capacity presetting for Dictionary to handle memory slack scale internally as suers care about items count only 2025-01-16 17:42:01 +01:00
Wojtek Figat
6111f67e33 Add ToSpan for MemoryWriteStream and simplify code with it 2025-01-16 17:35:28 +01:00
Wojtek Figat
39419787fa Another compilation fix 2025-01-15 08:48:03 +01:00
Wojtek Figat
e02f2990d9 Another compilation fix 2025-01-14 23:43:31 +01:00
Wojtek Figat
d0a6edbb2c Another compilation fix 2025-01-14 23:26:26 +01:00
10a906d51b Apply patches to rapidjson 2025-01-15 00:23:30 +02:00
f61779119b Update rapidjson to latest version
Commit d621dc9e9c77f81e5c8a35b8dcc16dcd63351321 in Tencent/rapidjson
2025-01-15 00:23:30 +02:00
Wojtek Figat
be8686bbb2 Fix new code on non-windows editor platforms 2025-01-14 22:45:03 +01:00
Wojtek Figat
59061c01d3 Fix compilation error 2025-01-14 22:29:06 +01:00
Wojtek Figat
90ba7f4a92 Mark CommonValue as deprecated to generate warnings in old code 2025-01-13 18:25:26 +01:00
Wojtek Figat
754e0c4e29 Update build number 2025-01-13 18:09:19 +01:00
Wojtek Figat
addc6d5216 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Content/Editor/Gizmo/Material.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Source/Editor/Windows/Assets/ModelWindow.cs
#	Source/Editor/Windows/Assets/SkinnedModelWindow.cs
#	Source/Engine/Core/Types/Variant.cpp
2025-01-13 18:07:54 +01:00
Chandler Cox
3b7cb00af2 Add shift to continue selection 2025-01-12 21:41:24 -06:00
Chandler Cox
d0d5ad4657 Add rubber band select to scene editor viewport for selecting multiple actors. 2025-01-12 21:33:01 -06:00
Wojtek Figat
ea96418764 Update old Float1010102 to FloatR10G10B10A2 2025-01-12 21:22:53 +01:00
Wojtek Figat
d751c6a6c6 Add PackNormal/UnpackNormal and GetInt/SetInt to MeshAccessor 2025-01-12 21:22:35 +01:00
Wojtek Figat
344d342610 Update assets 2025-01-12 20:31:00 +01:00
Wojtek Figat
e75d7ad257 Fix compilation warnings 2025-01-12 20:30:43 +01:00
Wojtek Figat
54869f1da0 Adjust label height 2025-01-12 17:59:08 +01:00
Wojtek Figat
02df6bafac Update engine assets 2025-01-12 01:33:18 +01:00
Wojtek Figat
d60f3bdfb1 Add mesh vertex layout and GPU memory size display in model window 2025-01-12 01:30:58 +01:00
Wojtek Figat
506efb7538 Merge model and skinned model windows code into shared base class 2025-01-12 01:04:56 +01:00
Wojtek Figat
1b97e49ed9 Fix shadow maps rendering regression bug 2025-01-11 22:45:18 +01:00
Wojtek Figat
b71f803554 Fix regression in particles 2025-01-11 22:45:04 +01:00
Wojtek Figat
647d74af0d Fixes for vertex layouts binding into graphics backend 2025-01-11 22:44:38 +01:00
Wojtek Figat
237ea121be Add vertex colors to skinned meshes 2025-01-11 22:43:15 +01:00
Wojtek Figat
a1c46d2e6e Add support for up to 4 texture channels when importing meshes
#2667
2025-01-11 22:40:20 +01:00
Wojtek Figat
756ba0a533 Fix crash on shadows when using D3D10 2025-01-09 21:46:41 +01:00
Wojtek Figat
99788e4743 More fixes for Vulkan rendering to be on pair with DirectX when it comes to accessing missing vertex buffer components 2025-01-09 21:46:22 +01:00
Wojtek Figat
3505b8971b Add support for up to 65536 skeleton bones in skinned meshes
https://forum.flaxengine.com/t/import-fbx-with-bones-more-than-256/1196
2025-01-08 18:48:50 +01:00
Wojtek Figat
1f294605a3 Add more Vulkan memory layout safety stages 2025-01-08 18:11:47 +01:00
Wojtek Figat
9264db8317 Simplify vertex colors debug draw mode 2025-01-08 18:10:48 +01:00
Wojtek Figat
2b2ace0d00 Fixes for Vulkan backend after recent changes 2025-01-08 18:09:45 +01:00
Wojtek Figat
7e165d6127 Allow vertex colors on skinned meshes
#3044
2025-01-08 09:39:19 +01:00
Chandler Cox
e1dbaebe8e Add instructions for list populating. 2025-01-07 21:40:05 -06:00
Chandler Cox
21f1a46c05 Small wording changes 2025-01-07 21:29:27 -06:00
Chandler Cox
6fbb5548b9 Small code clean up. 2025-01-07 21:15:35 -06:00
Chandler Cox
fa17c49eb1 Add starting adb log collecting button. 2025-01-07 21:11:37 -06:00
Wojtek Figat
7aa240e5eb Add vertex shader input layout reading via shader compiler reflection to handle missing vertex elements binding when explicit layout got deprecated 2025-01-07 23:26:06 +01:00
Wojtek Figat
7f0d852f49 Fix minor shader compilation warnings 2025-01-07 21:55:31 +01:00
Wojtek Figat
edaed7bda1 Add missing layout for ribbon vertex buffer 2025-01-07 16:12:11 +01:00
Wojtek Figat
3b4d4d234d Fix LOD Preview regression due to new instancing logic 2025-01-06 22:49:27 +01:00
Wojtek Figat
bc73d38d34 Reseve engine materials and models 2025-01-06 22:47:44 +01:00
Wojtek Figat
db4d7d2a05 **Refactor meshes format to support custom vertex layouts and new flexible api to access mesh data**
#3044 #2667
2025-01-06 22:47:19 +01:00
Wojtek Figat
29bfef677f Add PixelFormatSampler utility to quick read/write operations on various data formats
Moved from `TextureTool` to be used in runtime and with more generic use cases (including C# scripting).
2025-01-05 23:49:44 +01:00
Wojtek Figat
933fac6c13 Add Slice to Span and sue it to make code cleaner 2025-01-05 17:41:27 +01:00
Wojtek Figat
78cf1a4948 Use MeshDataCache in vertex painting tool 2025-01-05 16:45:30 +01:00
Wojtek Figat
792d322818 Missing change for 6f04231b31 2025-01-05 00:17:52 +01:00
Wojtek Figat
6f04231b31 Rename Vertex Shader input semantic ofBLENDWEIGHT to BLENDWEIGHTS 2025-01-04 21:04:18 +01:00
Chandler Cox
04fc118ddf Small fixes. 2025-01-04 11:45:08 -06:00
MrCapy0
5aa5c97e4c Add "root" parameter to Level.GetScripts() 2025-01-04 09:43:33 -04:00
Wojtek Figat
4f42fb2302 Update other graphics apis to match missing vertex shader inputs merging 2025-01-04 10:55:55 +01:00
Wojtek Figat
ea5cb5d83a Minor fixes and improvements 2025-01-03 01:10:31 +01:00
Wojtek Figat
7b7dd9d142 Improve GPU vertex layout binding in case of missing element from the mesh 2025-01-03 01:09:25 +01:00
Wojtek Figat
348f17479d Fix name of BlendWeight to BlendWeights for vertex input to match BlendIndices 2025-01-03 01:07:33 +01:00
Wojtek Figat
1e262b69cc Add Task::WaitAll with a span of tasks and wrap around profiler macro 2025-01-03 01:05:56 +01:00
Chandler Cox
97184c87af Add android emulation options to game cooker android tab. 2025-01-01 23:05:15 -06:00
Chandler Cox
757b8ff855 Fix local origin option with multi-mesh import. 2024-12-31 00:50:42 -06:00
Chandler Cox
c79cd82fd4 Fix code warnings. 2024-12-30 18:59:45 -06:00
Chandler Cox
711fc80d8c Fix comment. 2024-12-30 16:46:42 -06:00
Chandler Cox
9219b34dc3 Shorten picker control name. 2024-12-30 16:43:06 -06:00
Chandler Cox
e6450bfc7a Add ControlReference for easier UI referencing. 2024-12-30 16:36:10 -06:00
Wojtek Figat
3151e47722 Fix missing material instance load failure when parameters load fails 2024-12-29 23:21:26 +01:00
Wojtek Figat
ab99a25cee Update mesh config defines to match a single format 2024-12-29 23:03:09 +01:00
Wojtek Figat
e7132086a5 Add displaying asset failed text if it occurs 2024-12-29 23:01:25 +01:00
Wojtek Figat
668f3fa68d Update read and write streaming api to use the newest format 2024-12-29 23:00:40 +01:00
Wojtek Figat
fee0ab74ff Update old doc comments 2024-12-28 21:31:21 +01:00
Wojtek Figat
723a882824 Merge more code together for meshes 2024-12-23 23:28:01 +01:00
Wojtek Figat
9f648caac8 Remove deprecated asset data upgrades and old model vertex structures 2024-12-20 00:48:01 +01:00
Wojtek Figat
1bf29c042b Refactor models and meshes to share more code in a base class 2024-12-19 00:20:08 +01:00
Wojtek Figat
8eaa906e0c Remove some redundant code 2024-12-18 18:39:58 +01:00
Wojtek Figat
5b98603c16 Fix incorrect vertex layout stride calculation 2024-12-18 18:38:47 +01:00
Wojtek Figat
80299c8552 Add stride to GPUVertexLayout 2024-12-17 15:58:26 +01:00
Wojtek Figat
d1ac9cd2bc Minor fixes 2024-12-16 20:07:53 +01:00
Wojtek Figat
59b4755379 Move mesh code to shared base class and reordanize files 2024-12-16 20:07:42 +01:00
Wojtek Figat
b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
Wojtek Figat
666efb7675 Fix incorrect dummy GPU Buffer format when binding missing resource to Vulkan descriptor 2024-12-13 14:56:20 +01:00
Wojtek Figat
fc4e6f4972 Add GPUVertexLayout to graphics backends 2024-12-13 09:20:01 +01:00
Wojtek Figat
cedf4b1eb5 Remove GPUShaderProgramsContainer to simplify GPUShader 2024-12-11 15:08:13 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Chandler Cox
0991628a78 Add UImode switch to prefab window. 2024-11-29 16:47:07 -06:00
Wojtek Figat
ab78314a01 Revert part of 9870d162e4 to support prefab variants creation 2024-11-25 22:39:02 +01:00
Wojtek Figat
0e13173119 Fix actor reference select in prefab editor 2024-11-25 22:13:46 +01:00
Wojtek Figat
a7061a7524 Fix raw scripting object pointers auto-serialization 2024-11-25 22:13:21 +01:00
Wojtek Figat
344595e171 Don't mark surface as edited if none of the nodes were pasted 2024-11-23 20:31:17 +01:00
Wojtek Figat
9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
Wojtek Figat
914d82a087 Fix Variant enum casting 2024-11-22 16:04:34 +01:00
Wojtek Figat
74993dcf9e Fix animation retargetting to properly handle different skeleton nodes orientation 2024-11-22 12:29:05 +01:00
Wojtek Figat
f8f4edfa76 Fix variious issues 2024-11-21 23:42:05 +01:00
Wojtek Figat
826d37c513 Add option to copy/paste skeleton retargetting between models 2024-11-21 23:40:25 +01:00
Wojtek Figat
377eb78020 Fix output log command history popup to return focus back to input field on arrow left 2024-11-21 23:22:08 +01:00
Wojtek Figat
3de3c1f2c6 Add debug drawing tangent frame of the selected skeleton node 2024-11-06 15:38:27 +01:00
Wojtek Figat
246944f688 Merge remote-tracking branch 'origin/master' into 1.10 2024-11-06 09:29:48 +01:00
Wojtek Figat
e9dcb8a8bb Add option to build editor without profiler 2024-11-06 09:29:26 +01:00
Wojtek Figat
3f50625cc3 Fix proper handling of Scripting.InvokeOnUpdate if called within that callback 2024-10-30 17:26:06 +01:00
Wojtek Figat
35c44d60a4 Add AutoGravity option to CharacterController for logic from 4de9e9d918 2024-10-30 17:25:17 +01:00
Wojtek Figat
6e598ae9f6 Refactor Multi Blend animations sampling length to fix blend spaces with anims of different length 2024-10-30 17:24:47 +01:00
Wojtek Figat
4de9e9d918 Add gravity to CharacterController::AddMovement for proper movement when using Root Motion 2024-10-30 00:01:54 +01:00
Wojtek Figat
c1bd42ff7e Add Vector3.SignedAngle utility method 2024-10-29 23:55:42 +01:00
Wojtek Figat
b1a54d2967 Missing change in 072f7c7e45 2024-10-29 23:34:10 +01:00
Wojtek Figat
2288684950 Fix pasting or duplicating Multi Blend nodes 2024-10-29 23:08:50 +01:00
Wojtek Figat
0c645e8b0c Fix root animation in blend spaces when one of the animations doesn't use root motion but animated root node channel 2024-10-29 21:59:21 +01:00
Wojtek Figat
072f7c7e45 Fix C++ Vector3::Angle to return value in degrees just like C# API (instead of radians) 2024-10-29 20:36:01 +01:00
Wojtek Figat
41a0ccb218 Fix Visject Surface search to check nested surfaces (such as State Machine graphs) 2024-10-28 20:32:17 +01:00
Wojtek Figat
f88eeeb313 Fix missing casting from scalar Variant types to Enum 2024-10-28 14:32:19 +01:00
Wojtek Figat
082d97248d Add unit test for DebugCommands 2024-10-27 15:22:57 +01:00
Wojtek Figat
d88c5f3063 Merge branch 'mtszkarbowiak-fix/nullable' into 1.10 2024-10-25 15:59:44 +02:00
Wojtek Figat
fa9ce1d346 Code formatting
#2969
2024-10-25 15:59:38 +02:00
Wojtek Figat
1c2c010ddc Merge branch 'fix/nullable' of https://github.com/mtszkarbowiak/FlaxEngine into mtszkarbowiak-fix/nullable 2024-10-25 15:38:44 +02:00
Wojtek Figat
46c1cc9a49 Add nested variant printing in debug command output 2024-10-25 13:25:15 +02:00
Wojtek Figat
dcd7b4b6c3 Fix crash when boxing native non-POD structure into managed data 2024-10-25 13:21:40 +02:00
Wojtek Figat
2d371fd05f Fix DebugCommands::InitAsync when called every frame 2024-10-24 23:38:36 +02:00
Wojtek Figat
62ece0d92e Fix crash when using attributes cache after hot-reload in editor 2024-10-24 23:38:25 +02:00
Wojtek Figat
8338ec6076 Fix regression 2024-10-24 22:32:02 +02:00
Wojtek Figat
86e21a53ff Add improved value printing of debug command result 2024-10-24 22:31:07 +02:00
Wojtek Figat
c3e31baa7a Merge remote-tracking branch 'origin/master' into 1.10 2024-10-24 19:35:43 +02:00
Wojtek Figat
302fc2feb1 Add various engine systems to debug commands 2024-10-24 19:35:24 +02:00
Wojtek Figat
e324d32769 Add async init and tint coloring based on type to debug commands 2024-10-24 19:34:42 +02:00
Wojtek Figat
5d7eba05ea Add GetFields and GetMethods to binary module api 2024-10-24 19:33:38 +02:00
Wojtek Figat
9a654f729f Fix context menu to resize instead of flash when showing while already visible 2024-10-24 19:27:53 +02:00
Wojtek Figat
87d35f0314 Add debug commands search popup to Output Log 2024-10-24 19:26:11 +02:00
Wojtek Figat
5904c0eea5 Add debug command history to Output Log in Editor 2024-10-22 21:59:06 +02:00
Wojtek Figat
e5289931c6 Add Alignment option to Vertical and Horizonal Panels
#2599
2024-10-22 21:55:25 +02:00
Wojtek Figat
0b1263a9e2 Disable VK_EXT_tooling_info check for debugger on Linux 2024-10-22 21:54:38 +02:00
Wojtek Figat
16235c21c0 Add optional direction option to context menu 2024-10-22 21:34:28 +02:00
Wojtek Figat
2127961069 Add printing debug command upon execute 2024-10-21 13:05:26 +02:00
Wojtek Figat
b681a03bfb Fix output log window to properly handle copy and other input events 2024-10-21 13:03:40 +02:00
Wojtek Figat
449e988a59 Add workaround for debug command text memory bug due to managed handles gc 2024-10-20 23:25:38 +02:00
Wojtek Figat
a2693fa354 Ignore non-public debug commands from marked classes 2024-10-20 23:24:26 +02:00
Wojtek Figat
5328ea891d Add command line input to Output Log in Editor 2024-10-20 23:23:54 +02:00
Wojtek Figat
91d86552cd Minor cleanup 2024-10-17 23:43:07 +02:00
Mateusz Karbowiak
14a615cd7c Merge branch 'FlaxEngine:master' into fix/nullable 2024-10-17 20:34:32 +02:00
xxSeys1
703e83cd48 improve ray direction not normalized assertion message 2024-10-15 21:25:30 +02:00
Wojtek Figat
c94052513e Add object replication data cache and send via Reliable channel to reduce data transfer 2024-10-15 19:47:09 +02:00
xxSeys1
7e1d6679ce add debug draw clear to game and editor panel 2024-10-15 19:43:08 +02:00
Wojtek Figat
60ed23105d Fix typo 2024-10-15 12:33:51 +02:00
Wojtek Figat
ac832a0e81 Optimize network transform replication 2024-10-15 11:24:10 +02:00
Wojtek Figat
c202a639cf Fix linux 2024-10-15 00:01:10 +02:00
Wojtek Figat
b957733150 Fixes 2024-10-14 23:35:41 +02:00
Wojtek Figat
7e4d7743a4 Add Quaternion quantization for network stream
Reduced send rate by 56% in average. Identity quat is just 8-bits (flags)
Added tests with full-sphere rotation to ensure this works correctly.
2024-10-14 22:32:29 +02:00
Wojtek Figat
a6f1dbbf32 Fix Quaternion error tolerance to be more reasonable due to math optimization enabled in compiler 2024-10-14 22:16:08 +02:00
Wojtek Figat
b38af8fd00 Format code and add debug cmd attributes 2024-10-14 12:12:48 +02:00
Wojtek Figat
4ddf1a2cc8 Another fix for network profiler to properly handle stats updating when recording is disabled
#2815
2024-10-14 12:12:06 +02:00
Wojtek Figat
443fe5dbcb Add network keys table to optimize ids and names sending over network
#2815
2024-10-14 12:11:20 +02:00
Wojtek Figat
23ad24751a Fix editor tables rows coloring to start with darker one 2024-10-12 00:00:02 +02:00
Wojtek Figat
f8371d037b Refactor old ContentLoadingManager into Content for simplicity 2024-10-11 23:05:09 +02:00
Wojtek Figat
ff495e1319 Add safety check to exit game in Release mode when running with graphics debugger attached 2024-10-11 20:15:17 +02:00
Wojtek Figat
575a286e1e Add editor windows to quick actions via Content Finder tool 2024-10-11 20:06:20 +02:00
Wojtek Figat
a72e8f2f65 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Platform/StringUtils.h
2024-10-11 18:07:41 +02:00
xxSeys1
a50c21cf36 add audio volume and muted in game panel tab rmb menu 2024-10-09 17:19:00 +02:00
Mateusz Karbowiak
863afc065d Merge branch 'FlaxEngine:master' into fix/nullable 2024-10-07 16:34:37 +02:00
Mateusz Karbowiak
eda4f433d0 Update TestNullable.cpp 2024-10-07 12:24:09 +02:00
Mateusz Karbowiak
f56207f1a4 Nullable.Reset fix, killing inlining 2024-10-07 12:17:23 +02:00
Mateusz Karbowiak
541ca67a06 Nullable sfinae fix 2024-10-07 03:59:58 +02:00
Mateusz Karbowiak
44dad402f6 Nullable dependency headers fix 2024-10-07 02:41:07 +02:00
Mateusz Karbowiak
1a588eb9f7 Merge branch 'FlaxEngine:master' into fix/nullable 2024-10-07 01:11:51 +02:00
Mateusz Karbowiak
cda74f5cc4 Nullable tests 2024-10-06 13:50:03 +02:00
Mateusz Karbowiak
077ececcf8 Nullable match 2024-10-06 13:20:00 +02:00
Mateusz Karbowiak
d48a4c4483 Merge branch 'FlaxEngine:master' into fix/nullable 2024-10-06 13:01:16 +02:00
Mateusz Karbowiak
6f6348508a Nullable implicit cast fix 2024-10-06 03:09:04 +02:00
Mateusz Karbowiak
23624aa7f8 Fix type constraints 2024-10-06 02:23:21 +02:00
Mateusz Karbowiak
c9b1f6f516 Nullable fixes 2024-10-06 01:57:12 +02:00
Mateusz Karbowiak
a2874a189e Nullable docs 2024-10-05 23:51:54 +02:00
Mateusz Karbowiak
edfbeea0e6 Nullable utility functions 2024-10-05 23:10:30 +02:00
Mateusz Karbowiak
db06f4f72e Fixed implicit type conversion for type specialization 2024-10-05 21:22:36 +02:00
Mateusz Karbowiak
32b09538ba Hard Nullable<T> refactor * 2024-10-05 21:21:51 +02:00
Wojtek Figat
c6958357c3 Allow placing DebugCommand attribute on fields and properties 2024-10-04 15:58:47 +02:00
Wojtek Figat
74d2f5d115 Fix parsing numbers to support sign 2024-10-04 15:58:27 +02:00
Wojtek Figat
777e65c170 Fix crash when setting static dotnet field from unmanaged code 2024-10-04 15:58:05 +02:00
Wojtek Figat
adbe578aa1 Add attributes support for dotnet interop for methods, fields and properties 2024-10-04 15:57:41 +02:00
Wojtek Figat
85915d787a Add Variant enum parsing by name and fix enum printing to string 2024-10-03 17:10:34 +02:00
Wojtek Figat
2f0518a348 Fix managed interop bug 2024-10-03 17:10:01 +02:00
Wojtek Figat
7f5f1ba938 Merge remote-tracking branch 'origin/1.10' into 1.10 2024-10-03 12:37:00 +02:00
Wojtek Figat
a932d549f4 Debug Commands work in progress 2024-10-03 10:24:15 +02:00
Wojtek Figat
791435ba76 Merge remote-tracking branch 'origin/master' into 1.10 2024-10-03 10:23:13 +02:00
Wojtek Figat
0b3a95e551 Merge commit 'f74694048575160067734cbe27a023ad78a2c727' into 1.10 2024-10-03 10:23:07 +02:00
Wojtek Figat
f746940485 Fix typo 2024-10-03 10:04:18 +02:00
Chandler Cox
ecb80e0f34 Add context to drag drop for object ref editor. 2024-09-27 18:26:37 -05:00
Chandler Cox
aded4bfdeb Add context to object referece control to narrow finding actors and scripts 2024-09-27 17:49:44 -05:00
Wojtek Figat
1161a4114d Minor tweaks to simd codebase 2024-09-26 18:56:22 +02:00
Zode
7ede250403 absolute snapping: actually fix large world this time 2024-06-17 22:59:19 +03:00
Zode
5780fb7392 absolute snapping: large worlds fix 2024-06-17 22:16:10 +03:00
Zode
840abf8cdb absolute snap only in world space 2024-06-17 21:27:13 +03:00
Zode
b57e847916 Add absolute snapping 2024-06-17 21:19:31 +03:00
Chandler Cox
c858b67f2e Try and fix large world issue. 2024-05-13 16:48:45 -05:00
Chandler Cox
6d77d45529 use var and real for sign 2024-03-06 06:42:20 -06:00
Chandler Cox
eed44c14df Simplify code 2024-02-17 19:47:18 -06:00
Chandler Cox
af63858d80 Fix Scale gizmo for multiple directions. 2024-02-17 19:42:38 -06:00
davevanegdom
22764f5362 Improved SceneNodeDoubleClick names 2023-09-23 23:28:59 +02:00
davevanegdom
1b84f57a5b Small optimization 2023-09-23 03:24:19 +02:00
davevanegdom
23f4a82bbc Double click actions + open prefab ctxmenu 2023-09-22 18:31:54 +02:00
davevanegdom
9fbfc83535 Editor order cleanup 2023-09-19 14:19:38 +02:00
davevanegdom
ad8d84bfd7 Revert "Surface node body responds to mouse events"
This reverts commit d9b3443818.
2023-09-19 14:16:40 +02:00
davevanegdom
4257f1e2ac Color settings for Debug and Output log 2023-09-19 14:10:25 +02:00
davevanegdom
8166970038 Merge remote-tracking branch 'upstream/master' into DebugOutputImprovements 2023-09-19 14:09:51 +02:00
davevanegdom
88530606df Merge remote-tracking branch 'upstream/master' into ContentContextCondition 2023-09-19 01:10:51 +02:00
davevanegdom
d9b3443818 Surface node body responds to mouse events 2023-09-19 01:09:05 +02:00
3132 changed files with 147759 additions and 29018 deletions

View File

@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev libwayland-dev
- name: Setup Vulkan - name: Setup Vulkan
uses: ./.github/actions/vulkan uses: ./.github/actions/vulkan
- name: Setup .NET - name: Setup .NET
@@ -44,7 +44,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev libwayland-dev
- name: Setup Vulkan - name: Setup Vulkan
uses: ./.github/actions/vulkan uses: ./.github/actions/vulkan
- name: Setup .NET - name: Setup .NET

View File

@@ -1,13 +1,13 @@
name: Continuous Deployment name: Continuous Deployment
on: on:
schedule: schedule:
- cron: '15 4 * * *' - cron: '15 6 * * *'
workflow_dispatch: workflow_dispatch:
env: env:
DOTNET_NOLOGO: true DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: false DOTNET_CLI_TELEMETRY_OPTOUT: false
GIT_LFS_PULL_OPTIONS: '-c lfs.concurrenttransfers=10 -c lfs.transfer.maxretries=2' GIT_LFS_PULL_OPTIONS: '-c lfs.concurrenttransfers=1 -c lfs.transfer.maxretries=2 -c http.version="HTTP/1.1" -c lfs.activitytimeout=60'
jobs: jobs:
@@ -34,7 +34,7 @@ jobs:
dotnet workload --info dotnet workload --info
- name: Build - name: Build
run: | run: |
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output .\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
@@ -67,7 +67,7 @@ jobs:
dotnet workload --info dotnet workload --info
- name: Build - name: Build
run: | run: |
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output .\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
@@ -84,7 +84,7 @@ jobs:
- name: Checkout LFS - name: Checkout LFS
run: | run: |
git lfs version git lfs version
GIT_TRACE=1 GIT_TRANSFER_TRACE=1 git ${{ env.GIT_LFS_PULL_OPTIONS }} lfs pull git ${{ env.GIT_LFS_PULL_OPTIONS }} lfs pull
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
@@ -100,7 +100,7 @@ jobs:
dotnet workload --info dotnet workload --info
- name: Build - name: Build
run: | run: |
./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output ./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
@@ -131,7 +131,7 @@ jobs:
dotnet workload --info dotnet workload --info
- name: Build - name: Build
run: | run: |
./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output ./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
@@ -161,7 +161,7 @@ jobs:
dotnet workload --info dotnet workload --info
- name: Build - name: Build
run: | run: |
./PackageEditor.command -arch=ARM64 -platform=Mac -deployOutput=Output ./PackageEditor.command -arch=ARM64 -platform=Mac -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
@@ -189,7 +189,7 @@ jobs:
dotnet workload --info dotnet workload --info
- name: Build - name: Build
run: | run: |
./PackagePlatforms.command -arch=ARM64 -platform=Mac -deployOutput=Output ./PackagePlatforms.command -arch=ARM64 -platform=Mac -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:

View File

@@ -28,7 +28,7 @@ jobs:
git lfs pull git lfs pull
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev libwayland-dev
- name: Build - name: Build
run: | run: |
./GenerateProjectFiles.sh -vs2022 -log -verbose -printSDKs -dotnet=8 ./GenerateProjectFiles.sh -vs2022 -log -verbose -printSDKs -dotnet=8
@@ -73,8 +73,11 @@ jobs:
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxTestsTarget .\Development\Scripts\Windows\CallBuildTool.bat -build -log -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxTestsTarget
dotnet msbuild Source\Tools\Flax.Build.Tests\Flax.Build.Tests.csproj /m /t:Restore,Build /p:Configuration=Debug /p:Platform=AnyCPU /nologo dotnet msbuild Source\Tools\Flax.Build.Tests\Flax.Build.Tests.csproj /m /t:Restore,Build /p:Configuration=Debug /p:Platform=AnyCPU /nologo
- name: Test - name: Test
shell: pwsh
run: | run: |
$ErrorActionPreference = "Stop"
.\Binaries\Editor\Win64\Development\FlaxTests.exe .\Binaries\Editor\Win64\Development\FlaxTests.exe
if(!$?) { Write-Host "Tests failed with exit code $LastExitCode" -ForegroundColor Red; Exit $LastExitCode }
dotnet test -f net8.0 Binaries\Tests\Flax.Build.Tests.dll dotnet test -f net8.0 Binaries\Tests\Flax.Build.Tests.dll
xcopy /y Binaries\Editor\Win64\Development\FlaxEngine.CSharp.dll Binaries\Tests xcopy /y Binaries\Editor\Win64\Development\FlaxEngine.CSharp.dll Binaries\Tests
xcopy /y Binaries\Editor\Win64\Development\FlaxEngine.CSharp.runtimeconfig.json Binaries\Tests xcopy /y Binaries\Editor\Win64\Development\FlaxEngine.CSharp.runtimeconfig.json Binaries\Tests

BIN
Content/Editor/Camera/M_Camera.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Camera/O_Camera.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/DefaultFontMaterial.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/Gizmo/Material.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Gizmo/MaterialWire.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/Gizmo/RotationAxis.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Gizmo/ScaleAxis.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/Gizmo/TranslationAxis.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/Gizmo/WireBox.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Highlight Material.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/AudioListener.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/AudioSource.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/Decal.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/DirectionalLight.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/EnvironmentProbe.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/IconsMaterial.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/ParticleEffect.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/PointLight.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/Icons/SkyLight.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Icons/Skybox.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

View File

@@ -83,6 +83,12 @@ float3 GetObjectSize(MaterialInput input)
return float3(1, 1, 1); return float3(1, 1, 1);
} }
// Gets the current object scale (supports instancing)
float3 GetObjectScale(MaterialInput input)
{
return float3(1, 1, 1);
}
// Get the current object random value supports instancing) // Get the current object random value supports instancing)
float GetPerInstanceRandom(MaterialInput input) float GetPerInstanceRandom(MaterialInput input)
{ {

View File

@@ -207,6 +207,20 @@ float3 GetObjectSize(MaterialInput input)
return GeometrySize * float3(world._m00, world._m11, world._m22); return GeometrySize * float3(world._m00, world._m11, world._m22);
} }
// Gets the current object scale (supports instancing)
float3 GetObjectScale(MaterialInput input)
{
float4x4 world = WorldMatrix;
// Extract scale from the world matrix
float3 scale;
scale.x = length(float3(world._11, world._12, world._13));
scale.y = length(float3(world._21, world._22, world._23));
scale.z = length(float3(world._31, world._32, world._33));
return scale;
}
// Get the current object random value // Get the current object random value
float GetPerInstanceRandom(MaterialInput input) float GetPerInstanceRandom(MaterialInput input)
{ {
@@ -297,7 +311,7 @@ VertexOutput VS_SplineModel(ModelInput input)
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix); output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
// Pass vertex attributes // Pass vertex attributes
output.Geometry.TexCoord = input.TexCoord; output.Geometry.TexCoord = input.TexCoord0;
#if USE_VERTEX_COLOR #if USE_VERTEX_COLOR
output.Geometry.VertexColor = input.Color; output.Geometry.VertexColor = input.Color;
#endif #endif
@@ -323,6 +337,7 @@ VertexOutput VS_SplineModel(ModelInput input)
// Apply world position offset per-vertex // Apply world position offset per-vertex
#if USE_POSITION_OFFSET #if USE_POSITION_OFFSET
output.Geometry.WorldPosition += material.PositionOffset; output.Geometry.WorldPosition += material.PositionOffset;
output.Geometry.PrevWorldPosition += material.PositionOffset;
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix); output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
#endif #endif

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// Deferred Shading: Defines @0// Deferred Shading: Defines
@1// Deferred Shading: Includes @1// Deferred Shading: Includes

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// Distortion: Defines @0// Distortion: Defines
@1// Distortion: Includes @1// Distortion: Includes

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// Forward Shading: Defines @0// Forward Shading: Defines
#define MAX_LOCAL_LIGHTS 4 #define MAX_LOCAL_LIGHTS 4
@@ -28,6 +28,13 @@ TextureCube SkyLightTexture : register(t__SRV__);
Buffer<float4> ShadowsBuffer : register(t__SRV__); Buffer<float4> ShadowsBuffer : register(t__SRV__);
Texture2D<float> ShadowMap : register(t__SRV__); Texture2D<float> ShadowMap : register(t__SRV__);
@4// Forward Shading: Utilities @4// Forward Shading: Utilities
// Public accessors for lighting data, use them as data binding might change but those methods will remain.
LightData GetDirectionalLight() { return DirectionalLight; }
LightData GetSkyLight() { return SkyLight; }
ProbeData GetEnvironmentProbe() { return EnvironmentProbe; }
ExponentialHeightFogData GetExponentialHeightFog() { return ExponentialHeightFog; }
uint GetLocalLightsCount() { return LocalLightsCount; }
LightData GetLocalLight(uint i) { return LocalLights[i]; }
@5// Forward Shading: Shaders @5// Forward Shading: Shaders
// Pixel Shader function for Forward Pass // Pixel Shader function for Forward Pass
@@ -76,9 +83,8 @@ void PS_Forward(
gBuffer.ShadingModel = MATERIAL_SHADING_MODEL; gBuffer.ShadingModel = MATERIAL_SHADING_MODEL;
// Calculate lighting from a single directional light // Calculate lighting from a single directional light
float4 shadowMask = 1.0f;
ShadowSample shadow = SampleDirectionalLightShadow(DirectionalLight, ShadowsBuffer, ShadowMap, gBuffer); ShadowSample shadow = SampleDirectionalLightShadow(DirectionalLight, ShadowsBuffer, ShadowMap, gBuffer);
shadowMask = GetShadowMask(shadow); float4 shadowMask = GetShadowMask(shadow);
float4 light = GetLighting(ViewPos, DirectionalLight, gBuffer, shadowMask, false, false); float4 light = GetLighting(ViewPos, DirectionalLight, gBuffer, shadowMask, false, false);
// Calculate lighting from sky light // Calculate lighting from sky light
@@ -143,9 +149,9 @@ void PS_Forward(
#endif #endif
#if USE_FOG #if USE_FOG && MATERIAL_SHADING_MODEL != SHADING_MODEL_UNLIT
// Calculate exponential height fog // Calculate exponential height fog
float4 fog = GetExponentialHeightFog(ExponentialHeightFog, materialInput.WorldPosition, ViewPos, 0); float4 fog = GetExponentialHeightFog(ExponentialHeightFog, materialInput.WorldPosition, ViewPos, 0, gBuffer.ViewPos.z);
// Apply fog to the output color // Apply fog to the output color
#if MATERIAL_BLEND == MATERIAL_BLEND_OPAQUE #if MATERIAL_BLEND == MATERIAL_BLEND_OPAQUE

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// Global Illumination: Defines @0// Global Illumination: Defines
#define USE_GI 1 #define USE_GI 1

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// Lightmap: Defines @0// Lightmap: Defines
#define CAN_USE_LIGHTMAP 1 #define CAN_USE_LIGHTMAP 1

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// Motion Vectors: Defines @0// Motion Vectors: Defines
@1// Motion Vectors: Includes @1// Motion Vectors: Includes

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// SDF Reflections: Defines @0// SDF Reflections: Defines
#define USE_GLOBAL_SURFACE_ATLAS 1 #define USE_GLOBAL_SURFACE_ATLAS 1

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. // Copyright (c) Wojciech Figat. All rights reserved.
@0// Tessellation: Defines @0// Tessellation: Defines
#define TessalationProjectOntoPlane(planeNormal, planePosition, pointToProject) pointToProject - dot(pointToProject - planePosition, planeNormal) * planeNormal #define TessalationProjectOntoPlane(planeNormal, planePosition, pointToProject) pointToProject - dot(pointToProject - planePosition, planeNormal) * planeNormal

View File

@@ -140,7 +140,7 @@ void SetParticleVec4(uint particleIndex, int offset, float4 value)
bool AddParticle(out uint dstIndex) bool AddParticle(out uint dstIndex)
{ {
// Acquire the particle index in the destination buffer // Acquire the particle index in the destination buffer
DstParticlesData.InterlockedAdd(ParticleCounterOffset, 1, dstIndex); DstParticlesData.InterlockedAdd(ParticleCounterOffset, 1u, dstIndex);
// Prevent overflow // Prevent overflow
return dstIndex >= PARTICLE_CAPACITY; return dstIndex >= PARTICLE_CAPACITY;

View File

@@ -163,6 +163,12 @@ float3 GetObjectSize(MaterialInput input)
return float3(1, 1, 1); return float3(1, 1, 1);
} }
// Gets the current object scale (supports instancing)
float3 GetObjectScale(MaterialInput input)
{
return float3(1, 1, 1);
}
// Get the current object random value supports instancing) // Get the current object random value supports instancing)
float GetPerInstanceRandom(MaterialInput input) float GetPerInstanceRandom(MaterialInput input)
{ {

View File

@@ -299,24 +299,22 @@ half3x3 CalcTangentToLocal(ModelInput input)
float3 normal = input.Normal.xyz * 2.0 - 1.0; float3 normal = input.Normal.xyz * 2.0 - 1.0;
float3 tangent = input.Tangent.xyz * 2.0 - 1.0; float3 tangent = input.Tangent.xyz * 2.0 - 1.0;
float3 bitangent = cross(normal, tangent) * bitangentSign; float3 bitangent = cross(normal, tangent) * bitangentSign;
return float3x3(tangent, bitangent, normal); return (half3x3)float3x3(tangent, bitangent, normal);
} }
half3x3 CalcTangentToWorld(in float4x4 world, in half3x3 tangentToLocal) half3x3 CalcTangentToWorld(in float4x4 world, in half3x3 tangentToLocal)
{ {
half3x3 localToWorld = RemoveScaleFromLocalToWorld((float3x3)world); half3x3 localToWorld = (half3x3)RemoveScaleFromLocalToWorld((float3x3)world);
return mul(tangentToLocal, localToWorld); return mul(tangentToLocal, localToWorld);
} }
float3 GetParticlePosition(uint ParticleIndex) float3 GetParticlePosition(uint particleIndex)
{ {
return TransformParticlePosition(GetParticleVec3(ParticleIndex, PositionOffset)); return TransformParticlePosition(GetParticleVec3(particleIndex, PositionOffset));
} }
// Vertex Shader function for Sprite Rendering // Vertex Shader function for Sprite Rendering
META_VS(true, FEATURE_LEVEL_ES2) META_VS(true, FEATURE_LEVEL_ES2)
META_VS_IN_ELEMENT(POSITION, 0, R32G32_FLOAT, 0, 0, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 0, R32G32_FLOAT, 0, ALIGN, PER_VERTEX, 0, true)
VertexOutput VS_Sprite(SpriteInput input, uint particleIndex : SV_InstanceID) VertexOutput VS_Sprite(SpriteInput input, uint particleIndex : SV_InstanceID)
{ {
VertexOutput output; VertexOutput output;
@@ -407,7 +405,7 @@ VertexOutput VS_Sprite(SpriteInput input, uint particleIndex : SV_InstanceID)
output.InstanceParams = PerInstanceRandom; output.InstanceParams = PerInstanceRandom;
// Calculate tanget space to world space transformation matrix for unit vectors // Calculate tanget space to world space transformation matrix for unit vectors
half3x3 tangentToLocal = float3x3(axisX, axisY, axisZ); half3x3 tangentToLocal = half3x3(axisX, axisY, axisZ);
half3x3 tangentToWorld = CalcTangentToWorld(world, tangentToLocal); half3x3 tangentToWorld = CalcTangentToWorld(world, tangentToLocal);
output.TBN = tangentToWorld; output.TBN = tangentToWorld;
@@ -516,7 +514,7 @@ VertexOutput VS_Model(ModelInput input, uint particleIndex : SV_InstanceID)
output.Position = mul(float4(output.WorldPosition, 1), ViewProjectionMatrix); output.Position = mul(float4(output.WorldPosition, 1), ViewProjectionMatrix);
// Pass vertex attributes // Pass vertex attributes
output.TexCoord = input.TexCoord; output.TexCoord = input.TexCoord0;
output.ParticleIndex = particleIndex; output.ParticleIndex = particleIndex;
#if USE_VERTEX_COLOR #if USE_VERTEX_COLOR
output.VertexColor = input.Color; output.VertexColor = input.Color;
@@ -612,7 +610,7 @@ VertexOutput VS_Ribbon(RibbonInput input, uint vertexIndex : SV_VertexID)
{ {
output.TexCoord.x = (float)input.Order / (float)RibbonSegmentCount; output.TexCoord.x = (float)input.Order / (float)RibbonSegmentCount;
} }
output.TexCoord.y = (vertexIndex + 1) & 0x1; output.TexCoord.y = (float)((vertexIndex + 1) & 0x1);
output.TexCoord = output.TexCoord * RibbonUVScale + RibbonUVOffset; output.TexCoord = output.TexCoord * RibbonUVScale + RibbonUVOffset;
// Compute world space vertex position // Compute world space vertex position
@@ -631,7 +629,7 @@ VertexOutput VS_Ribbon(RibbonInput input, uint vertexIndex : SV_VertexID)
output.InstanceParams = PerInstanceRandom; output.InstanceParams = PerInstanceRandom;
// Calculate tanget space to world space transformation matrix for unit vectors // Calculate tanget space to world space transformation matrix for unit vectors
half3x3 tangentToLocal = float3x3(tangentRight, tangentUp, cross(tangentRight, tangentUp)); half3x3 tangentToLocal = half3x3(tangentRight, tangentUp, cross(tangentRight, tangentUp));
half3x3 tangentToWorld = CalcTangentToWorld(world, tangentToLocal); half3x3 tangentToWorld = CalcTangentToWorld(world, tangentToLocal);
output.TBN = tangentToWorld; output.TBN = tangentToWorld;

View File

@@ -2,6 +2,7 @@
// Version: @0 // Version: @0
#define MATERIAL 1 #define MATERIAL 1
#define MATERIAL_TEXCOORDS 4
#define USE_PER_VIEW_CONSTANTS 1 #define USE_PER_VIEW_CONSTANTS 1
#define USE_PER_DRAW_CONSTANTS 1 #define USE_PER_DRAW_CONSTANTS 1
@3 @3
@@ -24,21 +25,29 @@ Buffer<float4> BoneMatrices : register(t1);
Buffer<float4> PrevBoneMatrices : register(t2); Buffer<float4> PrevBoneMatrices : register(t2);
#endif #endif
#endif #endif
// Geometry data passed though the graphics rendering stages up to the pixel shader // Geometry data passed though the graphics rendering stages up to the pixel shader
struct GeometryData struct GeometryData
{ {
float3 WorldPosition : TEXCOORD0; float3 WorldPosition : TEXCOORD0;
float2 TexCoord : TEXCOORD1; float4 TexCoords01 : TEXCOORD1;
float2 LightmapUV : TEXCOORD2; float4 TexCoords23 : TEXCOORD2;
float2 LightmapUV : TEXCOORD3;
#if USE_VERTEX_COLOR #if USE_VERTEX_COLOR
half4 VertexColor : COLOR; half4 VertexColor : COLOR;
#endif #endif
float3 WorldNormal : TEXCOORD3; float3 WorldNormal : TEXCOORD4;
float4 WorldTangent : TEXCOORD4; float4 WorldTangent : TEXCOORD5;
float3 PrevWorldPosition : TEXCOORD7; float3 PrevWorldPosition : TEXCOORD7;
nointerpolation uint ObjectIndex : TEXCOORD8; nointerpolation uint ObjectIndex : TEXCOORD8;
}; };
float3 DecodeNormal(float4 normalMap)
{
float2 xy = normalMap.rg * 2.0 - 1.0;
return float3(xy, sqrt(1.0 - saturate(dot(xy, xy))));
}
// Interpolants passed from the vertex shader // Interpolants passed from the vertex shader
struct VertexOutput struct VertexOutput
{ {
@@ -68,7 +77,7 @@ struct MaterialInput
{ {
float3 WorldPosition; float3 WorldPosition;
float TwoSidedSign; float TwoSidedSign;
float2 TexCoord; float2 TexCoords[MATERIAL_TEXCOORDS];
#if USE_LIGHTMAP #if USE_LIGHTMAP
float2 LightmapUV; float2 LightmapUV;
#endif #endif
@@ -86,12 +95,18 @@ struct MaterialInput
#endif #endif
}; };
// Map access to the main texure coordinate channel as UV0
#define TexCoord TexCoords[0]
// Extracts geometry data to the material input // Extracts geometry data to the material input
MaterialInput GetGeometryMaterialInput(GeometryData geometry) MaterialInput GetGeometryMaterialInput(GeometryData geometry)
{ {
MaterialInput output = (MaterialInput)0; MaterialInput output = (MaterialInput)0;
output.WorldPosition = geometry.WorldPosition; output.WorldPosition = geometry.WorldPosition;
output.TexCoord = geometry.TexCoord; output.TexCoords[0] = geometry.TexCoords01.xy;
output.TexCoords[1] = geometry.TexCoords01.zw;
output.TexCoords[2] = geometry.TexCoords23.xy;
output.TexCoords[3] = geometry.TexCoords23.zw;
#if USE_LIGHTMAP #if USE_LIGHTMAP
output.LightmapUV = geometry.LightmapUV; output.LightmapUV = geometry.LightmapUV;
#endif #endif
@@ -126,8 +141,8 @@ MaterialInput GetGeometryMaterialInput(GeometryData geometry)
GeometryData InterpolateGeometry(GeometryData p0, float w0, GeometryData p1, float w1, GeometryData p2, float w2) GeometryData InterpolateGeometry(GeometryData p0, float w0, GeometryData p1, float w1, GeometryData p2, float w2)
{ {
GeometryData output = (GeometryData)0; GeometryData output = (GeometryData)0;
output.TexCoord = p0.TexCoord * w0 + p1.TexCoord * w1 + p2.TexCoord * w2; output.TexCoords01 = p0.TexCoords01 * w0 + p1.TexCoords01 * w1 + p2.TexCoords01 * w2;
output.LightmapUV = p0.LightmapUV * w0 + p1.LightmapUV * w1 + p2.LightmapUV * w2; output.TexCoords23 = p0.TexCoords23 * w0 + p1.TexCoords23 * w1 + p2.TexCoords23 * w2;
#if USE_VERTEX_COLOR #if USE_VERTEX_COLOR
output.VertexColor = p0.VertexColor * w0 + p1.VertexColor * w1 + p2.VertexColor * w2; output.VertexColor = p0.VertexColor * w0 + p1.VertexColor * w1 + p2.VertexColor * w2;
#endif #endif
@@ -223,6 +238,24 @@ float3 GetObjectSize(MaterialInput input)
return input.Object.GeometrySize * float3(world._m00, world._m11, world._m22); return input.Object.GeometrySize * float3(world._m00, world._m11, world._m22);
} }
// Gets the current object scale (supports instancing)
float3 GetObjectScale(MaterialInput input)
{
float4x4 world = input.Object.WorldMatrix;
// Get the squares of the scale factors
float scaleXSquared = dot(world[0].xyz, world[0].xyz);
float scaleYSquared = dot(world[1].xyz, world[1].xyz);
float scaleZSquared = dot(world[2].xyz, world[2].xyz);
// Take square root to get actual scales
return float3(
sqrt(scaleXSquared),
sqrt(scaleYSquared),
sqrt(scaleZSquared)
);
}
// Get the current object random value (supports instancing) // Get the current object random value (supports instancing)
float GetPerInstanceRandom(MaterialInput input) float GetPerInstanceRandom(MaterialInput input)
{ {
@@ -312,14 +345,15 @@ VertexOutput VS(ModelInput input)
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix); output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
// Pass vertex attributes // Pass vertex attributes
output.Geometry.TexCoord = input.TexCoord; output.Geometry.TexCoords01 = float4(input.TexCoord0, input.TexCoord1);
output.Geometry.TexCoords23 = float4(input.TexCoord2, input.TexCoord3);
#if USE_VERTEX_COLOR #if USE_VERTEX_COLOR
output.Geometry.VertexColor = input.Color; output.Geometry.VertexColor = input.Color;
#endif #endif
#if CAN_USE_LIGHTMAP #if CAN_USE_LIGHTMAP
output.Geometry.LightmapUV = input.LightmapUV * object.LightmapArea.zw + object.LightmapArea.xy; output.Geometry.LightmapUV = input.LightmapUV * object.LightmapArea.zw + object.LightmapArea.xy;
#else #else
output.Geometry.LightmapUV = input.LightmapUV; output.Geometry.LightmapUV = float2(0, 0);
#endif #endif
// Calculate tanget space to world space transformation matrix for unit vectors // Calculate tanget space to world space transformation matrix for unit vectors
@@ -343,6 +377,7 @@ VertexOutput VS(ModelInput input)
// Apply world position offset per-vertex // Apply world position offset per-vertex
#if USE_POSITION_OFFSET #if USE_POSITION_OFFSET
output.Geometry.WorldPosition += material.PositionOffset; output.Geometry.WorldPosition += material.PositionOffset;
output.Geometry.PrevWorldPosition += material.PositionOffset;
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix); output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
#endif #endif
@@ -459,7 +494,7 @@ META_VS_IN_ELEMENT(TEXCOORD, 0, R16G16_FLOAT, 0, ALIGN, PER_VERTEX, 0,
META_VS_IN_ELEMENT(NORMAL, 0, R10G10B10A2_UNORM, 0, ALIGN, PER_VERTEX, 0, true) META_VS_IN_ELEMENT(NORMAL, 0, R10G10B10A2_UNORM, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TANGENT, 0, R10G10B10A2_UNORM, 0, ALIGN, PER_VERTEX, 0, true) META_VS_IN_ELEMENT(TANGENT, 0, R10G10B10A2_UNORM, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(BLENDINDICES, 0, R8G8B8A8_UINT, 0, ALIGN, PER_VERTEX, 0, true) META_VS_IN_ELEMENT(BLENDINDICES, 0, R8G8B8A8_UINT, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(BLENDWEIGHT, 0, R16G16B16A16_FLOAT,0, ALIGN, PER_VERTEX, 0, true) META_VS_IN_ELEMENT(BLENDWEIGHTS, 0, R16G16B16A16_FLOAT,0, ALIGN, PER_VERTEX, 0, true)
VertexOutput VS_Skinned(ModelInput_Skinned input) VertexOutput VS_Skinned(ModelInput_Skinned input)
{ {
VertexOutput output; VertexOutput output;
@@ -486,9 +521,10 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix); output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
// Pass vertex attributes // Pass vertex attributes
output.Geometry.TexCoord = input.TexCoord; output.Geometry.TexCoords01 = float4(input.TexCoord0, input.TexCoord1);
output.Geometry.TexCoords23 = float4(input.TexCoord2, input.TexCoord3);
#if USE_VERTEX_COLOR #if USE_VERTEX_COLOR
output.Geometry.VertexColor = float4(0, 0, 0, 1); output.Geometry.VertexColor = input.Color;
#endif #endif
output.Geometry.LightmapUV = float2(0, 0); output.Geometry.LightmapUV = float2(0, 0);
@@ -512,6 +548,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
// Apply world position offset per-vertex // Apply world position offset per-vertex
#if USE_POSITION_OFFSET #if USE_POSITION_OFFSET
output.Geometry.WorldPosition += material.PositionOffset; output.Geometry.WorldPosition += material.PositionOffset;
output.Geometry.PrevWorldPosition += material.PositionOffset;
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix); output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
#endif #endif

View File

@@ -15,6 +15,7 @@
#include "./Flax/Common.hlsl" #include "./Flax/Common.hlsl"
#include "./Flax/MaterialCommon.hlsl" #include "./Flax/MaterialCommon.hlsl"
#include "./Flax/GBufferCommon.hlsl" #include "./Flax/GBufferCommon.hlsl"
#include "./Flax/TerrainCommon.hlsl"
@7 @7
// Primary constant buffer (with additional material parameters) // Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data) META_CB_BEGIN(0, Data)
@@ -236,6 +237,12 @@ float3 GetObjectSize(MaterialInput input)
return float3(1, 1, 1); return float3(1, 1, 1);
} }
// Gets the current object scale (supports instancing)
float3 GetObjectScale(MaterialInput input)
{
return float3(1, 1, 1);
}
// Get the current object random value // Get the current object random value
float GetPerInstanceRandom(MaterialInput input) float GetPerInstanceRandom(MaterialInput input)
{ {
@@ -319,8 +326,6 @@ struct TerrainVertexInput
// Vertex Shader function for terrain rendering // Vertex Shader function for terrain rendering
META_VS(true, FEATURE_LEVEL_ES2) META_VS(true, FEATURE_LEVEL_ES2)
META_VS_IN_ELEMENT(TEXCOORD, 0, R32G32_FLOAT, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 1, R8G8B8A8_UNORM, 0, ALIGN, PER_VERTEX, 0, true)
VertexOutput VS(TerrainVertexInput input) VertexOutput VS(TerrainVertexInput input)
{ {
VertexOutput output; VertexOutput output;
@@ -330,7 +335,7 @@ VertexOutput VS(TerrainVertexInput input)
float lodValue = CurrentLOD; float lodValue = CurrentLOD;
float morphAlpha = lodCalculated - CurrentLOD; float morphAlpha = lodCalculated - CurrentLOD;
// Sample heightmap // Sample heightmap and splatmaps
float2 heightmapUVs = input.TexCoord * HeightmapUVScaleBias.xy + HeightmapUVScaleBias.zw; float2 heightmapUVs = input.TexCoord * HeightmapUVScaleBias.xy + HeightmapUVScaleBias.zw;
#if USE_SMOOTH_LOD_TRANSITION #if USE_SMOOTH_LOD_TRANSITION
float4 heightmapValueThisLOD = Heightmap.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue); float4 heightmapValueThisLOD = Heightmap.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue);
@@ -338,7 +343,6 @@ VertexOutput VS(TerrainVertexInput input)
float2 heightmapUVsNextLOD = nextLODPos * HeightmapUVScaleBias.xy + HeightmapUVScaleBias.zw; float2 heightmapUVsNextLOD = nextLODPos * HeightmapUVScaleBias.xy + HeightmapUVScaleBias.zw;
float4 heightmapValueNextLOD = Heightmap.SampleLevel(SamplerPointClamp, heightmapUVsNextLOD, lodValue + 1); float4 heightmapValueNextLOD = Heightmap.SampleLevel(SamplerPointClamp, heightmapUVsNextLOD, lodValue + 1);
float4 heightmapValue = lerp(heightmapValueThisLOD, heightmapValueNextLOD, morphAlpha); float4 heightmapValue = lerp(heightmapValueThisLOD, heightmapValueNextLOD, morphAlpha);
bool isHole = max(heightmapValueThisLOD.b + heightmapValueThisLOD.a, heightmapValueNextLOD.b + heightmapValueNextLOD.a) >= 1.9f;
#if USE_TERRAIN_LAYERS #if USE_TERRAIN_LAYERS
float4 splatmapValueThisLOD = Splatmap0.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue); float4 splatmapValueThisLOD = Splatmap0.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue);
float4 splatmapValueNextLOD = Splatmap0.SampleLevel(SamplerPointClamp, heightmapUVsNextLOD, lodValue + 1); float4 splatmapValueNextLOD = Splatmap0.SampleLevel(SamplerPointClamp, heightmapUVsNextLOD, lodValue + 1);
@@ -351,7 +355,6 @@ VertexOutput VS(TerrainVertexInput input)
#endif #endif
#else #else
float4 heightmapValue = Heightmap.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue); float4 heightmapValue = Heightmap.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue);
bool isHole = (heightmapValue.b + heightmapValue.a) >= 1.9f;
#if USE_TERRAIN_LAYERS #if USE_TERRAIN_LAYERS
float4 splatmap0Value = Splatmap0.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue); float4 splatmap0Value = Splatmap0.SampleLevel(SamplerPointClamp, heightmapUVs, lodValue);
#if TERRAIN_LAYERS_DATA_SIZE > 1 #if TERRAIN_LAYERS_DATA_SIZE > 1
@@ -359,12 +362,11 @@ VertexOutput VS(TerrainVertexInput input)
#endif #endif
#endif #endif
#endif #endif
float height = (float)((int)(heightmapValue.x * 255.0) + ((int)(heightmapValue.y * 255) << 8)) / 65535.0; float height = DecodeHeightmapHeight(heightmapValue);
// Extract normal and the holes mask // Extract normal and the holes mask
float2 normalTemp = float2(heightmapValue.b, heightmapValue.a) * 2.0f - 1.0f; bool isHole;
float3 normal = float3(normalTemp.x, sqrt(1.0 - saturate(dot(normalTemp, normalTemp))), normalTemp.y); float3 normal = DecodeHeightmapNormal(heightmapValue, isHole);
normal = normalize(normal);
output.Geometry.HolesMask = isHole ? 0 : 1; output.Geometry.HolesMask = isHole ? 0 : 1;
if (isHole) if (isHole)
{ {

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/Primitives/Capsule.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Primitives/Cone.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Primitives/Cube.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Primitives/Cylinder.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Primitives/Plane.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Primitives/Sphere.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/SpriteMaterial.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Editor/TexturePreviewMaterial.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Editor/Wires Debug Material.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Engine/DefaultMaterial.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/DefaultRadialMenu.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/DefaultTerrainMaterial.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/Models/Box.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/Models/Quad.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/Models/SimpleBox.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/Models/Sphere.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/Models/SphereLowPoly.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/SingleColorMaterial.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/SkyboxMaterial.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Engine/WhiteMaterial.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/AtmospherePreCompute.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/BakeLightmap.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/BitonicSort.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/CAS.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/ColorGrading.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/DebugDraw.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/DepthOfField.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/Editor/Grid.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Shaders/Editor/QuadOverdraw.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/Editor/VertexColors.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/EyeAdaptation.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/FXAA.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/Fog.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/Forward.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/GBuffer.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/GI/DDGI.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/GI/GlobalSurfaceAtlas.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/GPUParticlesSorting.flax (Stored with Git LFS)

Binary file not shown.

BIN
Content/Shaders/GUI.flax (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Shaders/Histogram.flax (Stored with Git LFS)

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More