735 Commits

Author SHA1 Message Date
d5f64dcbaa some mac changes?
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:16:53 +03:00
ef83dd5377 Fix logging in gamepad related events 2025-04-26 00:33:07 +03:00
bc241afc09 Fix unlock mouse hotkey not unlocking CursorLockMode.Locked cursor 2025-04-26 00:31:39 +03:00
1357d882cd Fix EditorViewport buttons activating items on scene 2025-04-26 00:31:39 +03:00
fd0617f3ae Cleanup 2025-04-26 00:31:38 +03:00
61cadd0fdf Implement Wayland text clipboard data handling 2025-04-26 00:31:38 +03:00
9552103c58 Add support for VK_EXT_metal_surface extension 2025-04-26 00:31:38 +03:00
51132b1bd4 Update volk to 1.4.304 2025-04-26 00:31:37 +03:00
02f446ccfd Fix mouse relative mode activation triggering mouse move events on Mac 2025-04-26 00:31:37 +03:00
26012d0b74 Initial support for building and running SDL platform on macOS 2025-04-26 00:31:37 +03:00
ef8f6b8d47 Fix VC++ project file building on macOS Rider 2025-04-26 00:31:36 +03:00
43968c1a5e Reduce lock usage during window events 2025-04-26 00:31:36 +03:00
3b8c7f0d8d Fix handling of WindowsManager locks 2025-04-26 00:31:36 +03:00
a2414f596a Handle Wayland dragging actions ending prematurely 2025-04-26 00:31:35 +03:00
e6f90898cb Fix editor viewport activating while dragging a window 2025-04-26 00:31:35 +03:00
018282bc33 Fix occluded or hidden windows causing the engine to freeze on Wayland 2025-04-26 00:31:35 +03:00
7dfd7de0b7 Allow context menu to show when activating scene tree with right click 2025-04-26 00:31:34 +03:00
04e6943b2d Fix crash when relative mode was left active on removed window 2025-04-26 00:31:34 +03:00
6a26441567 Ensure mouse position is up-to-date during button down events 2025-04-26 00:31:34 +03:00
0f1d4c9f59 Fix rubber band selector activating outside of the viewport
This usually happens while trying to drag the window from window handle
2025-04-26 00:31:33 +03:00
16f06b5848 Use sensible window minimum size limits in editor windows 2025-04-26 00:31:33 +03:00
2a2652302f Fix build on Linux 2025-04-26 00:31:33 +03:00
da3b60b606 Fix merge 2025-04-26 00:31:33 +03:00
ebca32e6d1 Apply drag and drop styling on refactored WindowDragHelper
Reapplies changes from commit 38b00f458c
2025-04-26 00:31:32 +03:00
74c8c6c9c7 Fix cursor escaping constrained area when initially outside on Windows 2025-04-26 00:31:32 +03:00
4f8a73b830 Refix dragged maximized window generating wrong mouse position events 2025-04-26 00:31:32 +03:00
ff4122a96c Focus viewports earlier to fix CursorLockMode not always activating 2025-04-26 00:31:31 +03:00
33326d1c57 Fix documentation generation 2025-04-26 00:31:31 +03:00
6efb46fbbc Fix cursor locking bounds calculation 2025-04-26 00:31:31 +03:00
e681dcfc2d Fix crash when Game viewport was hidden 2025-04-26 00:31:30 +03:00
8ba4725226 Fix X11 external drag and drop not releasing consistently 2025-04-26 00:31:30 +03:00
c1f76abc22 Fix restoring locked cursor state when window gains focus again 2025-04-26 00:31:30 +03:00
d355f9eff5 Fix CursorLockMode.Locked not working 2025-04-26 00:31:29 +03:00
a8f93beeb8 Fix dragged maximized window generating wrong mouse position events 2025-04-26 00:31:29 +03:00
d6cb587d1d Fix window handle clicking to not restore window from maximized state 2025-04-26 00:31:29 +03:00
1702ab0e31 Fix rubber band selector activating when using Alt-key to orbit 2025-04-26 00:31:28 +03:00
43a83a9ec9 Fix error when entering playmode while holding right mouse button 2025-04-26 00:31:28 +03:00
f8f846c2bb Fix accepting drag and drop for files in Wayland 2025-04-26 00:31:28 +03:00
de1a93f3ff Fix error while dragging files around Content window 2025-04-26 00:31:27 +03:00
765319ee25 Release rubber band selection when viewport starts controlling the view 2025-04-26 00:31:27 +03:00
3730176783 Update SDL to 3.2.10 2025-04-26 00:31:27 +03:00
f96a5623e4 Avoid showing tooltips in inactive windows 2025-04-26 00:31:27 +03:00
f57759b250 Update SDL3 to 3.2.4 2025-04-26 00:31:26 +03:00
50531cd6f0 Fix window dragging when not supported by Wayland compositor
(cherry picked from commit 3554747a67)
2025-04-26 00:31:26 +03:00
bdaa98c8ca Show current display server in Editor window tooltip
(cherry picked from commit 62968dd437)
2025-04-26 00:31:26 +03:00
ed89597f5c Properly mark floating windows with transparency support
(cherry picked from commit c660fac524)
2025-04-26 00:31:25 +03:00
438f3f034a Enable transparency support in Vulkan swapchains
(cherry picked from commit 431a69e357)
2025-04-26 00:31:25 +03:00
6409d6f48e Fix compilation for game builds
(cherry picked from commit f4fcc07288)
2025-04-26 00:31:25 +03:00
67769d3950 Fix cloning SDL repository 2025-04-26 00:31:24 +03:00
e236c9a1a4 Fix text input not working on X11 2025-04-26 00:31:24 +03:00
3cbc0522b4 Fix button latching on Windows after drag and drop operation 2025-04-26 00:31:24 +03:00
3646c5a06a Implement new window dragging system 2025-04-26 00:31:23 +03:00
14a90d32c2 Fix mouse resetting issues after ending relative mode 2025-04-26 00:31:23 +03:00
709a7b0495 Fix frame stutter when window is focused 2025-04-26 00:31:23 +03:00
89c39b1fb7 Fix error when docking to sides of tabbed panel 2025-04-26 00:31:22 +03:00
364927c363 Cleanup Linux SDL implementation 2025-04-26 00:31:22 +03:00
294b36a275 Support compiling third party library C files as C code 2025-04-26 00:31:22 +03:00
fdba9aa096 Implement Wayland protocols module and file generation 2025-04-26 00:31:21 +03:00
ed83eab112 Fix mouse warping after ending relative mode 2025-04-26 00:31:21 +03:00
fd163d2146 Add git fetch method for dependencies 2025-04-26 00:31:21 +03:00
e9dfd1a54d Fix window ShowInTaskbar setting 2025-04-26 00:31:20 +03:00
e3b242f2ba Fix various issues with child window positioning 2025-04-26 00:31:20 +03:00
ebe09403f5 Add Window.IsAlwaysOnTop property 2025-04-26 00:31:20 +03:00
b56edeb956 Use SDL locale 2025-04-26 00:31:19 +03:00
006d261d6c Allow window with single tab to be dragged from tab area 2025-04-26 00:31:19 +03:00
db8de18d58 Fix ValueBox mouse position resetting after releasing the button 2025-04-26 00:31:19 +03:00
1c3b81093c Fix SDL build process on Linux 2025-04-26 00:31:18 +03:00
e5290c8dee Update SDL to 3.2.0 2025-04-26 00:31:18 +03:00
2b169b6aa7 Force cursor to center of Game Window when tab handle is clicked 2025-04-26 00:31:18 +03:00
Chandler Cox
185e6f663c Fix rotation using SDL 2025-04-26 00:31:17 +03:00
0de4528168 Fix Linux compilation without SDL 2025-04-26 00:31:17 +03:00
8d9bb545cf Fix compilation 2025-04-26 00:31:17 +03:00
988a547f72 Update SDL3 2025-04-26 00:31:16 +03:00
4a181f6839 Fix compilation issues 2025-04-26 00:31:16 +03:00
4428083c2f Fix windows not being hidden initially 2025-04-26 00:31:16 +03:00
7288980caa Fix parent window position handling with popup/tooltip windows 2025-04-26 00:31:15 +03:00
8dbd227122 Fix compilation errors in other platforms 2025-04-26 00:31:15 +03:00
b88fa91d82 Fix CI for Linux 2025-04-26 00:31:15 +03:00
86bc79e5db Prevent building with SDL in unsupported platforms 2025-04-26 00:31:14 +03:00
ae77a6e579 Fallback to X11 message box implementation when SDL fails 2025-04-26 00:31:14 +03:00
9bfa652567 Fix popup and context menus not working on Wayland 2025-04-26 00:31:14 +03:00
97557688a6 Hide warnings for unsupported SDL operations on Wayland 2025-04-26 00:31:14 +03:00
c959f3dee6 Log a warning for not implemented Wayland functionality 2025-04-26 00:31:13 +03:00
795afabfb4 Fix compilation in Linux 2025-04-26 00:31:13 +03:00
dd88abe46d Enable warning sound in question dialogs 2025-04-26 00:31:13 +03:00
de0cb8d08e Enable modern Windows dialog boxes 2025-04-26 00:31:12 +03:00
87f2e168f9 Implement relative mouse mode (raw input) for SDL platform 2025-04-26 00:31:12 +03:00
3babc62c5a Add flag for Window types 2025-04-26 00:31:12 +03:00
7c5917b725 Enable native windowing system settings with SDL platform 2025-04-26 00:31:11 +03:00
8fcc3ef607 Add command-line switches to force X11 and Wayland SDL drivers 2025-04-26 00:31:11 +03:00
6310d41ca1 Implement SDL platform, windowing and input handling 2025-04-26 00:31:11 +03:00
6cde5e9376 Refactor application window class name 2025-04-26 00:31:10 +03:00
bb47c638f1 Move Window related enums to separate header file 2025-04-26 00:31:10 +03:00
1de615c517 Refactor Windows drag and drop implementation 2025-04-26 00:31:10 +03:00
b88fc89951 Refactor ScreenUtilities 2025-04-26 00:31:09 +03:00
2e32bb8c4b Add more helper methods for managing Git repos 2025-04-26 00:31:09 +03:00
45ae959aa3 Fix centered window location on X11 2025-04-26 00:31:09 +03:00
8a65384f2a Fix initial position of Tooltips 2025-04-26 00:31:08 +03: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
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
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
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
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
xxSeys1
0d5534c445 decrease grid panel fill slider sensitivity 2025-02-24 17:43:32 +01:00
Chandler Cox
ef8612fb59 Merge branch 'master' into android-emulate 2025-02-20 21:19:32 -06: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
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
xxSeys1
054d06f49e add rmb menu entry to show item in Content Panel 2025-02-15 17:38:03 +01: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
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
0764ff6cb7 Fix C# projects not compiling in VS with native code plugins present 2025-01-31 23:58:23 +02:00
Chandler Cox
45a24a05c5 Add check for if static model has a model. 2025-01-28 16:22:02 -06:00
Chandler Cox
16ed7272a7 Skip not active actors. 2025-01-28 16:05:19 -06:00
Chandler Cox
6461ffbd0d Skip selecting scene actor. 2025-01-28 15:58:18 -06:00
Chandler Cox
abe2482a01 Use mesh collision proxy if available. 2025-01-27 18:28:06 -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
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
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
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
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
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
3016 changed files with 123838 additions and 23274 deletions

View File

@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3
- name: Install dependencies
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
uses: ./.github/actions/vulkan
- name: Setup .NET
@@ -44,7 +44,7 @@ jobs:
uses: actions/checkout@v3
- name: Install dependencies
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
uses: ./.github/actions/vulkan
- name: Setup .NET

View File

@@ -34,7 +34,7 @@ jobs:
dotnet workload --info
- name: Build
run: |
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
- name: Upload
uses: actions/upload-artifact@v4
with:
@@ -67,7 +67,7 @@ jobs:
dotnet workload --info
- name: Build
run: |
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
- name: Upload
uses: actions/upload-artifact@v4
with:
@@ -100,7 +100,7 @@ jobs:
dotnet workload --info
- name: Build
run: |
./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output
./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output -dotnet=8
- name: Upload
uses: actions/upload-artifact@v4
with:
@@ -131,7 +131,7 @@ jobs:
dotnet workload --info
- name: Build
run: |
./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output
./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output -dotnet=8
- name: Upload
uses: actions/upload-artifact@v4
with:
@@ -161,7 +161,7 @@ jobs:
dotnet workload --info
- name: Build
run: |
./PackageEditor.command -arch=ARM64 -platform=Mac -deployOutput=Output
./PackageEditor.command -arch=ARM64 -platform=Mac -deployOutput=Output -dotnet=8
- name: Upload
uses: actions/upload-artifact@v4
with:
@@ -189,7 +189,7 @@ jobs:
dotnet workload --info
- name: Build
run: |
./PackagePlatforms.command -arch=ARM64 -platform=Mac -deployOutput=Output
./PackagePlatforms.command -arch=ARM64 -platform=Mac -deployOutput=Output -dotnet=8
- name: Upload
uses: actions/upload-artifact@v4
with:

View File

@@ -28,7 +28,7 @@ jobs:
git lfs pull
- name: Install dependencies
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
run: |
./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
dotnet msbuild Source\Tools\Flax.Build.Tests\Flax.Build.Tests.csproj /m /t:Restore,Build /p:Configuration=Debug /p:Platform=AnyCPU /nologo
- name: Test
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
.\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
xcopy /y Binaries\Editor\Win64\Development\FlaxEngine.CSharp.dll 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);
}
// Gets the current object scale (supports instancing)
float3 GetObjectScale(MaterialInput input)
{
return float3(1, 1, 1);
}
// Get the current object random value supports instancing)
float GetPerInstanceRandom(MaterialInput input)
{

View File

@@ -207,6 +207,20 @@ float3 GetObjectSize(MaterialInput input)
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
float GetPerInstanceRandom(MaterialInput input)
{
@@ -297,7 +311,7 @@ VertexOutput VS_SplineModel(ModelInput input)
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
// Pass vertex attributes
output.Geometry.TexCoord = input.TexCoord;
output.Geometry.TexCoord = input.TexCoord0;
#if USE_VERTEX_COLOR
output.Geometry.VertexColor = input.Color;
#endif
@@ -323,6 +337,7 @@ VertexOutput VS_SplineModel(ModelInput input)
// Apply world position offset per-vertex
#if USE_POSITION_OFFSET
output.Geometry.WorldPosition += material.PositionOffset;
output.Geometry.PrevWorldPosition += material.PositionOffset;
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
#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
@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
@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
#define MAX_LOCAL_LIGHTS 4

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
#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
#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
@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
#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
#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)
{
// Acquire the particle index in the destination buffer
DstParticlesData.InterlockedAdd(ParticleCounterOffset, 1, dstIndex);
DstParticlesData.InterlockedAdd(ParticleCounterOffset, 1u, dstIndex);
// Prevent overflow
return dstIndex >= PARTICLE_CAPACITY;

View File

@@ -163,6 +163,12 @@ float3 GetObjectSize(MaterialInput input)
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)
float GetPerInstanceRandom(MaterialInput input)
{

View File

@@ -299,24 +299,22 @@ half3x3 CalcTangentToLocal(ModelInput input)
float3 normal = input.Normal.xyz * 2.0 - 1.0;
float3 tangent = input.Tangent.xyz * 2.0 - 1.0;
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 localToWorld = RemoveScaleFromLocalToWorld((float3x3)world);
half3x3 localToWorld = (half3x3)RemoveScaleFromLocalToWorld((float3x3)world);
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
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 output;
@@ -407,7 +405,7 @@ VertexOutput VS_Sprite(SpriteInput input, uint particleIndex : SV_InstanceID)
output.InstanceParams = PerInstanceRandom;
// 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);
output.TBN = tangentToWorld;
@@ -516,7 +514,7 @@ VertexOutput VS_Model(ModelInput input, uint particleIndex : SV_InstanceID)
output.Position = mul(float4(output.WorldPosition, 1), ViewProjectionMatrix);
// Pass vertex attributes
output.TexCoord = input.TexCoord;
output.TexCoord = input.TexCoord0;
output.ParticleIndex = particleIndex;
#if USE_VERTEX_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.y = (vertexIndex + 1) & 0x1;
output.TexCoord.y = (float)((vertexIndex + 1) & 0x1);
output.TexCoord = output.TexCoord * RibbonUVScale + RibbonUVOffset;
// Compute world space vertex position
@@ -631,7 +629,7 @@ VertexOutput VS_Ribbon(RibbonInput input, uint vertexIndex : SV_VertexID)
output.InstanceParams = PerInstanceRandom;
// 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);
output.TBN = tangentToWorld;

View File

@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define MATERIAL_TEXCOORDS 4
#define USE_PER_VIEW_CONSTANTS 1
#define USE_PER_DRAW_CONSTANTS 1
@3
@@ -24,21 +25,29 @@ Buffer<float4> BoneMatrices : register(t1);
Buffer<float4> PrevBoneMatrices : register(t2);
#endif
#endif
// Geometry data passed though the graphics rendering stages up to the pixel shader
struct GeometryData
{
float3 WorldPosition : TEXCOORD0;
float2 TexCoord : TEXCOORD1;
float2 LightmapUV : TEXCOORD2;
float4 TexCoords01 : TEXCOORD1;
float4 TexCoords23 : TEXCOORD2;
float2 LightmapUV : TEXCOORD3;
#if USE_VERTEX_COLOR
half4 VertexColor : COLOR;
#endif
float3 WorldNormal : TEXCOORD3;
float4 WorldTangent : TEXCOORD4;
float3 WorldNormal : TEXCOORD4;
float4 WorldTangent : TEXCOORD5;
float3 PrevWorldPosition : TEXCOORD7;
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
struct VertexOutput
{
@@ -68,7 +77,7 @@ struct MaterialInput
{
float3 WorldPosition;
float TwoSidedSign;
float2 TexCoord;
float2 TexCoords[MATERIAL_TEXCOORDS];
#if USE_LIGHTMAP
float2 LightmapUV;
#endif
@@ -86,12 +95,18 @@ struct MaterialInput
#endif
};
// Map access to the main texure coordinate channel as UV0
#define TexCoord TexCoords[0]
// Extracts geometry data to the material input
MaterialInput GetGeometryMaterialInput(GeometryData geometry)
{
MaterialInput output = (MaterialInput)0;
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
output.LightmapUV = geometry.LightmapUV;
#endif
@@ -126,8 +141,8 @@ MaterialInput GetGeometryMaterialInput(GeometryData geometry)
GeometryData InterpolateGeometry(GeometryData p0, float w0, GeometryData p1, float w1, GeometryData p2, float w2)
{
GeometryData output = (GeometryData)0;
output.TexCoord = p0.TexCoord * w0 + p1.TexCoord * w1 + p2.TexCoord * w2;
output.LightmapUV = p0.LightmapUV * w0 + p1.LightmapUV * w1 + p2.LightmapUV * w2;
output.TexCoords01 = p0.TexCoords01 * w0 + p1.TexCoords01 * w1 + p2.TexCoords01 * w2;
output.TexCoords23 = p0.TexCoords23 * w0 + p1.TexCoords23 * w1 + p2.TexCoords23 * w2;
#if USE_VERTEX_COLOR
output.VertexColor = p0.VertexColor * w0 + p1.VertexColor * w1 + p2.VertexColor * w2;
#endif
@@ -223,6 +238,24 @@ float3 GetObjectSize(MaterialInput input)
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)
float GetPerInstanceRandom(MaterialInput input)
{
@@ -312,14 +345,15 @@ VertexOutput VS(ModelInput input)
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
// 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
output.Geometry.VertexColor = input.Color;
#endif
#if CAN_USE_LIGHTMAP
output.Geometry.LightmapUV = input.LightmapUV * object.LightmapArea.zw + object.LightmapArea.xy;
#else
output.Geometry.LightmapUV = input.LightmapUV;
output.Geometry.LightmapUV = float2(0, 0);
#endif
// 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
#if USE_POSITION_OFFSET
output.Geometry.WorldPosition += material.PositionOffset;
output.Geometry.PrevWorldPosition += material.PositionOffset;
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
#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(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(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 output;
@@ -486,9 +521,10 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
// 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
output.Geometry.VertexColor = float4(0, 0, 0, 1);
output.Geometry.VertexColor = input.Color;
#endif
output.Geometry.LightmapUV = float2(0, 0);
@@ -512,6 +548,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
// Apply world position offset per-vertex
#if USE_POSITION_OFFSET
output.Geometry.WorldPosition += material.PositionOffset;
output.Geometry.PrevWorldPosition += material.PositionOffset;
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
#endif

View File

@@ -236,6 +236,12 @@ float3 GetObjectSize(MaterialInput input)
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
float GetPerInstanceRandom(MaterialInput input)
{
@@ -319,8 +325,6 @@ struct TerrainVertexInput
// Vertex Shader function for terrain rendering
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 output;
@@ -434,6 +438,7 @@ VertexOutput VS(TerrainVertexInput input)
// Apply world position offset per-vertex
#if USE_POSITION_OFFSET
output.Geometry.WorldPosition += material.PositionOffset;
output.Geometry.PrevWorldPosition += material.PositionOffset;
output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix);
#endif

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