Compare commits

...

1577 Commits

Author SHA1 Message Date
mafiesto4 3b797ab1dc Prevent artifacts in Global Surface Atlas when close to its capacity 2023-02-19 17:36:44 +01:00
mafiesto4 b6aa38569f Fix app image exporting to favor CPU data and prevent issues 2023-02-19 14:59:40 +01:00
mafiesto4 55d721f425 Fix typo 2023-02-19 14:40:35 +01:00
mafiesto4 9429be0830 Fix compilation warnings 2023-02-19 14:35:47 +01:00
mafiesto4 0d813aee90 Possible fix for deprecation warning 2023-02-19 13:36:45 +01:00
mafiesto4 5a7f678e4d Add Actor.AddTag utility 2023-02-19 11:25:46 +01:00
mafiesto4 dc04d3dc0b Restore Actor.Tag property as deprecated for backwards compatibility
Regression from a570d6d178
2023-02-19 11:25:37 +01:00
mafiesto4 7a5d84a216 Fix Global SDF objects culling into chunks to correctly match world geometry 2023-02-18 23:15:50 +01:00
mafiesto4 fe97429df8 Minor fix 2023-02-18 22:23:59 +01:00
mafiesto4 e644b65289 Fix potential rare issues with material shader constants containing invalid data 2023-02-18 18:25:40 +01:00
mafiesto4 5911d098d1 Merge branch 'GoaLitiuM-includes_cache_thirdparty' 2023-02-18 17:35:07 +01:00
mafiesto4 8de8f3c1cd Merge branch 'includes_cache_thirdparty' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_thirdparty 2023-02-18 17:16:05 +01:00
mafiesto4 4f9d556a76 Merge branch 'Tryibion-ccm-fix' 2023-02-18 17:15:24 +01:00
mafiesto4 cdde8665c1 Merge branch 'ccm-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-ccm-fix 2023-02-18 17:14:10 +01:00
mafiesto4 ef0f0e24a3 Merge branch 'PrecisionRender-fix-scroll-speed' 2023-02-18 17:05:46 +01:00
mafiesto4 8327866205 Expose ScrollSpeedWheel and ScrollSpeedClick for scroll bar editing
#946
2023-02-18 17:05:41 +01:00
mafiesto4 89d649c049 Merge branch 'fix-scroll-speed' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-fix-scroll-speed 2023-02-18 17:01:39 +01:00
PrecisionRender f0061e07b4 Update scroll speed to feel less sluggish 2023-02-18 09:29:01 -06:00
Tryibion 3ddaa6da1a fix issue of child context menu hiding when de-hovered then re-hovered. Fixed issue of clicking on child cm hiding child. 2023-02-18 07:47:49 -06:00
mafiesto4 ffd5c8fd53 Fix crash on D3D10 2023-02-18 00:09:30 +01:00
GoaLitiuM f77063f615 Include thirdparty files in the includes cache 2023-02-17 23:20:22 +02:00
mafiesto4 d3578380e2 Update build number 2023-02-17 21:47:33 +01:00
mafiesto4 05cb02aa09 Improve #936 for ExternalPopups and preserve odl impl on Windows 2023-02-17 20:44:23 +01:00
mafiesto4 32565becd8 Merge branch 'GoaLitiuM-context_menu_focus_fixes' 2023-02-17 20:27:58 +01:00
mafiesto4 2f97db306a Merge branch 'context_menu_focus_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-context_menu_focus_fixes 2023-02-17 20:27:47 +01:00
mafiesto4 679757942f Fix GPU Buffer Map/Unmap pair to prevent stall if map fails on DX11
#942
2023-02-17 16:28:48 +01:00
mafiesto4 5dc63da4bf Fix crash if texture is missing
#942
2023-02-17 16:19:10 +01:00
mafiesto4 aa1a0ea4a2 Fix Flipbook material node bug when frames X was different than Y 2023-02-17 11:27:41 +01:00
mafiesto4 8b050cf87e Use D3D11_MAP_FLAG_DO_NOT_WAIT only from main thread (worker threads can wait for data)
#942
2023-02-17 11:08:12 +01:00
mafiesto4 660ecc185b Merge branch 'Tryibion-post-fx-fix' 2023-02-17 10:46:36 +01:00
mafiesto4 c91c690e86 Merge branch 'post-fx-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-post-fx-fix 2023-02-17 10:40:37 +01:00
mafiesto4 2338e03554 Fix crash when unbinding from Delegate from other thread during invocation
Caused by `callee` being invalid thus it's better to read function pointer again to ensure that both are valid before calling function.
2023-02-17 10:31:49 +01:00
mafiesto4 ec8df18ee4 Remove not important warning 2023-02-17 02:17:25 +01:00
Tryibion 74bdcf0749 Fix not serializing post FX script fields. 2023-02-16 19:08:24 -06:00
mafiesto4 d5cdbdb808 Fix typo 2ea468d5da 2023-02-17 01:13:23 +01:00
mafiesto4 2ea468d5da Ignore constant error due to missing Game Settings in Editor (log once) 2023-02-17 01:01:32 +01:00
mafiesto4 7dc83b5472 Fix compilation warning 2023-02-16 22:59:31 +01:00
mafiesto4 4b08cd3fd7 Fix compilation warning 2023-02-16 20:08:53 +01:00
mafiesto4 4af2b9e2a6 Fix compilation 2023-02-16 19:46:13 +01:00
mafiesto4 611d2d2745 Merge branch 'W2Wizard-NewGizmo' 2023-02-16 15:23:51 +01:00
W2.Wizard f8aa1cd5f8 Updated transform Gizmos #340 2023-02-16 15:23:18 +01:00
mafiesto4 969053a240 Add JsonAsset.Save to fix saving new tag
#885
2023-02-16 14:32:52 +01:00
mafiesto4 123b7f5433 Fix Mesh data downloading to support not yet streamed vertex/index data gather
#932
2023-02-16 13:47:43 +01:00
mafiesto4 067b8144ad Merge branch 'GoaLitiuM-rider_vcpp_fix' 2023-02-16 10:42:29 +01:00
mafiesto4 51604302e2 Merge branch 'rider_vcpp_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rider_vcpp_fix 2023-02-16 10:42:23 +01:00
GoaLitiuM df000bc99e Fix linking against C#-only modules
(cherry picked from commit 7ccc0b83ff)
2023-02-16 10:24:07 +01:00
mafiesto4 ac368863aa Merge branch 'GoaLitiuM-linux_linker_changes' 2023-02-15 15:44:46 +01:00
mafiesto4 8695ba6fdb Merge branch 'linux_linker_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_linker_changes 2023-02-15 15:39:56 +01:00
mafiesto4 4fb336bc9e Add thread object usage docs #917 2023-02-15 15:39:01 +01:00
mafiesto4 6c249172d4 Merge branch 'GoaLitiuM-fix_thread_join' 2023-02-15 15:33:50 +01:00
mafiesto4 ab3e4afb53 Merge branch 'fix_thread_join' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_thread_join 2023-02-15 15:33:44 +01:00
mafiesto4 419962ab04 Merge branch 'GoaLitiuM-fix_clang_warnings' 2023-02-15 14:55:21 +01:00
mafiesto4 54a056e5c3 Merge branch 'fix_clang_warnings' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_clang_warnings 2023-02-15 14:55:15 +01:00
mafiesto4 aad378a43d Merge branch 'GoaLitiuM-linux_filedialog_improvements' 2023-02-15 14:48:53 +01:00
mafiesto4 e0f9e6e50f Merge branch 'linux_filedialog_improvements' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_filedialog_improvements 2023-02-15 14:21:44 +01:00
mafiesto4 3c9d592d8b Code style fix 2023-02-15 14:19:56 +01:00
mafiesto4 3b34ba79cb Merge branch 'GoaLitiuM-linux_filewatcher_fix' 2023-02-15 14:16:35 +01:00
mafiesto4 3218791830 Merge branch 'linux_filewatcher_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_filewatcher_fix 2023-02-15 14:16:28 +01:00
mafiesto4 a48bfe9c82 Merge branch 'GoaLitiuM-linux_centered_fix' 2023-02-15 14:10:33 +01:00
mafiesto4 e7b69dea61 Merge branch 'linux_centered_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_centered_fix 2023-02-15 14:10:23 +01:00
mafiesto4 800cdd94e7 Merge branch 'GoaLitiuM-linux_compilation_fix' 2023-02-15 14:01:33 +01:00
mafiesto4 5038342384 Merge branch 'linux_compilation_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_compilation_fix 2023-02-15 14:01:27 +01:00
mafiesto4 5060b26dcc Merge branch 'GoaLitiuM-linux_dpi_fix' 2023-02-15 13:58:29 +01:00
mafiesto4 df8cfdac56 Merge branch 'linux_dpi_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_dpi_fix 2023-02-15 13:58:22 +01:00
mafiesto4 55ea197d4f Hide not important log error 2023-02-15 13:53:43 +01:00
mafiesto4 d48f61ea33 Fix regression from e40f51cfc5 2023-02-15 11:18:15 +01:00
mafiesto4 7411e69223 Merge remote-tracking branch 'origin/master' 2023-02-15 11:16:17 +01:00
mafiesto4 0adc0f616e Merge branch 'Tryibion-move-child-menu-arrow-for-scrollbar' 2023-02-15 11:14:23 +01:00
mafiesto4 d5f93b5c45 Merge branch 'move-child-menu-arrow-for-scrollbar' of https://github.com/Tryibion/FlaxEngine into Tryibion-move-child-menu-arrow-for-scrollbar 2023-02-15 11:14:17 +01:00
mafiesto4 dbfe640bac Merge branch 'Tryibion-dynamic-scale-link-image-x' 2023-02-15 11:12:30 +01:00
mafiesto4 8b41c304f1 Merge branch 'dynamic-scale-link-image-x' of https://github.com/Tryibion/FlaxEngine into Tryibion-dynamic-scale-link-image-x 2023-02-15 11:12:25 +01:00
mafiesto4 d76d79fcc3 Merge branch 'Tryibion-fix-editor-viewport-size-getting' 2023-02-15 11:11:17 +01:00
mafiesto4 bf7af8fa2c Merge branch 'fix-editor-viewport-size-getting' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-editor-viewport-size-getting 2023-02-15 11:11:11 +01:00
mafiesto4 e40f51cfc5 Add better logging for the Linxu includes search 2023-02-15 10:34:17 +01:00
mafiesto4 e3cfe9f009 Add support for using system-installed Vulkan SDK on Linux 2023-02-15 10:34:17 +01:00
GoaLitiuM c7d6aca2ad Use alternative method to query DPI on Linux 2023-02-15 10:34:17 +01:00
mafiesto4 47afc7817f Improve building for Android 2023-02-14 15:27:13 +01:00
mafiesto4 752fa64cc3 Add support for 32 bit indices for the terrain chunk geometry 2023-02-14 13:14:04 +01:00
mafiesto4 7d6472a160 Fix deadlock in navmesh capacity calculations 2023-02-14 13:13:35 +01:00
mafiesto4 835127ac21 Add **Animation Instance Data node to Anim Graph** for caching value per-model 2023-02-14 12:39:58 +01:00
mafiesto4 77e19e148b Fix missing TraceMode blending in PostFx volume for SSR settings 2023-02-14 09:31:23 +01:00
mafiesto4 a70234c9b6 Cleanup comments 2023-02-13 22:45:44 +01:00
mafiesto4 1034a15ddc Fix default SceneRenderTask view to have initialized matrices 2023-02-13 22:35:49 +01:00
mafiesto4 aad2ff51fc Fix default value for BoxCollider 2023-02-13 22:35:32 +01:00
mafiesto4 0031d9174d Fix scroll on selection change 2023-02-13 22:10:45 +01:00
GoaLitiuM 705a635059 Fix LinuxFileSystemWatcher not working in sub-directories 2023-02-13 21:44:29 +02:00
mafiesto4 8184d513e3 Fix performance when using scene search field 2023-02-13 20:04:35 +01:00
mafiesto4 19c24e2a4d Fix missing game scripts types when starting editor from IDE with -skipCompile arg 2023-02-13 17:14:53 +01:00
mafiesto4 cb83de4769 Fix compilation issues with various C++ scripting cases 2023-02-13 16:05:14 +01:00
mafiesto4 46cfa01622 Add this to API_PARAM for static method extension of a type 2023-02-13 16:04:33 +01:00
Tryibion 4725a83406 Move the child menu arrow image to accommodatefor the scroll bar showing when the amunt of items exceeds the maximum. 2023-02-12 21:29:58 -06:00
Tryibion b4cce7db00 Fix issue with different lengths of text for scale properties. 2023-02-12 20:51:03 -06:00
GoaLitiuM e3a96fa724 Fix tooltip not hiding after clicking on TreeNode 2023-02-12 14:32:28 +02:00
GoaLitiuM 6b634322ff Fix active tooltip preventing TreeNode selection 2023-02-12 14:32:24 +02:00
GoaLitiuM cc4864231f Use input focus to manage context menu hiding logic 2023-02-11 20:07:56 +02:00
mafiesto4 7fe7742430 Various improvements 2023-02-11 12:55:02 +01:00
mafiesto4 9c98d9d01e Fix focus when using CanvasScaler 2023-02-10 16:31:06 +01:00
mafiesto4 6fb1e749bc Add support in GetScript to interface types
#290
2023-02-10 15:36:33 +01:00
mafiesto4 d58a77cc60 Add support in GetScript to interface types
#290
2023-02-10 15:36:02 +01:00
mafiesto4 9b6ba67186 Fix playing self-hosted game to properly receive RPCs 2023-02-10 15:06:37 +01:00
mafiesto4 57178b8a5b Add dev-only name to spawned Particle System 2023-02-10 14:43:24 +01:00
mafiesto4 e9fa76c34a Fix RPC codegen 2023-02-10 13:37:02 +01:00
mafiesto4 a099bd25f6 Various minor fixes to networking 2023-02-10 12:00:04 +01:00
mafiesto4 c785a17ca8 Fix crash on exit due to remaining DefautlInstance objects 2023-02-10 11:27:01 +01:00
mafiesto4 9197d583ce Fix using Ray parameter in Network RPC 2023-02-10 11:07:13 +01:00
mafiesto4 07ca64c8a0 Fix using RPC attribute without ctor usage 2023-02-10 11:02:06 +01:00
mafiesto4 07892ccf18 Refactor ObjectsRemovalService to skip double-buffering due to issues and complexity 2023-02-10 10:50:18 +01:00
mafiesto4 b4ea70acbb Fix layer name property to be hidden in Editor 2023-02-09 21:13:39 +01:00
mafiesto4 b8a7f36c85 Fix crash when passing boxes Vector2/3/4 type data to C# due to custom structure usage 2023-02-09 20:42:25 +01:00
mafiesto4 82823d6945 Various improvements and fixes 2023-02-09 20:05:46 +01:00
mafiesto4 12cb8fd59d Ignore warning on missing object in Level::FindActor 2023-02-09 20:04:57 +01:00
mafiesto4 39443bf4d1 Reduce Render targets Pool flushing frequency to prevent memory popping 2023-02-09 13:30:46 +01:00
mafiesto4 3636cd6940 Fix render target memory leak in Global Surface Atlas debug 2023-02-09 13:30:27 +01:00
mafiesto4 45866e6771 Minor code cleanup #930 2023-02-09 09:47:27 +01:00
mafiesto4 7b253311a0 Merge branch 'Tryibion-scale-lock' 2023-02-09 09:43:56 +01:00
mafiesto4 73ac1c5d43 Merge branch 'scale-lock' of https://github.com/Tryibion/FlaxEngine into Tryibion-scale-lock 2023-02-09 09:42:16 +01:00
mafiesto4 e08713707b Merge branch 'Tryibion-possible-revert-fix' 2023-02-09 09:41:01 +01:00
mafiesto4 48d8e3bb24 Merge branch 'possible-revert-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-possible-revert-fix 2023-02-09 09:40:55 +01:00
mafiesto4 8b6c3b2f5d Merge branch 'Tryibion-center-set-type' 2023-02-09 09:39:46 +01:00
mafiesto4 78001b8298 Merge branch 'center-set-type' of https://github.com/Tryibion/FlaxEngine into Tryibion-center-set-type 2023-02-09 09:39:40 +01:00
mafiesto4 bd513eabc6 Improve 7fae0d9fb6 2023-02-08 23:59:49 +01:00
mafiesto4 7fae0d9fb6 Fix to ignore warning due to missing NDA consoles packages 2023-02-08 23:41:24 +01:00
mafiesto4 bc4514c905 Add missing Mono.Cecil from Editor deployment 2023-02-08 23:32:38 +01:00
mafiesto4 c99525131a Fix build d09dfd1f61 2023-02-08 23:31:23 +01:00
mafiesto4 d09dfd1f61 Add **Canvas Scaler** control for resolution-independent UI
#448 #525
2023-02-08 19:51:16 +01:00
GoaLitiuM ca81ee3967 Update Linux build instructions 2023-02-07 22:33:49 +02:00
GoaLitiuM 533a6576b8 Link against zlib 2023-02-07 22:11:24 +02:00
mafiesto4 0366de36ce Add BlurScaleWithSize to BlurPanel for resolution-independent blur 2023-02-07 14:13:02 +01:00
mafiesto4 d92da5ceba Upgrade GPU limits to support 16k textures 2023-02-07 13:35:00 +01:00
mafiesto4 9bb8dcac3d Fix GPU Limits to be clamped to the compile-time limits 2023-02-07 13:30:18 +01:00
mafiesto4 8c13c64088 Fix incorrect import path from other drive on Windows 2023-02-07 09:39:51 +01:00
mafiesto4 7a2023ead6 Add option for importing scale tracking to animation asset 2023-02-07 09:39:31 +01:00
mafiesto4 e02c4b6f98 Fix using Center property on Character Controller
#904
2023-02-06 20:22:52 +01:00
mafiesto4 b71665ae0d Fix Up Direction default value for Character Controller 2023-02-06 17:47:48 +01:00
mafiesto4 9a84811f35 Fix editor values comparison in properties panel to match serializer rules 2023-02-06 13:44:45 +01:00
mafiesto4 daff3abdc1 Add engine version defines to C++ game scripts 2023-02-06 11:09:52 +01:00
mafiesto4 a175e58107 Add FLAX_X_Y_OR_NEWER to game code defines 2023-02-06 11:09:47 +01:00
Tryibion 4b9bbfb663 Change GetGameWindowSize to return game viewport size. 2023-02-05 20:22:54 -06:00
Tryibion d5d5fb698f Small name changes 2023-02-05 20:17:21 -06:00
mafiesto4 e09ad39161 Fix exception on editor closing, cleanup code style
#920
2023-02-05 23:58:14 +01:00
mafiesto4 b4087452d1 Merge branch 'Tryibion-change-auto-save' 2023-02-05 23:52:44 +01:00
mafiesto4 c6ad0fc337 Merge branch 'change-auto-save' of https://github.com/Tryibion/FlaxEngine into Tryibion-change-auto-save 2023-02-05 23:52:39 +01:00
mafiesto4 c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Tryibion 5c78e0d466 Possible fix for values reverting to previous values in ValueBoxes when changing the value right after sliding. 2023-02-05 15:23:09 -06:00
Tryibion 0f38fdda30 Remove unused include. 2023-02-05 15:12:04 -06:00
Tryibion e4afc49ac6 Added saving the users choice in the properties window and adding link and unlink to the scale context menu. 2023-02-05 15:07:12 -06:00
mafiesto4 ac45bbe53e Wait for asset load in MeshDataCache 2023-02-05 13:02:27 +01:00
mafiesto4 ea153d4cf6 Minor adjustment to inline function in more places for CPU particles perf 2023-02-05 12:49:43 +01:00
mafiesto4 f085e8e199 Merge branch 'PrecisionRender-fix-audio-settings' 2023-02-05 12:49:22 +01:00
mafiesto4 c09afe55a3 Merge branch 'fix-audio-settings' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-fix-audio-settings 2023-02-05 12:49:15 +01:00
GoaLitiuM c51a923160 Only pass --copy-dt-needed-entries with GNU linker 2023-02-05 13:42:01 +02:00
GoaLitiuM 591b45d2e8 Fix linking errors with other linkers 2023-02-05 13:41:35 +02:00
GoaLitiuM 19eaec336d Use better linkers to improve linking times on Linux 2023-02-05 13:41:34 +02:00
Tryibion b113bdb774 Changed to use enum for simplification 2023-02-04 22:28:34 -06:00
Tryibion 03f299bc3b Added apply across actors. 2023-02-04 22:20:18 -06:00
Tryibion 9c591b3c08 Add scale lock button 2023-02-04 21:56:18 -06:00
Tryibion a061347f5a Centers the "Set Type" Button context menu for UI Controls in the editor. 2023-02-03 19:22:25 -06:00
GoaLitiuM ffbd34c95a Improve Rider detection on Linux 2023-02-03 22:37:33 +02:00
GoaLitiuM 847a28d133 Fix running VC++-project build commands with Rider on Linux 2023-02-03 22:37:31 +02:00
GoaLitiuM 0ac5db45d1 Improve Linux file dialog support
Adds support for multi selection, filtering and initial folder for both zenity and kdialog. kdialog is also preferred over zenity when KDE is detected.
2023-02-03 22:27:27 +02:00
GoaLitiuM 2703401f08 Fix process creation on Linux
Forked child process did not exit properly, sometimes causing scripting compilation to get stuck and never finish.
2023-02-03 22:21:38 +02:00
Tryibion f4da984399 Added function to get viewport size of the game window when in editor. This allows for certain functions to behave correctly. 2023-02-03 13:27:53 -06:00
mafiesto4 d8a9b699ad Merge branch 'Tryibion-tag-editor-size-fix' 2023-02-03 16:03:54 +01:00
mafiesto4 873749b130 Merge branch 'tag-editor-size-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-tag-editor-size-fix 2023-02-03 16:02:39 +01:00
mafiesto4 58e99ca469 Fix crash in renderer due to the same object being registered twice 2023-02-03 16:01:42 +01:00
mafiesto4 b84cb8428b Merge branch 'RuanLucasGD-Inputs' 2023-02-03 15:48:20 +01:00
mafiesto4 d9f1e4253f Merge branch 'Inputs' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-Inputs 2023-02-03 15:47:45 +01:00
mafiesto4 cb867e7657 Merge branch 'Tryibion-text-box-ibeam' 2023-02-03 15:40:33 +01:00
mafiesto4 b959ecd671 Merge branch 'text-box-ibeam' of https://github.com/Tryibion/FlaxEngine into Tryibion-text-box-ibeam 2023-02-03 15:38:38 +01:00
mafiesto4 9c8f0c571d Merge branch 'pacyfist-master' 2023-02-03 15:35:12 +01:00
Filip Franik 7c176f4b69 Merge branch 'FlaxEngine:master' into master 2023-02-03 14:19:27 +01:00
mafiesto4 73ec370989 Update engine materials 2023-02-03 13:31:00 +01:00
mafiesto4 aa8d6f7c79 Fix ribbon particles triangle indices ordering to prevent artifacts 2023-02-03 13:30:48 +01:00
GoaLitiuM d7595f1ecc Fix compiler warnings with Clang 15 or later 2023-02-02 18:52:41 +02:00
mafiesto4 50faa49c0f Add spacebar for play/pause in animated model and particles previews 2023-02-02 15:53:55 +01:00
mafiesto4 b64475bcfa Fix particle module initialization if it reuses graph from other module 2023-02-02 15:53:16 +01:00
mafiesto4 36ba1d9953 Add play/pause widget and keybind for particles preview in asset Editor 2023-02-02 13:05:54 +01:00
Tryibion 2592841793 Code style cleanup 2023-02-01 18:28:00 -06:00
Tryibion b862126209 Changed to only show ibeam when editing 2023-02-01 18:25:40 -06:00
Tryibion ade0450c0e Add cursor to change to Ibeam in text boxes. 2023-02-01 09:32:58 -06:00
mafiesto4 baabc5d16f Add AfterForwardPass for custom postfx render location 2023-02-01 11:38:22 +01:00
mafiesto4 ee19c8e856 Update engine assets 2023-02-01 11:12:29 +01:00
mafiesto4 45a30990ba Add GPUContext::SetBlendFactor 2023-02-01 11:07:48 +01:00
mafiesto4 ab51ecddb4 Add RenderBuffers::LinkedCustomBuffers to reuse main game viewport rendered state (eg. GI) in sub-rendered view 2023-02-01 11:05:29 +01:00
Filip Franik 836f72481b Fix to DownloadMeshData calling the Finished event before the _meshDatasInProgress was set to false. 2023-01-31 23:44:33 +01:00
mafiesto4 831af77eff Fix rendering with custom feature-set 2023-01-31 16:18:04 +01:00
mafiesto4 b071cdb843 Expose various engine features to scripting 2023-01-31 16:01:56 +01:00
mafiesto4 a0c6add732 Add ViewFlags::Sky for conditional sky/skybox rendering 2023-01-31 15:58:02 +01:00
mafiesto4 b93e97dd76 Add EnumHasNoneFlags 2023-01-31 15:19:34 +01:00
mafiesto4 8c5d421c45 Update build number 2023-01-31 15:18:19 +01:00
mafiesto4 0709288eac Revert Depth Offset (wrong impl, can be done later) 2023-01-31 14:22:37 +01:00
mafiesto4 c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
mafiesto4 c39d1283f8 Add sort order for custom model drawing 2023-01-31 09:29:04 +01:00
mafiesto4 c9fce7e4aa Add GBuffer textures to the C# scripting 2023-01-31 09:28:48 +01:00
mafiesto4 5a30883082 Add AfterGBufferPass for custom PostFx location 2023-01-31 09:28:19 +01:00
mafiesto4 9b3d15aa46 Add Renderer::DrawActors for quick actors rendering in custom render passes 2023-01-30 00:52:32 +01:00
Tryibion 56c16c7078 Delete auto save popup and utilize regular status bar text and button. 2023-01-29 16:32:06 -06:00
mafiesto4 238095b862 Add DefaultValue support for scripting parameters 2023-01-29 22:10:22 +01:00
mafiesto4 a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +01:00
GoaLitiuM b0bc1fa310 Fix error when joining exited threads
The internal thread handles were cleared prematurely when attempting to join them. The handles should be also cleared when trying to kill already exited threads.
2023-01-29 21:30:01 +02:00
GoaLitiuM 6f8aee0c1c Use alternative method to query DPI on Linux 2023-01-29 19:13:54 +02:00
GoaLitiuM 4d9ffdb025 Fix centered window and message box locations on Linux 2023-01-28 20:33:02 +02:00
mafiesto4 a214c14a4d Add Sort Order to animated models too 2023-01-28 17:03:18 +01:00
mafiesto4 87549a3e6c Fix sort order usage in multi-pass drawing of the Mesh 2023-01-28 01:31:07 +01:00
Tryibion db46d50eff Fixed sized for tag header drop panel and add tag button to match with other sizing. 2023-01-27 08:28:47 -06:00
mafiesto4 adfe3ad165 Add SortOrder to drawable object types for transparency sorting override 2023-01-26 18:37:40 +01:00
Ruan Lucas 82e9923be3 change IsAnyKeyDown to IsAnyButtonDown and add Float2.Normalized 2023-01-26 08:54:15 -04:00
PrecisionRender 0461a78cdb Fix audio settings not applying doppler factor 2023-01-24 22:14:45 -06:00
mafiesto4 997baa3b77 Merge branch 'Tryibion-add-arrow-to-groups' 2023-01-24 23:18:18 +01:00
mafiesto4 e57481de7d Adjustments to the new group panels #903 2023-01-24 23:18:12 +01:00
mafiesto4 6931161dce Merge branch 'add-arrow-to-groups' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-arrow-to-groups 2023-01-24 19:41:37 +01:00
mafiesto4 9fe4de811b Merge branch 'Tryibion-change-filter-length' 2023-01-24 19:40:22 +01:00
mafiesto4 bde3b98582 Merge branch 'change-filter-length' of https://github.com/Tryibion/FlaxEngine into Tryibion-change-filter-length 2023-01-24 19:34:54 +01:00
mafiesto4 617752ac34 Merge branch 'Tryibion-actor-org' 2023-01-24 19:20:30 +01:00
mafiesto4 29815e0dd6 Merge branch 'actor-org' of https://github.com/Tryibion/FlaxEngine into Tryibion-actor-org 2023-01-24 19:20:23 +01:00
mafiesto4 03813259cf Update assets 2023-01-24 19:19:56 +01:00
mafiesto4 8e87ce6436 Merge branch 'Tryibion-fix-rename-popup' 2023-01-24 19:19:46 +01:00
mafiesto4 1a8f3d0e97 Merge branch 'fix-rename-popup' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-rename-popup 2023-01-24 19:16:45 +01:00
mafiesto4 c1e0d70646 Fix name overlap 2023-01-24 19:14:18 +01:00
Tryibion bc7f9f7534 changed min length to 1 to start filtering after first character is entered. 2023-01-23 20:05:34 -06:00
mafiesto4 9e90cb260a Add support for custom icons for actors in ViewportIconsRenderer 2023-01-23 23:43:59 +01:00
mafiesto4 c854b657c1 Add actor virtual functions OnDebugDraw/OnDebugDrawSelected/OnEnable/OnDisable to override in scripting 2023-01-23 23:43:16 +01:00
mafiesto4 a72fbc00bb Ignore generated vs code file 2023-01-23 20:36:25 +01:00
mafiesto4 1a0b38bbfe Merge branch 'GoaLitiuM-vscode_fixes' into 1.5 2023-01-23 20:34:41 +01:00
mafiesto4 a853850116 Merge branch 'vscode_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-vscode_fixes 2023-01-23 20:34:35 +01:00
Tryibion ff3277edc7 Change CM attributes to not check inhereted class. 2023-01-22 21:33:08 -06:00
Tryibion e21c8e5fe9 Organize physics actors a little better in CM, added wheeled vehicle to list. minor change in CM to not add actors that have a parent with the attribute (more selective). 2023-01-22 18:52:28 -06:00
Tryibion 66fd5e716c various fixes and improvements. size changes for headers, deactivate containement for collections. 2023-01-21 13:35:51 -06:00
Tryibion 634eb0973b fix header text position 2023-01-21 11:37:31 -06:00
Tryibion a91990138b Added arrow as default to groups 2023-01-21 10:32:37 -06:00
mafiesto4 d752fcb127 Merge branch 'Tryibion-better-tag-picker' into 1.5 2023-01-20 12:03:35 +01:00
mafiesto4 66d5850a76 Asset update 2023-01-20 12:02:40 +01:00
mafiesto4 df2d151063 Merge branch 'better-tag-picker' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-tag-picker 2023-01-20 11:51:50 +01:00
mafiesto4 31e27e84a9 Minor fix 2023-01-20 11:48:53 +01:00
mafiesto4 a7bccae5d3 Merge branch 'Tryibion-add-tag-fix' into 1.5 2023-01-20 11:47:41 +01:00
mafiesto4 286de25c15 Merge branch 'add-tag-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-tag-fix 2023-01-20 11:47:18 +01:00
Tryibion 5d601621cf small fix 2023-01-20 02:14:05 -06:00
Tryibion 56c9be6f8c fixes 2023-01-20 01:55:09 -06:00
Tryibion 64dcfa21b8 small fixes 2023-01-20 01:22:36 -06:00
Tryibion 6c1ce82e5c Small cleanup 2023-01-20 00:56:46 -06:00
Tryibion efe11d0105 Added selecting text box when tag add drop panel open 2023-01-20 00:55:54 -06:00
Tryibion 85df496657 Better tag picker 2023-01-20 00:51:46 -06:00
Ruan Lucas d20bce9967 Add Vector2.Normalized 2023-01-19 20:52:20 -04:00
Tryibion f110926288 Moved into function in Asset Window. 2023-01-19 16:10:17 -06:00
Tryibion fb12e63bb1 Fixed editor not saving added tags #885 2023-01-19 15:57:51 -06:00
Ruan Lucas 8669a291fb Add methods IsAnyKeyDown on Mouse/Gamepad class 2023-01-19 15:21:50 -04:00
mafiesto4 c1c1f5d60e Fix sending client RPC to all clients (including the owner) 2023-01-19 14:47:29 +01:00
Tryibion 720dbabae1 Fix rename popup from not focusing and selecting text. 2023-01-18 18:42:21 -06:00
mafiesto4 eaa63e679e Fix selected UI control outline when using custom Game viewport aspect
#897
2023-01-18 15:36:42 +01:00
mafiesto4 689a042e88 Fix sending client RPC from host that is both server and client 2023-01-18 13:39:51 +01:00
mafiesto4 04727cf2bc Add error log if the RPC is invoked on non-networked object 2023-01-18 13:38:18 +01:00
mafiesto4 ec2bdb7437 Fix crash when copying empty span of data into DataContainer 2023-01-18 13:20:24 +01:00
mafiesto4 df997c8e3c Fix invalid RPC properties gather when using attribute constructor arguments 2023-01-18 13:04:38 +01:00
mafiesto4 15fd2e884e Add printing exact source code location on networking bindings generation for C# types 2023-01-18 13:04:10 +01:00
mafiesto4 e2e7facad0 Fix using dependency module from nested referenced build in C# 2023-01-18 11:53:30 +01:00
mafiesto4 0abac8c5c4 Merge branch 'GoaLitiuM-author_update' into 1.5 2023-01-17 21:34:12 +01:00
GoaLitiuM ee5a7cf1ef Update authors 2023-01-16 18:14:17 +02:00
mafiesto4 fc65e5a7a6 Fix leftover UI control state when it gets disabled/hidden/reparented 2023-01-16 15:08:57 +01:00
mafiesto4 99ce5cd4d4 Fix for Visual Studio projects when using vs2022 2023-01-16 13:33:36 +01:00
mafiesto4 4395bfd661 Improve Tags editor to display short tag names in tree for better readability of nested tags
#885
2023-01-16 13:33:21 +01:00
mafiesto4 5babe8df3f Add refreshing actively opened Layers And Tags asset editor when adding tags from popup
#885
2023-01-16 12:11:04 +01:00
mafiesto4 5dd91d0cdc Adjustments for high-level networking usage #878 2023-01-16 12:04:00 +01:00
mafiesto4 831fc80971 Fix game build 2023-01-16 11:14:13 +01:00
mafiesto4 eff24ed836 Add support for editing path to the asset within AssetRefEditor 2023-01-15 23:05:58 +01:00
mafiesto4 07e653468f Update assets 2023-01-15 20:20:41 +01:00
mafiesto4 a2af46845d Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Renderer/AmbientOcclusionPass.cpp
2023-01-15 18:27:49 +01:00
mafiesto4 1e98fe2920 Merge branch 'Tryibion-custom-game-sizing' 2023-01-15 14:10:31 +01:00
mafiesto4 675aa92b53 Fix crash in SSAO when using very low render resolution 2023-01-15 14:08:24 +01:00
mafiesto4 e40cdc8a7f Codestyle cleanup and minor tweaks #879 2023-01-15 14:08:00 +01:00
mafiesto4 50100a74bb Merge branch 'custom-game-sizing' of https://github.com/Tryibion/FlaxEngine into Tryibion-custom-game-sizing 2023-01-15 13:48:50 +01:00
mafiesto4 b89f2e39c9 Expose RandomUtil to Visual Scripting and cleanup codestyle
#843
2023-01-15 13:47:06 +01:00
mafiesto4 0aec1340b2 Merge branch 'Withaust-master' 2023-01-15 13:38:19 +01:00
mafiesto4 3622b77034 Merge branch 'master' of https://github.com/Withaust/FlaxEngine into Withaust-master 2023-01-15 13:38:10 +01:00
mafiesto4 7e62765a09 Merge branch 'Tryibion-auto-size-popup-position-change' 2023-01-15 13:34:13 +01:00
mafiesto4 ed3dd93a17 Merge branch 'auto-size-popup-position-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-auto-size-popup-position-change 2023-01-15 13:34:07 +01:00
mafiesto4 1d244f6689 Merge branch 'Tryibion-failed-status' 2023-01-15 13:33:13 +01:00
mafiesto4 1421e63aa8 Minor cleanup #891 2023-01-15 13:33:07 +01:00
mafiesto4 50fb39d238 Merge remote-tracking branch 'origin/master' into 1.5 2023-01-15 12:44:45 +01:00
mafiesto4 f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
GoaLitiuM 20d8c9f4ee Generate omnisharp.json file for VS Code solutions 2023-01-14 19:25:36 +02:00
Tryibion 87e69ca564 Changed interface for script compliation error 2023-01-13 18:02:10 -06:00
Tryibion 5c1d89b145 Added fail progress bar to building game failure. 2023-01-13 10:37:06 -06:00
Tryibion 595d2235d3 Hide progress bar on click 2023-01-13 10:28:58 -06:00
Tryibion 38fc43cada Moved where the position movement is called for more snappy movement and increase movement amount to account for longer progress bar label text. 2023-01-13 10:09:49 -06:00
Tryibion e8c8021fd5 Added failed status bar to indicate if a progress has failed. 2023-01-13 09:54:16 -06:00
mafiesto4 da63e843d8 Merge branch 'Tryibion-first-capital-letter-fix' 2023-01-13 12:21:33 +01:00
mafiesto4 a450990ee2 Merge branch 'first-capital-letter-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-first-capital-letter-fix 2023-01-13 12:20:57 +01:00
mafiesto4 bfae240209 Merge branch 'Tryibion-fix-missing-scene-animation' 2023-01-13 12:03:50 +01:00
mafiesto4 0fa58531e8 Merge branch 'fix-missing-scene-animation' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-missing-scene-animation 2023-01-13 12:03:41 +01:00
mafiesto4 45c363685d Merge branch 'Tryibion-visject-cm-search-fix' 2023-01-13 12:01:25 +01:00
mafiesto4 8e354cc36e Merge branch 'visject-cm-search-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-visject-cm-search-fix 2023-01-13 12:01:20 +01:00
mafiesto4 9eb0562844 Merge branch 'Tryibion-auto-save-popup' 2023-01-13 11:39:17 +01:00
mafiesto4 26c7d3dadc Merge branch 'auto-save-popup' of https://github.com/Tryibion/FlaxEngine into Tryibion-auto-save-popup 2023-01-13 11:39:07 +01:00
mafiesto4 986fa13585 Reuse texture sampling code for procedural sampling node #872 2023-01-13 11:37:53 +01:00
mafiesto4 aa8ab65ae0 Merge branch 'Swiggies-stochastic-sampling-node' 2023-01-13 10:40:39 +01:00
mafiesto4 2d44ae3a4d Merge branch 'stochastic-sampling-node' of https://github.com/Swiggies/FlaxEngine into Swiggies-stochastic-sampling-node 2023-01-13 10:40:16 +01:00
mafiesto4 810f7fb803 Fix xcopy path on Windows in Flax.Build 2023-01-12 22:05:35 +01:00
mafiesto4 a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 e7f40a4c0e Fix unit test if running under .net 4.6.2 unit test agent 2023-01-10 14:33:51 +01:00
mafiesto4 6b076e4fd4 Update NUnit to 3.16.1 2023-01-10 14:26:26 +01:00
mafiesto4 79864ffd5f Change missing VulkanSDK error to be logged once per session 2023-01-10 13:51:29 +01:00
mafiesto4 4d6f758994 Update NUnit to 3.16.1 2023-01-10 13:41:58 +01:00
mafiesto4 442641eeab Add running Tests on Windows in Github Actions CI 2023-01-10 13:41:23 +01:00
mafiesto4 ca2e2e1f41 Fix native scripting interface method override in managed scripts on Clang-platforms 2023-01-10 11:45:23 +01:00
mafiesto4 a74b847e65 Fix ScriptingObject::FromInterface to return object if the pointer is already valid object 2023-01-10 11:45:23 +01:00
mafiesto4 17f9219cd0 Add TargetCompiler to Flax.Build toolchains 2023-01-10 11:45:23 +01:00
mafiesto4 0595f38fe4 Fix threading issues with GPU buffers mapping 2023-01-09 22:41:06 +01:00
mafiesto4 e2aa6b8970 Fix default value in viewport options 2023-01-09 22:40:54 +01:00
mafiesto4 67c63f1410 Optimize GPU Resource name to prevent memory allocs when changing name frequently 2023-01-09 22:40:26 +01:00
mafiesto4 70cce0e1ee Fix regression crash when using DoF, optimize DoF usage of GPU memory 2023-01-09 16:06:47 +01:00
mafiesto4 8c9a3055e1 Fix foliage paint brush transparency 2023-01-09 11:55:39 +01:00
Tryibion 0cd562c528 Fix in visject cm sometimes not populating all options once search box is cleared. 2023-01-08 16:04:55 -06:00
mafiesto4 4c671012bf Fix name upper-case 2023-01-08 13:52:45 +01:00
mafiesto4 8db75ffa36 Fix name upper-case 2023-01-08 13:52:33 +01:00
mafiesto4 58844622a0 Simplify managed method invoke generation for AOT vs JIT platforms 2023-01-08 13:50:45 +01:00
mafiesto4 cfcf29a62e Fixes for passing new unit tests with edge cases of scripting bindigns usage 2023-01-08 00:34:33 +01:00
mafiesto4 064994eb1a Add more test cases for various scripting bindings features 2023-01-08 00:34:32 +01:00
mafiesto4 c011e8af62 Add support for CanRender in postFx to depend on specific render setup 2023-01-06 13:45:36 +01:00
mafiesto4 b753b18682 Add profiler events for plugins init/deinit 2023-01-06 13:36:12 +01:00
mafiesto4 4012434102 Fix test 2023-01-03 23:04:09 +01:00
mafiesto4 b4faa128b7 Fix case when Variant wrappers overlap with the name 2023-01-02 22:04:14 +01:00
mafiesto4 9ffeb8031b Fix tests regression 2023-01-02 21:45:51 +01:00
mafiesto4 59568fb5c8 Minor editor tweaks 2023-01-01 23:17:23 +01:00
mafiesto4 bc7bf72660 Fix case when child context menu is already hidden and changed to other from code 2023-01-01 21:42:35 +01:00
mafiesto4 4afa59a783 Fix missing scripting and serialization extensions for SceneReference usage in scripts 2023-01-01 19:15:59 +01:00
mafiesto4 084fe6f063 Add UseAssetImportPathRelative to Editor options and use it by default to store imported asset path relative to the project folder 2023-01-01 18:55:09 +01:00
mafiesto4 9554636971 Add bigger input value boxes to Visject Surface 2023-01-01 18:30:15 +01:00
mafiesto4 f246fc018d Fixes for 2df3574cfa 2023-01-01 16:54:01 +01:00
mafiesto4 2df3574cfa Refactor new tags system to use uint for tag index (0 is invalid tag) 2023-01-01 16:39:34 +01:00
mafiesto4 c976d190a5 Add Tag to PhysicalMaterial for physical surfaces tagging 2023-01-01 16:38:50 +01:00
mafiesto4 18baab0c64 Update DefaultLensDirt and DefaultLensStarburst texturs to reduce GPU memory usage 2023-01-01 15:20:26 +01:00
mafiesto4 b73bd519be Add navmesh update on terrain sculpt undo/redo and deffer navmesh update when sculpting action ends to prevent stalls 2022-12-31 14:43:50 +01:00
mafiesto4 081305fab7 Fix regression from 0ca8fe2f45 for value types 2022-12-31 13:23:36 +01:00
mafiesto4 a10fb703fc Add unit test for scripting interface to ensure generated bindings code works fine 2022-12-31 13:10:19 +01:00
Tryibion 6a46efcf45 Fixed missing the scene animation proxy from the content context menu. 2022-12-30 18:40:11 -06:00
mafiesto4 0ca8fe2f45 Fix passing reference types back to the native code from scripting event 2022-12-31 00:22:04 +01:00
mafiesto4 a253e01dbd Add unit test for scripting event to ensure generated bindings code works fine 2022-12-31 00:21:28 +01:00
Tryibion 80baa13814 Fix tests to match captial first letter 2022-12-29 21:14:51 -06:00
Tryibion 71aae620ea Merge branch 'first-capital-letter-fix' of https://github.com/Tryibion/FlaxEngine into first-capital-letter-fix 2022-12-29 21:12:25 -06:00
Tryibion 7c3d5d739a small fix 2022-12-29 21:11:40 -06:00
Tryibion cf908fcfeb changed to change it in property UI 2022-12-29 21:11:39 -06:00
Tryibion f52e76fe30 Always capitalize the first letter of a property name label 2022-12-29 21:11:39 -06:00
mafiesto4 e2e66e0eec Fix crash when unboxing integer value type from managed callback via generated bindings 2022-12-30 00:08:32 +01:00
mafiesto4 a5e7ff6fc0 Add unit test for scripting features 2022-12-30 00:08:04 +01:00
mafiesto4 0e1da59f0c Fix loading materials when using Null renderer
Regression from dbcb333ba9
2022-12-29 23:35:47 +01:00
mafiesto4 1d47374758 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 23:06:06 +01:00
mafiesto4 c6bbfdc7f0 Fixes for networking change in 762f460e23 2022-12-29 23:05:52 +01:00
mafiesto4 7184566b4b Merge branch 'master' into 1.5 2022-12-29 23:04:18 +01:00
mafiesto4 418aeb281c Add warning to UWP build tool 2022-12-29 23:03:37 +01:00
mafiesto4 5a1192df16 Update shaders 2022-12-29 23:03:28 +01:00
mafiesto4 4b79bcb8d2 Add VS2022 support for building for UWP platform 2022-12-29 23:02:54 +01:00
Tryibion 5f83918c06 small fix 2022-12-29 15:25:12 -06:00
mafiesto4 da08b18ec5 Fix VisualStudioInstance.GetInstances() to be sorted from newest to oldest
(cherry picked from commit 6eaecc8793)
2022-12-29 22:23:37 +01:00
Tryibion 9d3b8eeeaf changed to change it in property UI 2022-12-29 15:21:48 -06:00
Tryibion 607505a316 Always capitalize the first letter of a property name label 2022-12-29 15:11:07 -06:00
mafiesto4 e7cf10aea8 Minor tweaks 2022-12-29 21:51:57 +01:00
Tryibion 79562dc502 Renamed some variables to more match what they do/are. 2022-12-29 12:14:26 -06:00
mafiesto4 6ef49349ff Fix assertion on thread double-free from registry (not harmful) 2022-12-29 18:30:51 +01:00
Tryibion 0633ed6819 Small cleanup 2022-12-29 00:47:30 -06:00
Tryibion 6c3864983f small cleanup 2022-12-29 00:45:58 -06:00
Tryibion dc6f6e2b93 Clean up 2022-12-29 00:32:57 -06:00
Tryibion 63343d4224 2nd pass on viewport sizing CM. Added add menu and apply and delete. 2022-12-29 00:31:19 -06:00
Tryibion ca07c18b93 Fist pass on game viewport resizing menu 2022-12-28 15:53:17 -06:00
Tryibion b225b5a6e6 Simplified setting bounds 2022-12-28 15:53:17 -06:00
Tryibion 45564c940f Moved function 2022-12-28 15:53:17 -06:00
Tryibion 69d391d985 changed default 2022-12-28 15:53:16 -06:00
Tryibion c38da8cabf Added resizing to the game viewport. 2022-12-28 15:53:16 -06:00
mafiesto4 f8e3f2fdc0 Merge branch 'Tryibion-CM-close-Fix' 2022-12-28 22:27:26 +01:00
mafiesto4 ae7352831b Merge branch 'CM-close-Fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-close-Fix 2022-12-28 22:27:15 +01:00
mafiesto4 72bef6bc86 Merge branch 'Tryibion-skylight-icon-fix' 2022-12-28 21:54:27 +01:00
Tryibion 4eb2ac854e Fixed more CMs that shouldnt close 2022-12-28 13:00:58 -06:00
mafiesto4 7539504a8c Fix typo 2022-12-28 19:54:27 +01:00
Tryibion 0220c8ced1 fixed skylight to use skylight icon 2022-12-28 12:53:08 -06:00
mafiesto4 ae700cfbb8 Add new editor icons for actors from #866 2022-12-28 19:34:25 +01:00
mafiesto4 5a5a16c983 Merge branch 'Tryibion-CM-closing-fix' 2022-12-28 19:22:56 +01:00
mafiesto4 c35a267cd3 Merge branch 'CM-closing-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-closing-fix 2022-12-28 19:22:50 +01:00
mafiesto4 46b65bc546 Format code 2022-12-28 18:51:13 +01:00
mafiesto4 6f545beffe Merge branch 'Withaust-patch-1' into 1.5 2022-12-28 17:27:39 +01:00
mafiesto4 6e403abf75 Merge branch 'patch-1' of https://github.com/Withaust/FlaxEngine into Withaust-patch-1 2022-12-28 17:27:32 +01:00
mafiesto4 f297b4b391 Merge branch 'GoaLitiuM-includes_cache_lastwrite' into 1.5 2022-12-28 17:25:39 +01:00
mafiesto4 16e7c429fc Minor code cleanup #873 2022-12-28 17:25:30 +01:00
mafiesto4 7fcd66588c Merge branch 'includes_cache_lastwrite' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_lastwrite 2022-12-28 17:18:23 +01:00
mafiesto4 8762e8ad15 Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
mafiesto4 3a393b6825 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:56:52 +01:00
mafiesto4 7859e64db1 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:28:50 +01:00
Wiktor Kocielski 163abb107c GPUResource Name property glu e generation fix
This fixes the issue when compiling the editor in the `Release`
2022-12-28 16:23:54 +03:00
GoaLitiuM 5c9a27a6d6 Serialize C++ includes cache results
Almost half the build tool runtime is spent scanning includes in C++-files, now the results are cached and invalidated when files last write timestamp changes.
2022-12-28 14:25:11 +02:00
Tryibion bdbf931046 Added CM button in ParticleEmitterPreview 2022-12-27 23:08:16 -06:00
mafiesto4 320c8481e6 Merge branch 'Tryibion-center-script-cm' 2022-12-27 22:35:40 +01:00
mafiesto4 cdf50b2560 Merge branch 'center-script-cm' of https://github.com/Tryibion/FlaxEngine into Tryibion-center-script-cm 2022-12-27 22:34:19 +01:00
mafiesto4 d930e2418f Merge branch 'Tryibion-cancel-search-button' 2022-12-27 21:54:30 +01:00
mafiesto4 85f7d81ce4 Merge branch 'cancel-search-button' of https://github.com/Tryibion/FlaxEngine into Tryibion-cancel-search-button 2022-12-27 21:53:47 +01:00
mafiesto4 6b0ead59d2 Fix code style 2022-12-27 20:24:01 +01:00
mafiesto4 155b463f3f Merge branch 'Tryibion-add-button-hover-events' 2022-12-27 20:23:10 +01:00
mafiesto4 1d359d9ed2 Merge branch 'add-button-hover-events' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-button-hover-events 2022-12-27 20:23:04 +01:00
mafiesto4 3fdbfab98b Merge branch 'add-author' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-author 2022-12-27 20:00:15 +01:00
mafiesto4 c2df2acb2c Merge branch 'Tryibion-add-child-abstract-change' 2022-12-27 19:47:25 +01:00
mafiesto4 025345d99a Merge branch 'add-child-abstract-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-child-abstract-change 2022-12-27 19:47:18 +01:00
mafiesto4 601dea6d29 Merge branch 'Tryibion-anchor-drop-fix' 2022-12-27 19:43:59 +01:00
mafiesto4 c9f4b6e55c Merge branch 'anchor-drop-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-anchor-drop-fix 2022-12-27 19:42:07 +01:00
mafiesto4 1d676314e2 Merge branch 'Tryibion-editor-layout-cache' 2022-12-27 19:22:33 +01:00
mafiesto4 5bccd010cb Code style fix 2022-12-27 19:22:17 +01:00
mafiesto4 8735e0d99c Merge branch 'editor-layout-cache' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-layout-cache 2022-12-27 19:19:46 +01:00
mafiesto4 f007fb494a Merge branch 'Tryibion-remove-sorting-content-tree' 2022-12-27 19:14:10 +01:00
mafiesto4 df2e15fe8a Merge branch 'remove-sorting-content-tree' of https://github.com/Tryibion/FlaxEngine into Tryibion-remove-sorting-content-tree 2022-12-27 19:09:44 +01:00
mafiesto4 31ecc8a49f Merge branch 'Tryibion-UI-actornode-rename-change' 2022-12-27 19:07:35 +01:00
mafiesto4 25028e1d67 Improve renaming ContentTreeNode as in #849 2022-12-27 19:07:24 +01:00
mafiesto4 d8f092b60b Merge branch 'UI-actornode-rename-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-UI-actornode-rename-change 2022-12-27 19:04:25 +01:00
mafiesto4 9050377526 Fix imported shader source last char value to prevent strange diffs in Version Control Systems 2022-12-27 19:04:09 +01:00
mafiesto4 cb6590e7ef Format code 2022-12-27 18:50:08 +01:00
mafiesto4 2c7a83f8b9 Merge branch 'GoaLitiuM-fix_stringview_dict' 2022-12-27 18:45:05 +01:00
mafiesto4 489c7b46ee Merge branch 'fix_stringview_dict' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_stringview_dict 2022-12-27 18:43:52 +01:00
mafiesto4 762f460e23 Fix missing NetworkManager::ClientDisconnected call for local host client
#845
2022-12-27 18:41:36 +01:00
Tryibion 8c78493a51 Simplified auto save poprup and moved it to be on the status bar for better UX. 2022-12-27 10:08:08 -06:00
Olly Rybak 9099197a88 Added ability to change sample method 2022-12-27 22:26:01 +11:00
Olly Rybak a2f52edd47 Updated description & comments 2022-12-26 20:44:53 +11:00
Olly Rybak bba136c9fe Added comment to denote which node it is 2022-12-26 20:35:22 +11:00
Tryibion fc0befd773 Fixed some CM buttons that shouldnt close when clicked. 2022-12-23 11:08:14 -06:00
Olly Rybak 5022e05c25 Added Stochastic Sampling material node 2022-12-23 21:04:13 +11:00
Tryibion d7d7c1e98f Center the context menu that is spawned from clicking the add scripts button on an actor 2022-12-22 12:44:34 -06:00
mafiesto4 8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
mafiesto4 01612f1b47 Add tag native serialization 2022-12-22 19:23:30 +01:00
Tryibion c5e558172d Added auto save reminder popup with an option to change the reminder time. 2022-12-22 11:40:10 -06:00
Tryibion 96ec28c9a8 Cleaned up and used cross sprite. 2022-12-21 15:07:27 -06:00
Tryibion 1a11238808 Added name as author 2022-12-21 13:47:38 -06:00
mafiesto4 dc81147681 Convert C# tags checks utilities into extension methods for better usability 2022-12-21 18:18:17 +01:00
mafiesto4 cbef100a17 Add FindActor/FindActors with Tag to Level 2022-12-20 23:01:53 +01:00
mafiesto4 e6900d9a17 Minor adjustments to tags 2022-12-20 22:39:20 +01:00
mafiesto4 2f6e793df4 Add utility api for Tags usage 2022-12-20 22:39:11 +01:00
mafiesto4 0dd79fe10a Fix sub-context menu child popup still being open when parent context menu gets focused again by the user 2022-12-20 21:11:41 +01:00
mafiesto4 84f2e652e4 Fix comparison operator on Array and BitArray 2022-12-20 21:11:40 +01:00
mafiesto4 757728c96c Add option to override Custom Editor for array of type 2022-12-20 21:11:39 +01:00
mafiesto4 a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00
Tryibion e725533ba7 Changed all search boxes to new class. 2022-12-15 21:18:49 -06:00
Tryibion a468053f46 Added hover begin and end event to button 2022-12-15 21:09:34 -06:00
Tryibion 1c85b30e9f Change color of button on hover. 2022-12-15 20:53:47 -06:00
Tryibion 1b919b9fae Created new SearchBox class with button to clear the search. 2022-12-15 20:45:51 -06:00
mafiesto4 1cf6c5233e Refactor DDGI probes to use variable ray count depending on the probe location relative to the view frustum 2022-12-15 17:33:44 +01:00
mafiesto4 3fcbcacd43 Fix empty draw call submitting 2022-12-15 17:33:14 +01:00
Tryibion 6677177534 Removed variable MClass 2022-12-15 08:52:37 -06:00
Tryibion c3f23d1390 Added abstract check to spawning actor 2022-12-15 08:49:52 -06:00
Tryibion af5f3cbd95 Return null if type is abstract but trying to be added as an actor or script 2022-12-15 08:18:09 -06:00
Tryibion 86be1acd7a Cached sate of anchor drop down closed. 2022-12-15 07:45:08 -06:00
mafiesto4 b9244df8f7 Fix temporal anti-aliasing to provide better quality output 2022-12-15 12:40:21 +01:00
mafiesto4 63e7fb85ec Fix GetNativePtr on Vulkan 2022-12-14 16:16:43 +01:00
mafiesto4 79f4dfcaab Add GetNativePtr to GPUAdapter 2022-12-14 16:16:25 +01:00
mafiesto4 713aa3e0f9 Add SetResourceState and ForceRebindDescriptors to GPUContext for integration with external rendering libraries 2022-12-14 16:16:02 +01:00
Tryibion de79e43fb1 Code Style Fix 2022-12-14 08:30:44 -06:00
mafiesto4 c38eda5799 Fixes for compilation 2022-12-14 14:04:14 +01:00
mafiesto4 188428a7a9 Add RenderSetup and allow customizing it by gameplay and postfx 2022-12-14 14:03:59 +01:00
mafiesto4 c17477abff Add RenderingUpscaleLocation for customizing upscaler location in render pipeline 2022-12-13 11:52:52 +01:00
mafiesto4 ee019510ca Remove old RT1_FloatRGB and RT2_FloatRGB in favor pooled render targets 2022-12-13 11:52:51 +01:00
Tryibion 7eab3fe5b3 Added back sorting sub project directories. 2022-12-12 18:18:48 -06:00
Tryibion 8d9e3ded74 Remove sorting children in convtent view treeand make it so the game is on top, plugins in the middle, and engine at the bottom of the tree. This is for better UX. 2022-12-12 16:55:12 -06:00
mafiesto4 48b88af88a Fix deadlock in GPUDevice caused by f2c594569d 2022-12-12 20:16:11 +01:00
mafiesto4 516e3fbc65 Fix Visject surface input box color for missing connection type but with type hint 2022-12-12 12:17:30 +01:00
mafiesto4 359e7d68d4 Add simplified collider for in-built primitive meshes 2022-12-12 11:22:15 +01:00
mafiesto4 d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
mafiesto4 ed700cb070 Add **Assets profiler** to Editor 2022-12-09 15:46:01 +01:00
mafiesto4 e5742772ae Add more features to GPU Memory profiler tab 2022-12-09 11:28:53 +01:00
mafiesto4 a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
mafiesto4 202de3499f Rename property GetElementsCount to ElementsCount in C# GPUBufferDescription 2022-12-09 11:28:17 +01:00
mafiesto4 7f0c73606c Improve naming various GPU resources 2022-12-09 11:27:41 +01:00
mafiesto4 b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
Tryibion a45f7a86f2 Added Tooltips 2022-12-08 21:21:03 -06:00
Tryibion ffc5a4d24f Style fix 2022-12-08 20:42:39 -06:00
Tryibion 2e055d1909 Changed saved window layouts to be accessable from any project. added apply and delete buttons as well. 2022-12-08 20:40:21 -06:00
Tryibion 1a3bcc5d27 Changed default to true. 2022-12-08 16:21:10 -06:00
Tryibion ad0aadbf29 Changed location of renaming box for ActorTreeNodes to start at the label for better UX. 2022-12-08 16:06:39 -06:00
mafiesto4 d544c43744 Style fix 2022-12-08 16:30:58 +01:00
mafiesto4 9c2104391b Add profile events to editor profiler window 2022-12-08 16:30:51 +01:00
mafiesto4 df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Tryibion 95db33e614 Added string text box to end on click 2022-12-08 09:00:37 -06:00
Tryibion f81740f28c Merge branch 'click-to-submit-text' of https://github.com/Tryibion/FlaxEngine into click-to-submit-text 2022-12-08 08:33:09 -06:00
Tryibion eab775b9a2 Added RstoreTextFromStart function and changed the calls. Renamed bool. 2022-12-08 08:02:57 -06:00
Tryibion 9b82860154 Allows user to left click to end editing text and right click to change text back to its original and end editing. 2022-12-08 08:02:57 -06:00
mafiesto4 f2c594569d Remove GPUResourcesCollection and use GPUDevice instead to simplify code 2022-12-07 15:32:23 +01:00
mafiesto4 3017010ef4 Minor adjustments to the profiling tools code 2022-12-07 15:27:40 +01:00
mafiesto4 f426c75696 Fix recursive binary modules usage in scripting 2022-12-06 11:43:19 +01:00
mafiesto4 f918fa2a32 Merge remote-tracking branch 'origin/master' into 1.5 2022-12-05 09:24:15 +01:00
mafiesto4 5a50656249 Fix 2022-12-04 18:23:40 +01:00
mafiesto4 d5fa2d48db Merge branch 'GoaLitiuM-createprocess_attrib_alloc_fix' 2022-12-04 18:22:59 +01:00
mafiesto4 125ce06e4c Merge branch 'createprocess_attrib_alloc_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-createprocess_attrib_alloc_fix 2022-12-04 18:22:53 +01:00
mafiesto4 f8734db1e1 Revert "Fix Development build issue with Flax.Build running in Development mode"
This reverts commit 7e434932ae.
2022-12-04 18:22:38 +01:00
mafiesto4 7e434932ae Fix Development build issue with Flax.Build running in Development mode 2022-12-04 18:21:18 +01:00
GoaLitiuM 7eae439624 Fix RunProcess not working in development builds
Works around a possible compiler bug caused by db6aab1cf6
2022-12-04 18:09:07 +02:00
GoaLitiuM 5e5d88ed8e Fix input actions/axis lookups to not use StringView
The stored strings might point to temporary strings, causing garbage data
to be present in the dictionary at times.
2022-12-03 15:43:52 +02:00
mafiesto4 a0a087fc91 Mark UWP platform as deprecated 2022-12-03 13:21:06 +01:00
mafiesto4 b85d58db85 Mark UWP platform as deprecated 2022-12-03 13:17:24 +01:00
mafiesto4 2b6e3cf993 Fix lod preview typo in df45ac46b1 2022-12-03 13:10:47 +01:00
mafiesto4 df45ac46b1 Optimize various debug views performance 2022-12-03 12:23:39 +01:00
mafiesto4 950289db9f Fix crash when drawing scene in async and content streaming updates model residency 2022-12-03 11:23:26 +01:00
mafiesto4 98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
mafiesto4 6458d7e0db Add support for sending replicated object data in parts 2022-12-02 12:18:08 +01:00
mafiesto4 f61100deca Cleanup for networking impl 2022-12-02 10:55:12 +01:00
mafiesto4 adcffab78a Match C# string serialization in network stream to C++ impl 2022-12-02 10:36:52 +01:00
mafiesto4 eae8fd7ef9 Add AdditionalScenes to BuildSettings 2022-12-02 10:05:32 +01:00
mafiesto4 0f19fc64fd Add SceneReference to C++ scripting API 2022-12-02 10:05:07 +01:00
mafiesto4 cfffc76aa6 Fix potential crash 2022-12-02 10:04:46 +01:00
Wiktor Kocielski 2968399f2d Core classes Random & RandomStream port to C# 2022-12-01 19:54:57 +03:00
mafiesto4 66d01d8d7f Merge remote-tracking branch 'origin/master' into 1.5 2022-12-01 12:10:41 +01:00
mafiesto4 7486bc640f Add network profiler tab with network driver data sent/received 2022-11-30 22:05:58 +01:00
mafiesto4 7d6926e19f Merge branch 'plemsoft-PE-1.4-10' 2022-11-30 18:10:25 +01:00
mafiesto4 ce228c9003 Merge branch 'PE-1.4-10' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4-10 2022-11-30 18:10:20 +01:00
mafiesto4 12f8a15b8b Remove unused include 2022-11-30 18:07:27 +01:00
mafiesto4 8694d9f9b4 Fix helper mouse button up event on drag drop end on Windows
Regression from 4efd411045
2022-11-30 18:06:39 +01:00
mafiesto4 a3a001633b Fix Custom Editors groups regression 2022-11-30 17:47:56 +01:00
mafiesto4 e4840d35d6 Adjust network transform precision 2022-11-30 16:19:46 +01:00
mafiesto4 e5b4ce06b9 Add support for C# properties automatic replication codegen 2022-11-30 16:19:32 +01:00
mafiesto4 a819d657db Refactor network object spawnign to batch all subobjects with a single spawn message to reduce invalid objects linkage on different clients 2022-11-30 12:30:49 +01:00
mafiesto4 96742404fd Various improvements for network objects despawning 2022-11-30 12:30:48 +01:00
Tryibion 93a0facd93 Allows user to left click to end editing text and right click to change text back to its original and end editing. 2022-11-29 21:30:17 -06:00
mafiesto4 f5ed9292e7 Merge branch 'master' into 1.5 2022-11-29 23:19:01 +01:00
Preben Eriksen ee84d53cdc PE: Support normal generation when using assimp importer. 2022-11-29 11:09:34 +01:00
mafiesto4 9e1692e3e0 Code style cleanup
#837
2022-11-29 08:41:52 +01:00
mafiesto4 3f3697fbfa Code style cleanup
#837
2022-11-28 23:35:27 +01:00
mafiesto4 853fa482f6 Merge branch 'plemsoft-PE-1.4-5' 2022-11-28 23:22:56 +01:00
mafiesto4 8bf128dc0a Merge branch 'PE-1.4-5' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4-5 2022-11-28 23:22:49 +01:00
mafiesto4 69ad8bc672 Fix tests hanging if scripting compilation fails (eg. build tool issue) 2022-11-28 20:34:50 +01:00
mafiesto4 db6aab1cf6 Fix regression in memory allocators 2022-11-28 20:34:26 +01:00
Preben Eriksen cfb25840f9 Merge branch 'PE-1.4-3' into PE-1.4-5
* PE-1.4-3:
  PE: DDS - Improve import time if source already has mipmaps and are compressed.
2022-11-28 12:58:47 +01:00
Preben Eriksen 64debe08a8 Merge commit 'c73eb548c0e8967624d4cb85c8f80d230e583ef8' into PE-1.4-5
* commit 'c73eb548c0e8967624d4cb85c8f80d230e583ef8':
  PE: FBX Import - Improved normal map detection using diffuse name, if normap map was not setup inside object.
2022-11-28 12:58:18 +01:00
Preben Eriksen 460d0780a1 Merge commit '54ccf9edc7ffcda8490687ac9a4dbb4a652d4f63' into PE-1.4-5
* commit '54ccf9edc7ffcda8490687ac9a4dbb4a652d4f63':
  PE: Fixed - Custom animation import, frame index start and end was not the actual index but depended on frames per second. Made it impossible to use, now use the real frame index.
2022-11-28 12:57:53 +01:00
Preben Eriksen d03363b376 Merge commit '29900a3cc005f7f5ac74254d2b7a58920341d73c' into PE-1.4-5
* commit '29900a3cc005f7f5ac74254d2b7a58920341d73c':
  PE: Support importing WAV files that contain "extra format bytes" in "fmt" header.
2022-11-28 12:57:21 +01:00
Preben Eriksen de2374ad40 Merge commit 'b02020f8017bb4f3f22440bc39b60857ab364179' into PE-1.4-5
* commit 'b02020f8017bb4f3f22440bc39b60857ab364179':
  PE: AudioSource - Stop() folowed by Play() now act like a restart.
2022-11-28 12:56:30 +01:00
mafiesto4 681b873ba6 Merge branch 'Tryibion-drag-max-panels' 2022-11-27 21:48:32 +01:00
mafiesto4 86431d3d9a Merge branch 'drag-max-panels' of https://github.com/Tryibion/FlaxEngine into Tryibion-drag-max-panels 2022-11-27 21:47:52 +01:00
Tryibion 4a9a01a89e Moved check and ops to also fix issue #683 2022-11-27 14:23:01 -06:00
mafiesto4 7cfde78198 Code style fix 2022-11-27 21:05:20 +01:00
mafiesto4 3c963330e0 Merge branch 'RuanLucasGD-master' 2022-11-27 21:04:52 +01:00
mafiesto4 cd23f88d36 Merge branch 'master' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-master 2022-11-27 21:04:44 +01:00
mafiesto4 5bff437640 Merge branch 'Tryibion-drag-max-panels' 2022-11-27 21:03:06 +01:00
mafiesto4 08c035e7d8 Update engine materials 2022-11-27 20:33:45 +01:00
mafiesto4 3da7e8d7ba Additional improvement for RenderListBuffer 2022-11-27 20:33:39 +01:00
mafiesto4 8e52e2fb10 Merge branch 'master' into 1.5 2022-11-27 12:11:50 +01:00
mafiesto4 373350df1e Improve stability of RenderListBuffer resizing when multiple threads add and resize at the same time 2022-11-27 12:07:10 +01:00
mafiesto4 835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
mafiesto4 189575efec Add GPUDevice::CreateConstantBuffer for custom constants buffers usage 2022-11-26 21:17:05 +01:00
mafiesto4 39dc439cd8 Revert "Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now)"
This reverts commit c33fe04645.
2022-11-26 20:37:04 +01:00
mafiesto4 bdb27fef1b Minor optimizations 2022-11-26 12:08:53 +01:00
mafiesto4 c33fe04645 Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now) 2022-11-25 23:04:17 +01:00
Tryibion 8707d658f1 Added ability to drag maximized panels. 2022-11-25 15:14:04 -06:00
mafiesto4 b1618a88be Fix invalid rounding up to power of two in allocators
#833
2022-11-25 22:07:13 +01:00
mafiesto4 b4fdb0cc26 Improvements and fixes for multiplayer networking 2022-11-25 16:50:44 +01:00
Ruan Lucas 66ce8abe01 Adds side mouse button shortcuts to the Content window 2022-11-24 23:58:24 -04:00
mafiesto4 e6251ea4b0 Merge branch 'Tryibion-rename-on-click' 2022-11-24 21:55:29 +01:00
mafiesto4 f9cb2ece6e Merge branch 'rename-on-click' of https://github.com/Tryibion/FlaxEngine into Tryibion-rename-on-click 2022-11-24 21:55:21 +01:00
mafiesto4 e713273942 Fix textbox defocus on edit end
#789
2022-11-24 21:54:54 +01:00
mafiesto4 18c4e34af8 Fix invalid Math::RoundUpToPowerOf2
#833
2022-11-24 20:21:34 +01:00
mafiesto4 63c4eb17e4 Fix invalid Math::RoundUpToPowerOf2
#833
2022-11-24 20:20:36 +01:00
mafiesto4 5cc66d60dc Tweaks 2022-11-24 20:14:47 +01:00
mafiesto4 9076d3b82b Add Tracy profile zone to in-build profiling tools CPU update 2022-11-24 20:01:46 +01:00
mafiesto4 6f95f162d0 Move MotionVectors pass draw calls sorting to be together with the rest of the sortings 2022-11-24 20:01:28 +01:00
mafiesto4 33910eb310 Fix transform deltas check to prevent player teleporing against server will 2022-11-24 12:27:02 +01:00
mafiesto4 dbcb333ba9 Fix crash when using material in PostFx global graphics settings (asset loaded before GPU init) 2022-11-24 09:58:46 +01:00
mafiesto4 76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
mafiesto4 90bf466495 Merge branch 'Tryibion-Better-Actor-Toolbox' 2022-11-23 19:02:34 +01:00
mafiesto4 b581bf7bac Merge branch 'Better-Actor-Toolbox' of https://github.com/Tryibion/FlaxEngine into Tryibion-Better-Actor-Toolbox 2022-11-23 19:02:26 +01:00
mafiesto4 caeb999d6a Fix warning 2022-11-23 17:28:00 +01:00
mafiesto4 45e2de86a0 Add ReplicationModes to NetworkTransform with interpolation and prediction modes 2022-11-23 17:26:31 +01:00
mafiesto4 2644b4d75a Various improvements to the networking 2022-11-23 17:26:30 +01:00
mafiesto4 8e41711e82 Add check for valid RPC impl define usage 2022-11-23 17:26:30 +01:00
mafiesto4 073bd74b3c Fix replicating client object references on a server 2022-11-23 17:26:29 +01:00
mafiesto4 62cf8bebd0 Bump up materials version after merge of two upgrades 2022-11-22 20:09:59 +01:00
mafiesto4 2ad6eb0c72 Merge branch 'master' into 1.5 2022-11-22 19:58:53 +01:00
mafiesto4 2e46ebea7a Update engine assets 2022-11-21 23:46:27 +01:00
mafiesto4 c55d38534d Add WorldPosition to postfx material scene textures for world-space position sampling at uv 2022-11-21 23:45:13 +01:00
mafiesto4 99c296ff3a Merge source files 2022-11-21 23:35:03 +01:00
mafiesto4 cae7f34ab2 Merge branch 'Tryibion-mouse-pos-fix-for-value-box' 2022-11-21 19:31:24 +01:00
mafiesto4 258b0c777f Merge branch 'mouse-pos-fix-for-value-box' of https://github.com/Tryibion/FlaxEngine into Tryibion-mouse-pos-fix-for-value-box 2022-11-21 19:31:19 +01:00
mafiesto4 d1d48ec31d Merge branch 'GoaLitiuM-fix_empty_shadercache_crash' 2022-11-21 19:30:18 +01:00
mafiesto4 ae56abc929 Merge branch 'fix_empty_shadercache_crash' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_empty_shadercache_crash 2022-11-21 19:30:07 +01:00
mafiesto4 b3cc973ade Merge branch 'GoaLitiuM-msbuild_vspreview' 2022-11-21 19:29:06 +01:00
mafiesto4 cbb4b11660 Merge branch 'msbuild_vspreview' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-msbuild_vspreview 2022-11-21 19:29:01 +01:00
mafiesto4 71764eba03 Merge branch 'Tryibion-particle-effect-actor-fix' 2022-11-21 19:26:50 +01:00
mafiesto4 17b7fcde27 Merge branch 'particle-effect-actor-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-particle-effect-actor-fix 2022-11-21 19:26:43 +01:00
mafiesto4 bcb890eab1 Merge branch 'Tryibion-organized-content-new-cm' 2022-11-21 18:56:43 +01:00
mafiesto4 5a6f6d97a7 Minor code adjustments
#810
2022-11-21 18:55:33 +01:00
mafiesto4 af244718be Merge branch 'organized-content-new-cm' of https://github.com/Tryibion/FlaxEngine into Tryibion-organized-content-new-cm 2022-11-21 16:15:04 +01:00
mafiesto4 6397381950 Merge branch 'Tryibion-better-material-source-window' 2022-11-21 16:11:41 +01:00
mafiesto4 c514aad9a3 Code style fix
#818
2022-11-21 16:11:35 +01:00
mafiesto4 c5d1897acf Rename CanScrollMultilineText to IsMultilineScrollable to match the other properties naming
#818
2022-11-21 16:10:53 +01:00
mafiesto4 c21c57605a Merge branch 'better-material-source-window' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-material-source-window 2022-11-21 16:07:52 +01:00
mafiesto4 43d70c7fab Merge branch 'Tryibion-editor-view-tab-close-fix' 2022-11-21 16:05:55 +01:00
mafiesto4 864d4981ed Merge branch 'editor-view-tab-close-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-view-tab-close-fix 2022-11-21 16:04:11 +01:00
mafiesto4 eeff5ea3ae Fix crash in Text Render drawing 2022-11-21 15:52:36 +01:00
mafiesto4 93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
mafiesto4 b139ebfe88 Fix crash when reading Transform from native data stream 2022-11-21 15:37:17 +01:00
mafiesto4 bed880248c Update Github Actions scripts components to the latest version 2022-11-21 14:59:55 +01:00
mafiesto4 1dfea17bce Fix client rpc 2022-11-21 14:32:48 +01:00
mafiesto4 33e2fa7f9e Fix game build 2022-11-21 14:23:59 +01:00
Tryibion 4f38a87eed Changed using screen coords to using window points. 2022-11-19 16:33:09 -06:00
GoaLitiuM 54e30c35e9 Fix crash when shader cache file is empty 2022-11-17 21:22:32 +02:00
GoaLitiuM 911ca7f995 Support MSBuild in preview version Visual Studio in build scripts 2022-11-17 21:17:39 +02:00
mafiesto4 bdea0930da Add info about .Net Framework SDK for engine devs
#821
2022-11-16 23:33:14 +01:00
mafiesto4 ff8e002d33 Fix missing output clear when reading text array in OpenFBX
https://github.com/nem0/OpenFBX/pull/80
2022-11-16 18:37:12 +01:00
mafiesto4 26ff8e62eb Additional change to vscode project 2022-11-16 17:55:20 +01:00
mafiesto4 84bd7da620 Revert part of 5b212bb8bc #743 2022-11-16 17:54:18 +01:00
mafiesto4 1b7a7dc15c Add network RPCs to C# codegen 2022-11-16 17:31:28 +01:00
mafiesto4 efb48697fa Add network RPCs 2022-11-16 17:31:28 +01:00
mafiesto4 91ff0f76f8 Add network stats API for transport layer 2022-11-16 17:31:27 +01:00
mafiesto4 e113d5c549 Add NetworkLagDriver for lag simulation over low-level network transport layer 2022-11-16 17:31:26 +01:00
mafiesto4 c0f596a00e Add ScriptingObjectReference for Read/WriteStream and scripting interop as an array 2022-11-16 17:31:26 +01:00
mafiesto4 c41d67c4ac Update engine materials 2022-11-16 09:57:23 +01:00
mafiesto4 16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00
mafiesto4 20661fc902 Fix custom interpolators register index 2022-11-16 09:56:36 +01:00
mafiesto4 3b4d91924f Add draw call sorting keys generation during draw calls collection (async) 2022-11-16 09:20:56 +01:00
mafiesto4 eb281a7574 Additional improvements to scene rendering 2022-11-15 22:39:03 +01:00
mafiesto4 a2670dc3b5 Refactor ConcurrentArray into RenderListBuffer for specialized usage in renderer 2022-11-15 17:43:30 +01:00
Tryibion ade5166977 fix editor updating base values 2022-11-14 20:00:54 -06:00
Tryibion 68a5073b29 fixed issue when asset picker has no value on particle effect 2022-11-14 18:45:44 -06:00
Tryibion 6c26cbe9ba Removed adding inherited types 2022-11-11 17:11:25 -06:00
Tryibion de6cd88870 Changed names of a couple base types to match before change 2022-11-11 17:08:07 -06:00
Tryibion 6b4da88ef0 Added the ability to specify the name of the actor in the toolbox, works in searching as well. 2022-11-11 17:03:04 -06:00
Tryibion 62cd59549d removed some old code 2022-11-11 16:38:34 -06:00
Tryibion 4515844219 changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute 2022-11-11 16:37:45 -06:00
Tryibion 6c18ca3f45 changed to MouseButtonDown 2022-11-11 12:45:10 -06:00
Tryibion eab45f0c48 renames item when clicking off of the popup and name is changed 2022-11-11 12:42:12 -06:00
mafiesto4 b47d95205f Add optional async scene drawing and improve stability 2022-11-11 15:47:33 +01:00
mafiesto4 881880fc34 Fixes for ConcurrentArray usage 2022-11-10 23:46:59 +01:00
mafiesto4 72244be201 Add separate async job for each foliage type drawing 2022-11-10 23:46:43 +01:00
mafiesto4 aa978ce0e4 Minor improvements 2022-11-10 23:45:58 +01:00
mafiesto4 4ba1531cda Add async scene drawing for Foliage and Terrain 2022-11-10 23:43:36 +01:00
Preben Eriksen c26e0f5923 PE: DDS - Improve import time if source already has mipmaps and are compressed. 2022-11-10 13:41:40 +01:00
Preben Eriksen c73eb548c0 PE: FBX Import - Improved normal map detection using diffuse name, if normap map was not setup inside object. 2022-11-10 13:14:19 +01:00
Preben Eriksen 54ccf9edc7 PE: Fixed - Custom animation import, frame index start and end was not the actual index but depended on frames per second. Made it impossible to use, now use the real frame index. 2022-11-10 11:35:29 +01:00
Preben Eriksen 29900a3cc0 PE: Support importing WAV files that contain "extra format bytes" in "fmt" header. 2022-11-10 11:19:29 +01:00
Preben Eriksen b02020f801 PE: AudioSource - Stop() folowed by Play() now act like a restart. 2022-11-10 10:51:20 +01:00
mafiesto4 ea5e38fdd1 Fixes for overriden draw calls material in debug views 2022-11-10 00:22:23 +01:00
mafiesto4 e53623e854 Fix crash with custom SelectionOutline postfx object in Editor viewport 2022-11-08 19:52:47 +01:00
mafiesto4 81c13825c5 Merge branch 'Tryibion-actor-CM' 2022-11-06 23:05:59 +01:00
mafiesto4 e98621b887 Code style fix
#814
2022-11-06 23:05:36 +01:00
mafiesto4 735b07f0d7 Merge branch 'actor-CM' of https://github.com/Tryibion/FlaxEngine into Tryibion-actor-CM 2022-11-06 22:22:45 +01:00
mafiesto4 81f7f91d73 Merge branch 'plemsoft-PE-1.4-2' 2022-11-06 22:19:06 +01:00
mafiesto4 08f71f4469 Merge branch 'PE-1.4-2' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4-2 2022-11-06 22:17:58 +01:00
mafiesto4 299f5e8732 Merge branch 'Tryibion-prefab-tree-fix' 2022-11-06 22:05:44 +01:00
mafiesto4 ac89b395af Merge branch 'prefab-tree-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-tree-fix 2022-11-06 22:05:22 +01:00
Tryibion 3ac77121f5 made readonly text and fixed sizing 2022-11-06 13:45:06 -06:00
mafiesto4 f2170a09cd Optimize GlobalSDF actors drawing CPU perf 2022-11-06 20:44:44 +01:00
mafiesto4 9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
mafiesto4 183636289a Optimize shadow projections rendering contexts to collect draw call indices only (draw calls from main render list) 2022-11-06 20:44:42 +01:00
Tryibion 14f64b5b20 dont close when clicking on view editor CM buttons that are not buttons. 2022-11-04 12:58:42 -05:00
Tryibion 6ace0961b3 added to resize the x and y on text changed 2022-11-04 10:57:47 -05:00
Tryibion c817b63927 made it easier to scroll and resize the material source window. and added the ability to change if the text can be scrolled in the text box 2022-11-04 10:53:29 -05:00
Tryibion de4d3d97f2 removed not needed variable 2022-11-04 07:10:24 -05:00
mafiesto4 996d38b61d Add scripts dragging support to scene tree for reparenting 2022-11-04 12:49:46 +01:00
mafiesto4 e38ab163c4 Add support for hierarchical objects ownership 2022-11-03 14:34:35 +01:00
mafiesto4 007a5cb5ca Add Float2/Float3/Float4 replication in C# 2022-11-03 14:33:39 +01:00
Tryibion 2dca30305f added shader source and removed unused variables/includes 2022-11-03 08:12:40 -05:00
mafiesto4 0c9001e3d1 Fixes 2022-11-03 08:53:09 +01:00
mafiesto4 b816e2b3a9 Add INetworkObject and implement various networking features 2022-11-03 08:53:09 +01:00
mafiesto4 957a34866b Fix null String serialization over network via C# API 2022-11-03 08:53:08 +01:00
mafiesto4 70cfbada04 Add support for spawning network object on custom set of clients 2022-11-03 08:53:07 +01:00
mafiesto4 043beb03a9 Add support for DataContainer in scripting api bindings 2022-11-03 08:53:07 +01:00
Tryibion 7487b468d3 added extra checks 2022-11-02 18:37:11 -05:00
mafiesto4 0f619c2cb6 Simplify code 2022-11-03 00:19:21 +01:00
mafiesto4 b2a9ee495a Optimize PrevWorld updating during scene rendering 2022-11-03 00:08:30 +01:00
Tryibion a1e4400994 changed to use attribute to add items to the content context menu, this also allows users to add their own items to the CM 2022-11-02 17:57:40 -05:00
mafiesto4 949f16fba8 Fix returning bool value in overriden scripting method 2022-11-02 20:30:40 +01:00
mafiesto4 5bd56cae81 Fix GlobalSDF rasterization of heightfield 2022-11-02 20:30:13 +01:00
mafiesto4 6a61b692aa Refactor PostProcessEffect to support C++ scripting 2022-11-02 20:29:59 +01:00
mafiesto4 86b6b20200 Fix incorrect skybox cubemap caching dirty interval 2022-11-01 23:15:43 +01:00
mafiesto4 f37ed16270 Optimize GPUBuffer on D3D11 to not stall CPU on reading staging readback buffer 2022-11-01 21:31:42 +01:00
mafiesto4 a0a3457733 Add more profiling data for Tracy 2022-11-01 15:46:21 +01:00
mafiesto4 8a98f466c5 Use named events for GPU passes for CPU profiling usability 2022-11-01 12:50:17 +01:00
Tryibion 1af0188a3c changed how actor context menus are created. 2022-10-31 19:18:43 -05:00
mafiesto4 a945e2c2a5 Fix GlobalSDF and GlobalSurfaceAtlas drawing if disabled by user 2022-11-01 01:01:22 +01:00
mafiesto4 a66c72a0c2 Optimize GlobalSDF performance on CPU when scene is mostly static 2022-11-01 01:00:58 +01:00
mafiesto4 ec62763e87 Optimize Global SDF cascades updates intervals (max 1 cascade per frame) 2022-11-01 00:37:01 +01:00
mafiesto4 5f4aa39263 Global SDF improvements 2022-10-31 23:43:37 +01:00
mafiesto4 0898723a45 Fix Global SDF rasterization when loading scene 2022-10-31 22:18:45 +01:00
mafiesto4 01a7ae8bd4 Add NetworkTransform component 2022-10-31 16:31:06 +01:00
Preben Eriksen 1d9f5e8cfe PE: Fixed - flax storage crash , happened quit often on my system. 2022-10-31 16:07:43 +01:00
mafiesto4 5e81d83648 Fix 2022-10-31 13:36:13 +01:00
mafiesto4 2475b46375 Fix INetworkSerializable if class has vtable offset 2022-10-31 13:25:29 +01:00
mafiesto4 a90de82e45 Add network objects dirtying api 2022-10-31 12:21:04 +01:00
mafiesto4 ecfcc88dda Add network serializer callback for type without it but with valid base type serializer 2022-10-31 12:21:03 +01:00
mafiesto4 77b98f7081 Add Layer and StaticFlags from parent actor after spawnign actor in Prefab Window 2022-10-31 12:21:02 +01:00
mafiesto4 00c5f7d5d4 Add prefabs spawning over network 2022-10-31 12:21:02 +01:00
Tryibion 050635b2cd changed way that the the new menu is generated. Added category name to proxies 2022-10-30 14:30:32 -05:00
mafiesto4 f1b67935b3 Optimize BoundingFrustum::Intersects(BoundingSphere) 2022-10-29 21:13:21 +02:00
mafiesto4 00be6ffb89 Merge branch 'master' into 1.5 2022-10-29 20:45:51 +02:00
mafiesto4 38d65d38d1 Merge branch 'Tryibion-better-tool-tip-hide-on-drag' 2022-10-29 19:36:29 +02:00
mafiesto4 ccd830a270 Merge branch 'better-tool-tip-hide-on-drag' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-tool-tip-hide-on-drag 2022-10-29 19:34:02 +02:00
mafiesto4 e1836a222c Fix bug with Screen.CursorVisible set in script OnStart
#799
2022-10-29 19:33:34 +02:00
mafiesto4 7ddc1a1553 Code style fix 2022-10-29 19:05:35 +02:00
mafiesto4 5fe1d3f12f Merge branch 'Tryibion-event-for-keydown-textbox' 2022-10-29 19:05:14 +02:00
mafiesto4 76bc412fdd Merge branch 'event-for-keydown-textbox' of https://github.com/Tryibion/FlaxEngine into Tryibion-event-for-keydown-textbox 2022-10-29 19:05:07 +02:00
mafiesto4 57e812d336 Fix audio clips streaming to be thread-safe when audio sources play
#786
2022-10-29 18:57:57 +02:00
mafiesto4 6379171fa6 Fix crash due to bdb69d57dd (Mono typenames are invalid after dll unloaded) 2022-10-29 18:56:21 +02:00
Tryibion 50414d7fed added deselecting nodes when left clicking in blank area in the scene and prefab tree views 2022-10-29 09:22:39 -05:00
Tryibion 40a04bc5d6 Various fixes to prefab tree view. Scrolling like scene view, disable scrolling on renaming, can open CM anywhere in tree panel. 2022-10-29 09:14:08 -05:00
mafiesto4 7535f22b10 Merge branch 'plemsoft-PE-1.4' 2022-10-29 12:04:55 +02:00
mafiesto4 4ba93d9d86 Code cleanup #765 2022-10-29 12:04:42 +02:00
mafiesto4 f67d1412de Add undo/redo and navmesh dirtying when using selection rotate shortcut (R key)
#765
2022-10-29 11:50:16 +02:00
mafiesto4 c41248f402 Optimize asset registry paths check to use StringUtils::CompareIgnoreCase instead of String::ToLowerToLower
#765
2022-10-29 11:42:06 +02:00
mafiesto4 5cfe3b88c7 Add unit test for ModelTool::DetectLodIndex and improve LOD index detection further
#765
2022-10-29 11:38:20 +02:00
mafiesto4 bd562a374a Merge branch 'PE-1.4' of https://github.com/plemsoft/FlaxEngine into plemsoft-PE-1.4 2022-10-29 11:15:36 +02:00
mafiesto4 284917796a Merge branch 'PrecisionRender-triplanar-uv' 2022-10-28 17:54:05 +02:00
mafiesto4 27ad3c38b7 Rename RenderListAllocation into RendererAllocation 2022-10-28 17:53:22 +02:00
mafiesto4 eb52d333ae Refactor scene rendering to use batched culling for main view and shadow projections 2022-10-28 17:53:21 +02:00
mafiesto4 e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Tryibion 3c689a4697 removed not needed variables and fixed variable names 2022-10-28 08:32:52 -05:00
mafiesto4 4123e4cf69 Improve network replication debug log usage 2022-10-28 13:19:26 +02:00
mafiesto4 2c2071285a Add proper networked objects destruction upon despawn or shutdown 2022-10-28 11:12:39 +02:00
Tryibion 3f135c832e organized the "new" child context menu into categories. 2022-10-27 23:05:51 -05:00
mafiesto4 e8d39e706f Add C++ properties replication support 2022-10-27 16:21:53 +02:00
mafiesto4 52e0e70908 Add support for different access level for scripting property functions 2022-10-27 15:14:34 +02:00
mafiesto4 28dda32f0e Fix when spawning already spawned object 2022-10-27 14:41:03 +02:00
mafiesto4 bff93de116 Various improvements for networking 2022-10-27 14:18:53 +02:00
mafiesto4 c89929a940 Fix crash when low-level network driver fails to start 2022-10-27 14:18:39 +02:00
mafiesto4 312d1735ef Attempt to fix clang compilation 2022-10-27 13:39:35 +02:00
mafiesto4 5e60085371 Add automatic parenting for scene objects spawned over the network 2022-10-27 13:30:22 +02:00
mafiesto4 3ede538fcb Add support for non-const ref parameters with conversion (eg. string or array) in scripting api function parameters 2022-10-26 15:59:34 +02:00
mafiesto4 5c270810d0 Refactor GetNonTerminatedText into GetText in StringView 2022-10-26 15:59:03 +02:00
mafiesto4 0dec70847f Add support for StringAnsi in scripting api 2022-10-26 15:00:39 +02:00
mafiesto4 19f1c4251c Fix scripting api bindings for types with changed scripting name (other than native type name) 2022-10-26 15:00:29 +02:00
mafiesto4 d90245bf32 Add Tag parsing in scripting type (for custom extensions) 2022-10-26 14:59:50 +02:00
mafiesto4 2c7d2893c8 Add Color.FromRGBA 2022-10-26 14:58:55 +02:00
mafiesto4 b3eb38009d Improve various types usage in scripting api 2022-10-26 14:58:46 +02:00
mafiesto4 3f1dba86a3 Fix parsing scripting function parameters with function parameter within default parameter value 2022-10-26 14:58:05 +02:00
Preben Eriksen 6a5efdeb29 PE: Fix - Ansi is max 7 bit, assimp/openfbx only support ansi paths. ( https://github.com/FlaxEngine/FlaxEngine/issues/806 ) 2022-10-26 10:00:16 +02:00
Preben Eriksen 8a46aec294 Merge branch 'PE-1.4' of https://github.com/plemsoft/FlaxEngine into PE-1.4 2022-10-26 09:58:42 +02:00
Preben Eriksen fd831f569c PE: Fix - Streaming audio could not loop. ( https://github.com/FlaxEngine/FlaxEngine/issues/786 ) 2022-10-26 09:54:10 +02:00
Tryibion 2297ba3c86 moved where hiding the tooltip is called when starting to drag for better response 2022-10-25 16:38:23 -05:00
mafiesto4 cd4d15e0e2 Minor improvements 2022-10-25 15:07:04 +02:00
mafiesto4 044e141848 Add Render2D.DrawTexturedTriangles with index buffer 2022-10-25 15:06:52 +02:00
mafiesto4 d73822046f Bump up version number 2022-10-25 15:06:31 +02:00
Preben Eriksen 148b15d473 Merge branch 'master' into PE-1.4 2022-10-25 09:19:01 +02:00
PrecisionRender 748c58d52e Initial commit 2022-10-24 19:36:16 -05:00
Tryibion a79b642613 Added KeyUp event in TextBoxBase 2022-10-24 14:11:34 -05:00
Tryibion 616379c54b Added an event to subscribe to in TextBoxBase that gets fired when a key is down. 2022-10-24 14:00:56 -05:00
mafiesto4 91663f0202 Merge branch 'Tryibion-smoother-content-view' 2022-10-24 16:44:20 +02:00
mafiesto4 f078499dfb Another adjustment to have position aligned too #796 2022-10-24 16:44:11 +02:00
Tryibion 87a0c671f6 Adjusted only the bounds for content items to be floored. 2022-10-24 09:01:40 -05:00
mafiesto4 8a76d32ded Various improvements 2022-10-24 15:29:30 +02:00
mafiesto4 30fdde614d Add network objects ownership changing with network sync 2022-10-24 15:02:11 +02:00
mafiesto4 494de7a9f4 Rename 2022-10-24 14:35:43 +02:00
mafiesto4 b8697e7204 Rename 2022-10-24 14:30:08 +02:00
mafiesto4 479a83fdef Add objects despawning in networking 2022-10-24 13:25:57 +02:00
mafiesto4 437ed07368 Merge remote-tracking branch 'origin/master' into 1.5 2022-10-24 12:07:39 +02:00
mafiesto4 771f8ad02b Add objects spawning to networking 2022-10-24 12:07:16 +02:00
Preben Eriksen 56c9ed3197 PE: Fix - Linux error "implicitly convert type 'double' to 'float'." 2022-10-24 09:10:15 +02:00
mafiesto4 1ef16fde92 Merge branch 'Tryibion-CM-fix-open-left' 2022-10-23 23:49:58 +02:00
mafiesto4 b7b31aad8e Code style fix
#793
2022-10-23 23:49:46 +02:00
mafiesto4 2b514cc10e Merge branch 'CM-fix-open-left' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-fix-open-left 2022-10-23 23:48:49 +02:00
mafiesto4 5cff11ce4a Merge branch 'Tryibion-value-box-cursor-change' 2022-10-23 23:46:32 +02:00
mafiesto4 6f380a6f12 Code style fix
#783
2022-10-23 23:46:11 +02:00
mafiesto4 0ec76d678d Merge branch 'value-box-cursor-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-value-box-cursor-change 2022-10-23 23:45:13 +02:00
mafiesto4 f29d779425 Merge branch 'Tryibion-better-content-item-layout' 2022-10-23 22:38:48 +02:00
mafiesto4 1fb19ee023 Adjust content view items to whole pixels to reduce text aliasing
#794
2022-10-23 22:38:38 +02:00
mafiesto4 124c287537 Merge branch 'better-content-item-layout' of https://github.com/Tryibion/FlaxEngine into Tryibion-better-content-item-layout 2022-10-23 22:02:11 +02:00
mafiesto4 c43de26d83 Merge branch 'Tryibion-change-script-order-default' 2022-10-23 21:59:28 +02:00
mafiesto4 3cb37bf7b0 Merge branch 'change-script-order-default' of https://github.com/Tryibion/FlaxEngine into Tryibion-change-script-order-default 2022-10-23 21:56:28 +02:00
mafiesto4 0b461f05ca Merge branch 'Tryibion-dont-close-childCM-onclick' 2022-10-23 20:36:57 +02:00
mafiesto4 13be6b75f2 Merge branch 'dont-close-childCM-onclick' of https://github.com/Tryibion/FlaxEngine into Tryibion-dont-close-childCM-onclick 2022-10-23 20:35:17 +02:00
mafiesto4 7636108844 Merge branch 'RuanLucasGD-master' 2022-10-23 20:34:02 +02:00
mafiesto4 1914fa519d Merge branch 'master' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-master 2022-10-23 20:32:26 +02:00
mafiesto4 bfe51d6555 Merge branch 'Tryibion-move-updatecamerapreview' 2022-10-23 20:15:03 +02:00
mafiesto4 5341e355ce Code style fix
#782
2022-10-23 20:14:58 +02:00
mafiesto4 de012a23ee Merge branch 'move-updatecamerapreview' of https://github.com/Tryibion/FlaxEngine into Tryibion-move-updatecamerapreview 2022-10-23 19:15:46 +02:00
mafiesto4 108b13fd0d Merge branch 'Tryibion-cursor-change-for-property-splitter' 2022-10-23 19:14:40 +02:00
mafiesto4 1c0f2f2b81 Merge branch 'cursor-change-for-property-splitter' of https://github.com/Tryibion/FlaxEngine into Tryibion-cursor-change-for-property-splitter 2022-10-23 19:11:28 +02:00
mafiesto4 0a17ff3b3a Merge branch 'Tryibion-cache-transform-snapping-state' 2022-10-23 14:26:15 +02:00
mafiesto4 d89e31d155 Code style fix
#777
2022-10-23 14:26:06 +02:00
mafiesto4 5e5abcdc3f Merge branch 'cache-transform-snapping-state' of https://github.com/Tryibion/FlaxEngine into Tryibion-cache-transform-snapping-state 2022-10-23 14:20:49 +02:00
mafiesto4 0422efcf03 Merge branch 'Tryibion-scroll-fix' 2022-10-23 14:19:30 +02:00
mafiesto4 70c53a4f67 Fix error if nothing is selected 2022-10-23 14:19:17 +02:00
mafiesto4 c6523ed9cd Fix crash when presenting task which swap chain is not ready 2022-10-23 14:18:55 +02:00
Preben Eriksen 2a7e59ae5d PE: Fix issue with using "shift" to duplicate object, this only worked every second time if using a large grid. 2022-10-23 12:20:01 +02:00
Preben Eriksen edf339a942 PE: Added - Bounding Box Snapping, it dont matter what size objects are they will always snap perfectly. 2022-10-23 09:48:18 +02:00
Preben Eriksen b3bb860195 PE: Added - Use "R" key to rotate selections by 45 degrees. 2022-10-23 09:45:27 +02:00
Tryibion 9bd13c8ed5 This adds more spacing between the content items in the content view and allows for resizing better than before. 2022-10-21 20:31:19 -05:00
Tryibion 1c44c42b52 fixed position of child CMs when having to open left 2022-10-21 14:14:13 -05:00
mafiesto4 ef77cdfe3f Fix Clang compilation 2022-10-21 19:49:28 +02:00
mafiesto4 727d29ee07 Fix Clang compilation 2022-10-21 19:32:10 +02:00
mafiesto4 52b1b19b02 Fix Clang compilation 2022-10-21 19:06:05 +02:00
mafiesto4 8b446edc06 Fix Clang compilation 2022-10-21 18:42:33 +02:00
mafiesto4 42d1f40b9c Optimize some code by manual inlining 2022-10-21 18:36:29 +02:00
mafiesto4 b7b4391cff Fix some editor panels to have focus on change 2022-10-21 18:36:28 +02:00
Tryibion 0765b82a39 changed the default for script memebers order. 2022-10-21 09:54:16 -05:00
mafiesto4 8dec405f4f Add iterator copy operator in collections 2022-10-21 15:40:47 +02:00
Ruan Lucas 4d73638a8b Merge branch 'FlaxEngine:master' into master 2022-10-20 20:50:32 -04:00
Ruan Lucas ca49454615 remove unused include 2022-10-20 20:49:37 -04:00
Tryibion b20967559b added to not close the child context menu on click 2022-10-20 19:49:36 -05:00
Ruan Lucas e1dc5a2e81 remove incorrect method 2022-10-20 20:47:02 -04:00
Ruan Lucas a4333dfcb6 add flag to work for desktop and linux only 2022-10-20 20:26:08 -04:00
Ruan Lucas a65e812b45 Add method that returns a list of standard monitor resolutions 2022-10-20 19:57:23 -04:00
mafiesto4 32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
mafiesto4 e5866a3ff4 Fix generated replication C# code reference to NetworkStream type 2022-10-20 15:18:21 +02:00
Tryibion 78bd7713a9 value boxes now hide your slide and return your mouse to the original position. 2022-10-19 21:41:58 -05:00
Tryibion 5d8403be5b moved UpdateCameraPreview call to on selection changed and on state change 2022-10-19 20:59:55 -05:00
Tryibion dd20da89d7 added cursor change for changing of the property splitter 2022-10-19 19:45:07 -05:00
mafiesto4 191a75fd22 Add unique client ids assigning 2022-10-20 00:03:57 +02:00
Tryibion dbcaf28f39 added if check on enum parse 2022-10-19 15:28:59 -05:00
Tryibion 13150ea553 changed snap enable to still use default values if cache data doesnt exist 2022-10-19 15:25:42 -05:00
Tryibion 14a9c99496 fixed small bug of scene window not resizing when something is deleted but window isnt focused 2022-10-19 14:50:39 -05:00
mafiesto4 3fd8c7f928 Add replication messages dropping for old messages (due to unordered channel usage via UDP) 2022-10-19 21:04:20 +02:00
Tryibion 9f9cc0e1ec cleaned up comments 2022-10-19 07:22:09 -05:00
mafiesto4 e115aa2c4e Merge remote-tracking branch 'origin/master' into 1.5
# Conflicts:
#	Source/Engine/Content/JsonAsset.cpp
2022-10-19 13:36:46 +02:00
mafiesto4 ff49401f3a Use objects id mapping for networking to have proper replication of networked object references 2022-10-19 13:14:16 +02:00
mafiesto4 a5a39ac3d6 Fix crash in object id reference replication 2022-10-19 11:35:50 +02:00
mafiesto4 7621252f46 Add automatic replication for C# types with fields marked with NetworkReplicated attribute 2022-10-19 09:26:40 +02:00
mafiesto4 0c120494b4 Improve Mono.Cecil type search if typed reference doesn't exist 2022-10-18 15:26:14 +02:00
mafiesto4 76b14af7ec Add various improvements 2022-10-18 15:03:56 +02:00
mafiesto4 dda4f26102 Add support for custom Action Command in TaskGraph 2022-10-18 15:03:09 +02:00
mafiesto4 3a3a94b610 Add Mono.Cecil to Flax.Build 2022-10-18 15:02:49 +02:00
Tryibion 6c470c1247 added caching of transform space and loading 2022-10-17 21:29:58 -05:00
Tryibion 456934c737 Added caching and loading snapping values 2022-10-17 21:18:46 -05:00
Tryibion 212fc0838a remove not needed include 2022-10-17 19:57:40 -05:00
Tryibion 2c3007eb2b cache viewport snapping enabled 2022-10-17 19:55:30 -05:00
Tryibion ef34ad7600 Renamed scrollPosition to scrollControl for more accurate description 2022-10-16 19:05:41 -05:00
Tryibion 546501a553 Added performing layout when deleting actors and scrolling to duplicated/ pasted actors when action is performed. 2022-10-16 18:50:00 -05:00
Ruan Lucas 37c8aacd8b Fix math node size 2022-10-14 15:20:57 -04:00
mafiesto4 f6857f66ba Merge branch 'cristhofermarques-mouse_fix' 2022-10-13 23:12:28 +02:00
Cristhofer Marques 527ba719f4 update to the new variable names 2022-10-13 09:15:04 -03:00
Cristhofer Marques 2c12fffdf6 reset value when start/stop mouse tracking 2022-10-13 09:14:05 -03:00
Cristhofer Marques 84009baeb0 change vars name and add code doc 2022-10-13 09:10:35 -03:00
mafiesto4 c12ea8428e Add FlaxEngine.Object.FromUnmanagedPtr for native object raw pointer conversion to managed object 2022-10-13 13:35:59 +02:00
mafiesto4 5c24f8c365 Add ScriptingTypeHandle support for scripting bindings as System.Type 2022-10-13 13:35:15 +02:00
Cristhofer Marques 0e45f16b19 update timeline edge to use the mouse flipping info 2022-10-13 01:14:47 -03:00
Cristhofer Marques f22a71509b fix value box sliding 2022-10-13 01:12:38 -03:00
Cristhofer Marques ae04253ba4 added is flipping mouse on windows platform 2022-10-13 01:11:33 -03:00
Cristhofer Marques 7656c6981e added is flipping variables 2022-10-13 01:09:31 -03:00
mafiesto4 d1add033b1 Merge branch 'cristhofermarques-small_editor_fix' 2022-10-12 20:40:39 +02:00
mafiesto4 3c9d9cd8d6 Add support for deserialization of deprecated properties in scripting types 2022-10-12 20:39:40 +02:00
mafiesto4 607afeee50 Add proper deserialization of old values pre-renaming
#767
2022-10-12 20:38:59 +02:00
mafiesto4 e970b6fd04 Merge branch 'small_editor_fix' of https://github.com/cristhofermarques/FlaxEngine into cristhofermarques-small_editor_fix 2022-10-12 19:10:05 +02:00
mafiesto4 f4a96e2715 Merge branch 'RuanLucasGD-master' 2022-10-12 19:07:57 +02:00
mafiesto4 7a969b5d7b Code style fix
#760
2022-10-12 19:07:48 +02:00
mafiesto4 faf7f8ad03 Merge branch 'master' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-master 2022-10-12 19:05:23 +02:00
mafiesto4 2d8eaa0e8c Merge branch 'cristhofermarques-skeleton_mask_editor' 2022-10-12 19:04:35 +02:00
mafiesto4 f528ba59ec Code style fix
#766
2022-10-12 19:04:22 +02:00
mafiesto4 6985bd6375 Merge branch 'skeleton_mask_editor' of https://github.com/cristhofermarques/FlaxEngine into cristhofermarques-skeleton_mask_editor 2022-10-12 19:00:59 +02:00
mafiesto4 cbf7caafb3 Merge branch 'Tryibion-scene-tree-fix' 2022-10-12 18:55:32 +02:00
mafiesto4 b0f4f8d636 Code style fix 2022-10-12 18:55:24 +02:00
mafiesto4 77f8df02e5 Add ModuleInitializer attribute for C# scripting initialization code running on load 2022-10-12 17:00:40 +02:00
mafiesto4 09b35266f7 Add automatic network serializers generation for NetworkReplicated fields in C++ types 2022-10-12 11:22:53 +02:00
mafiesto4 ff34c7cc9b Refactor raw data ReadSttream and WriteStream to have easier to use API with more features 2022-10-12 11:22:20 +02:00
Cristhofer Marques 0b8a176ff8 Revert "Update SkeletonMaskWindow.cs"
This reverts commit b626d3047d.
2022-10-11 14:05:30 -03:00
Cristhofer Marques 187e56c6ba typo fix in graphics settings 2022-10-11 13:34:46 -03:00
Cristhofer Marques 77c6daf240 fix the wrong additional layer in the matrix 2022-10-11 13:30:49 -03:00
Cristhofer Marques b626d3047d Update SkeletonMaskWindow.cs 2022-10-11 13:08:52 -03:00
Cristhofer Marques 2af285e972 feature added 2022-10-11 11:49:32 -03:00
mafiesto4 09e50bb0e1 Simplify code in bindings generator 2022-10-11 11:38:35 +02:00
mafiesto4 3d574f4169 Fix generated project reference in test project 2022-10-11 11:38:22 +02:00
Preben Eriksen 2efc97b64f Added: ScriptingObject* TryFindObject(MClass* mclass), Allow you from c++ to use MAssembly GetBinaryModuleGame, and get a monoobject from a class, monoobject is needed later to Invoke a method from the class. 2022-10-11 10:45:28 +02:00
Ruan Lucas 93dc57c08f remove unused include 2022-10-10 23:10:25 -04:00
Ruan Lucas 67c963f60d Optimization Method 2022-10-10 22:43:00 -04:00
Tryibion 95e60ea68e Added scene panel to seperate the tree from the search bar and made the tree not able to scroll when renaming 2022-10-10 15:38:30 -05:00
mafiesto4 52904cbe3e Merge branch 'Tryibion-cursor-changes' 2022-10-10 18:47:52 +02:00
mafiesto4 ebd88a407d Fix mouse leave event handling to restore cursor
#759
2022-10-10 18:47:38 +02:00
mafiesto4 0ed41f97fc Merge branch 'cursor-changes' of https://github.com/Tryibion/FlaxEngine into Tryibion-cursor-changes 2022-10-10 18:33:29 +02:00
Tryibion 133d13ff3c Fixed continually setting cursour back to default in value box 2022-10-10 11:06:10 -05:00
mafiesto4 7112c8e791 Merge branch 'Tryibion-content-window-change' 2022-10-10 17:56:26 +02:00
mafiesto4 d44606d205 Merge branch 'content-window-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-content-window-change 2022-10-10 17:56:15 +02:00
mafiesto4 8564c86236 Merge branch 'Tryibion-master' 2022-10-10 17:39:03 +02:00
mafiesto4 77acdecb1b Merge branch 'master' of https://github.com/Tryibion/FlaxEngine into Tryibion-master 2022-10-10 17:38:57 +02:00
mafiesto4 fb5d693b54 Merge branch 'cristhofermarques-timeline_edge' 2022-10-10 16:22:35 +02:00
mafiesto4 1cba68401d Merge branch 'timeline_edge' of https://github.com/cristhofermarques/FlaxEngine into cristhofermarques-timeline_edge 2022-10-10 16:20:48 +02:00
mafiesto4 aabe905f63 Merge branch 'Crawcik-generate-project' 2022-10-10 16:16:02 +02:00
mafiesto4 8ac67536de Merge branch 'generate-project' of https://github.com/Crawcik/FlaxEngine into Crawcik-generate-project 2022-10-10 16:15:02 +02:00
mafiesto4 f4c4738617 Merge branch 'Tryibion-toolti-fix-while-dragging' 2022-10-10 16:09:49 +02:00
mafiesto4 4c71f40bc2 Add Module tags feature for build config in custom plugins 2022-10-10 15:02:52 +02:00
mafiesto4 4d08dc77b2 Add custom Tags for scripting api types to be used by plugins 2022-10-10 14:40:59 +02:00
mafiesto4 7924a62db6 Add support for custom types/members attributes parsing in scripting bindings 2022-10-10 14:38:54 +02:00
mafiesto4 5faa11e0a2 Fix reading type inheritance in bindings generation with comment at the end 2022-10-10 13:27:37 +02:00
mafiesto4 72b1178011 Add network protocol version validation 2022-10-10 12:46:44 +02:00
Tryibion 6d6961d961 removed mouse button down as it caused issues with focus 2022-10-06 19:59:51 -05:00
Tryibion 091fe0a40a Simplified tool tip hide 2022-10-06 19:12:46 -05:00
Tryibion 2d42ca522d Fixed spacing and comment 2022-10-06 16:51:25 -05:00
Tryibion 79ccda3883 Moved code to on drag enter to minimize calls. 2022-10-06 16:49:35 -05:00
Tryibion 020351e56b Simplified enabling and disabling scrolling and implimented the stop scrolling functionality when renaming in the content tree panel as well 2022-10-06 00:03:38 -05:00
Tryibion 40f7980c18 hide tooltip while dragging 2022-10-05 22:05:27 -05:00
Tryibion aca5522245 Fixed small bug when moving a tab when close to the split panel splitter 2022-10-05 21:16:54 -05:00
Ruan Lucas cc168db81b Merge pull request #1 from RuanLucasGD/implement-method-to-check-if-world-position-is-within-camera-view
Implement method to check if world position is within camera view
2022-10-03 19:35:20 -04:00
Ruan Lucas 0a91b8b360 fix: isPointOnView doesn't work for long distance positions 2022-10-03 18:51:27 -04:00
Ruan Lucas 61747bef85 change method name 2022-10-02 00:16:25 -04:00
Ruan Lucas 6af6649f70 implement method to check if world position is within camera view 2022-10-02 00:02:56 -04:00
Tryibion 3867cb5e97 Changed how cursor is set back to default, so it doesnt keep setting itself 2022-09-30 20:52:04 -05:00
Tryibion e18002dd03 Fixed regression of cursor being stuck in default when trying to change it in viewport 2022-09-30 20:01:35 -05:00
Tryibion c19ff9b2ef Added a change in cursor type to assist in UX for resizing editor panels and changing the values in value boxes 2022-09-30 19:25:50 -05:00
Tryibion 656fcf9847 Changed the content window do the search bars do not scroll with the content. 2022-09-30 09:22:36 -05:00
Tryibion 4a301bd09e Merge branch 'master' of https://github.com/Tryibion/FlaxEngine 2022-09-28 22:36:33 -05:00
Tryibion 789ec55dbe Removed double click to rename content item 2022-09-28 22:33:01 -05:00
Tryibion 5303da4b90 Removed double click to rename content item 2022-09-28 22:03:26 -05:00
Cristhofer Marques 8f19fde27a Update TimelineEdge.cs 2022-09-28 19:06:20 -03:00
Preben Eriksen f237d424fa Fixed - Gizmo draw order ( https://github.com/FlaxEngine/FlaxEngine/issues/680 ) 2022-09-26 09:19:15 +02:00
Preben Eriksen ea9695ac16 Added - Support for LOD meshes using _ , like LOD_0... 2022-09-25 10:31:25 +02:00
Preben Eriksen e98d2c8a27 Added - aiProcess_SortByPType to importer, i seen many object that have a small mesh with point faces that are not part of the object, so just ignoring these make the objects import. 2022-09-25 09:33:23 +02:00
Crawcik 5b212bb8bc Fixing mac/linux csharp binaries referencing 2022-09-24 17:52:59 +02:00
Preben Eriksen 7cae9b4ce5 Fixed - Windows, launcher use a uppercase D:\ , if you try to start your project from VS/Shortcut and use a lowercase d:\ it would ruin your project as it assign new asset IDs without remapping. 2022-09-24 13:46:55 +02:00
mafiesto4 76a66cf400 Merge branch 'Tryibion-master' 2022-09-19 19:47:14 +02:00
Tryibion 21db53e232 Added scaling towards mouse position in Visject surfaces 2022-09-17 11:43:51 -05:00
mafiesto4 ca4e017e02 Finish simple object replication over network 2022-09-16 18:58:53 +02:00
mafiesto4 75221baa19 Improvements 2022-09-15 13:13:16 +02:00
mafiesto4 e6996ff22f Fix missing virtual C++ function override in C# if the thunk points to vtable index at offset=0 2022-09-14 22:14:25 +02:00
mafiesto4 0e523204d5 Fix custom json asset usage for game settings if loaded before game scripting module is loaded 2022-09-14 21:13:58 +02:00
mafiesto4 f1adedd689 Fix compilation on Clang 2022-09-14 20:15:50 +02:00
mafiesto4 031b640343 Fix compilation on Clang 2022-09-14 18:58:17 +02:00
mafiesto4 66b452e90c Fix crash on shutdown due to custom JsonAsset C++ instance 2022-09-14 17:58:57 +02:00
mafiesto4 c553859c3b Fix invalid NetworkMessage usage in C++ 2022-09-14 17:58:50 +02:00
mafiesto4 3347887432 Network objects replication impl progress 2022-09-14 14:54:32 +02:00
mafiesto4 9a19717556 Use separate network messages handling table 2022-09-13 16:25:48 +02:00
mafiesto4 de1437102e Fix crash on shutdown due to custom JsonAsset C++ instance 2022-09-13 12:55:14 +02:00
mafiesto4 a006fcec40 Fix overlapping VC++ and CSharp projects in Visual Studio solution 2022-09-12 20:17:52 +02:00
mafiesto4 10d66fb871 Fix displaying Game and Editor plugins to be batched in Editor 2022-09-12 14:48:52 +02:00
mafiesto4 439f74c540 Fix comparison operators on object reference types 2022-09-12 14:48:48 +02:00
mafiesto4 8694bd6af9 Fix crash on root motion extraction if source animation has no valid root node animated
#746
2022-09-12 14:48:43 +02:00
mafiesto4 c62efdc44a Fix crash on root motion extraction if source animation has no valid root node animated
#746
2022-09-12 14:48:08 +02:00
mafiesto4 74ce1028ae Fix displaying Game and Editor plugins to be batched in Editor 2022-09-09 15:29:55 +02:00
mafiesto4 4fa9b4a741 Fix comparison operators on object reference types 2022-09-09 15:29:17 +02:00
mafiesto4 2c4d578f7c Add deprecation info for users to upgrade the code 2022-09-08 18:49:25 +02:00
mafiesto4 07ace480ed Add network client ToString 2022-09-08 11:33:08 +02:00
mafiesto4 d4e7cf75ce Merge remote-tracking branch 'origin/master' into 1.5 2022-09-08 09:51:46 +02:00
Crawcik f154bfcfc1 Flax.Build compress toogle option 2022-09-07 18:15:14 +02:00
Crawcik 8b0d1b4a8c Editor compression fix on unix 2022-09-07 17:43:11 +02:00
Crawcik dd8f923bf5 VSC dotnet gen & omnisharp flags 2022-09-07 16:54:42 +02:00
Crawcik 19d9cd282d Linux include paths fix 2022-09-07 16:53:30 +02:00
mafiesto4 3132998c5e Initial network manager with clients 2022-09-07 14:59:06 +02:00
mafiesto4 0b78d2711c Add WriteStructure/ReadStructure utilities for NetworkMessage 2022-09-07 14:38:00 +02:00
mafiesto4 c3c3586628 Fix invalid NetworkMessage usage in C++ 2022-09-07 13:44:29 +02:00
mafiesto4 05064402b1 Various improvements 2022-09-07 11:53:03 +02:00
mafiesto4 7559cb4d99 Add support for editing JsonAsset data at runtime (eg. modify game settings on the fly) 2022-09-07 11:52:46 +02:00
mafiesto4 9a77517cb4 Add Cook&Run and Run cooked game utilities to Game menu list for multilayer games testing 2022-09-07 11:52:11 +02:00
mafiesto4 3abbafa530 Fixes for Vulkan 2022-09-06 22:54:00 +02:00
mafiesto4 2cd7967ec4 Fix crash on Linux with empty log message 2022-09-06 21:53:14 +02:00
mafiesto4 73d0fc4973 Fix UWP build 2022-09-06 19:35:11 +02:00
mafiesto4 94cacc8abc Add game settings assets loading (not only objects) 2022-09-06 13:33:17 +02:00
mafiesto4 74fe176d2d Improvements for const class usage 2022-09-05 14:34:16 +02:00
mafiesto4 2736363d93 Fix OnSceneUnloaded event to contain valid scene object 2022-09-05 14:33:20 +02:00
mafiesto4 450eedda02 Merge branch 'GoaLitiuM-linux_window_crash_fix' 2022-09-04 21:53:57 +02:00
mafiesto4 b715220e5b Merge branch 'linux_window_crash_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_window_crash_fix 2022-09-04 21:53:49 +02:00
mafiesto4 8e6405bc7c Merge branch 'GoaLitiuM-linux_rider_detection' 2022-09-04 21:51:38 +02:00
GoaLitiuM a66be45e72 Detect Flatpak installations of Rider and Visual Studio Code 2022-09-04 18:37:18 +03:00
GoaLitiuM 45dfa52512 Detect Rider installations on Linux 2022-09-04 18:36:58 +03:00
GoaLitiuM 784605f974 Fix crash when opening tooltip windows on Linux 2022-09-04 18:35:24 +03:00
mafiesto4 7d09e67a5c Fix newline for copyright in new C++ files 2022-09-03 12:57:23 +02:00
mafiesto4 ab4f5d9a84 Merge remote-tracking branch 'origin/master' into 1.5 2022-09-03 12:54:45 +02:00
mafiesto4 9ad4665270 Add Network Settings 2022-09-03 12:54:37 +02:00
mafiesto4 4e541dc0ba Revert tested disabled bokeh shapes 2022-09-02 15:33:30 +02:00
mafiesto4 569808af6d Add TypeNameEditor for editing typename reference as soft string value 2022-09-02 14:10:53 +02:00
mafiesto4 c9726ab05b Compact graphics settings 2022-09-02 14:10:04 +02:00
mafiesto4 fba60f05a0 Refactor EditorPlugins to properly initialize and deinitialize 2022-09-02 09:52:41 +02:00
mafiesto4 1d7ba2210a Fix crash on API event in C# after Editor hot-reload 2022-09-01 22:55:29 +02:00
mafiesto4 8885412350 Fix SSR shader on D3D10 2022-08-31 23:16:29 +02:00
mafiesto4 d712a83c69 Fix invisible static model if model is loaded but not yet streamed 2022-08-31 19:40:13 +02:00
mafiesto4 6f756acb33 Merge branch 'PrecisionRender-master' 2022-08-31 17:39:11 +02:00
mafiesto4 a1dea6a756 Adjust triplanar texture sample node #735 2022-08-31 17:39:01 +02:00
mafiesto4 2b400a7f50 Merge branch 'master' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-master 2022-08-31 17:16:20 +02:00
mafiesto4 3499127b91 Add new screenshot 2022-08-31 15:34:09 +02:00
mafiesto4 2cfd6c20e7 Bump up build number 2022-08-31 15:33:52 +02:00
mafiesto4 69a2d10c57 Add additive scene opening in Editor via drag&drop into Scene Tree window 2022-08-25 20:58:30 +02:00
mafiesto4 cbd2561e22 Update asset 2022-08-25 20:54:44 +02:00
mafiesto4 88b46d1720 Fix crash when changing actor scene 2022-08-25 20:54:25 +02:00
mafiesto4 98616f443b Reduce actor orientation threshold 2022-08-25 19:42:06 +02:00
mafiesto4 2fb6ab4f44 Fix borders sampling in Depth Of Field to reduce leaking artifacts on screen edges 2022-08-25 19:42:04 +02:00
mafiesto4 57cb15486e Fix the Depth Of Field to be consistent no matter the resolution 2022-08-25 19:42:03 +02:00
mafiesto4 d50908e10b Cleanup DOF shader to use shader permutations for vertical/horizontal passes 2022-08-25 19:42:02 +02:00
mafiesto4 0b71549834 Add another editor viewport cam speed step 2022-08-25 19:42:01 +02:00
mafiesto4 20ebe3ac85 Fix game ticking in editor during cut-scene rendering at edit time 2022-08-25 19:42:00 +02:00
mafiesto4 a545520d6b Add playback speed option for Scene Animation rendering 2022-08-25 19:41:59 +02:00
mafiesto4 f4516718a0 Fix Ctrl+S in timeline view to not split the camera shot media 2022-08-25 19:41:58 +02:00
PrecisionRender 7c557d627a Merge branch 'master' of https://github.com/PrecisionRender/FlaxEngine 2022-08-25 11:28:26 -05:00
PrecisionRender 8f8df34342 Add World Triplanar Texture node to shader editor 2022-08-25 11:27:40 -05:00
PrecisionRender 04d44d8a15 Add World Triplanar Texture node to shader editor 2022-08-24 09:37:56 -05:00
mafiesto4 b2f22b2d87 Add EditorPlugin.DeinitializeEditor to properly cleanup Editor extensions on exit 2022-08-23 09:39:43 +02:00
mafiesto4 a19c17cfb9 Fix ivalid include 2022-08-19 14:36:38 +02:00
mafiesto4 a3a44f0cef Add StringUtils tests and Paths test and fix detected problem with rooted path starting with ./ 2022-08-19 11:54:09 +02:00
mafiesto4 01eb42dd10 Enable assertions in native tests 2022-08-19 11:19:07 +02:00
mafiesto4 bf30d7cd29 Add Array/BitArray tests and fix some detected problems 2022-08-19 11:18:48 +02:00
mafiesto4 ed7cc96889 Add Guid tests 2022-08-19 11:17:36 +02:00
mafiesto4 b17070adf5 Fix picking to properly select closest triangle for meshes 2022-08-18 15:54:02 +02:00
mafiesto4 698545006f Add auto-selecting new item created in Content window 2022-08-18 15:21:32 +02:00
mafiesto4 c7a3fb4341 Fix crash due to GPU Particles define not used in some headers 2022-08-18 15:15:10 +02:00
mafiesto4 db6cd541c2 Add separate GBuffer view modes in Editor viewport widget 2022-08-17 20:37:12 +02:00
mafiesto4 0b15c369d6 Fix FlaxStorage refs counting to be atomic 2022-08-16 12:36:44 +02:00
mafiesto4 31fb4f6a15 Fix editor error when selecting foliage type 2022-08-14 00:47:30 +02:00
mafiesto4 c43f724189 Add reloading materials and particle emitters after shader compilation fail 2022-08-12 22:55:20 +02:00
mafiesto4 ff87cdfebb Update SDFs 2022-08-12 16:00:48 +02:00
mafiesto4 b8922ee846 Fix 1px offset in Model SDFs 2022-08-12 16:00:38 +02:00
mafiesto4 1e8e5c0f7c Fix Global SDF inside geometry to be negative 2022-08-12 16:00:27 +02:00
mafiesto4 9b816a321c Reduce DDGI probes distance limit to improve performance 2022-08-12 09:53:57 +02:00
mafiesto4 d8c224112b Add Global Surface Atlas rendering for Foliage 2022-08-11 11:33:41 +02:00
mafiesto4 6c9b1f6be0 Add Global SDF rendering for Foliage 2022-08-10 14:27:08 +02:00
mafiesto4 6a1378ebdb Fix Global Surface Atlas drawing of objects that are hidden in GBuffer pass but should be visible for GI 2022-08-09 14:37:29 +02:00
mafiesto4 210342d337 Fix enum operators to be constexpr 2022-08-09 14:36:56 +02:00
mafiesto4 49df15c021 Fix Surface parameter attributes editor popup location 2022-08-09 12:37:27 +02:00
mafiesto4 07b02e6cf3 Add option to disable selecting text in text box
5dadaf70f9
2022-08-08 13:51:55 +02:00
mafiesto4 183e87d147 Fix rich text box images from name in cooked build 2022-08-08 11:48:36 +02:00
mafiesto4 0eba11f1eb Add Content.GetEditorAssetPath 2022-08-08 11:48:16 +02:00
mafiesto4 a4cdca80fc Increase level of assertions in SimulationEventCallbackPhysX 2022-08-08 11:18:32 +02:00
mafiesto4 5dadaf70f9 Add option to disable selecting text in text box 2022-08-08 11:18:16 +02:00
mafiesto4 bb7d4f7812 Fix console builds 2022-08-07 21:06:17 +02:00
mafiesto4 7af0dc1b43 Add support for setting C++ version for build module compilation 2022-08-07 16:46:17 +02:00
mafiesto4 ad7a8e528a Fix tab navigation 2022-08-06 12:10:14 +02:00
mafiesto4 ed9f3f3d55 Add helper code example 2022-08-06 10:21:42 +02:00
mafiesto4 f781fd8ab6 Add horizontal alignment tags for rich text box 2022-08-05 15:29:37 +02:00
mafiesto4 9caf80bdc9 Add option to disable text clipping in text boxes 2022-08-05 14:38:18 +02:00
mafiesto4 b23cf5f1d8 Fix displaying multiple structure parameters in Visject Surface parameters panel 2022-08-05 13:27:32 +02:00
mafiesto4 ce1465ae98 Fix crash when reloading game scripts in Editor with Anim Graph that contains game structs as params 2022-08-05 11:27:37 +02:00
mafiesto4 9d8f75d957 Fix rare issues with Task Graph not waiting for system due to recent job system changes #721 2022-08-05 11:05:11 +02:00
mafiesto4 982e8df9b6 Fix TextureBrush to return valid size if texture is not yet loaded 2022-08-05 08:51:33 +02:00
mafiesto4 4c280ef015 Fix drawing single character text format 2022-08-04 14:42:52 +02:00
mafiesto4 142d81065a Add text block alignment options for rich text box (and valign tag) 2022-08-04 13:52:25 +02:00
mafiesto4 3089cc3b59 Add img tag to rich text box 2022-08-04 12:43:16 +02:00
mafiesto4 8d990018b5 Fix preserving Alpha channel when changing color with Value slider 2022-08-03 18:15:42 +02:00
mafiesto4 cc59a2b5fe Fix Android build with NDK 25 2022-08-03 18:09:52 +02:00
mafiesto4 4923d63a94 Add size tag 2022-08-03 15:41:25 +02:00
mafiesto4 6f18a8a3ff Add font tag 2022-08-03 14:39:00 +02:00
mafiesto4 8f895e54cd Improve rich text layout for lines with different fonts in line to match baseline 2022-08-03 12:58:23 +02:00
mafiesto4 ad37b8361b Add more tags to Rich Text Box 2022-08-03 12:57:22 +02:00
mafiesto4 64609f823c Add **HTML tags processing in Rich Text Box** 2022-08-03 10:16:13 +02:00
mafiesto4 dbd48ac5b4 Fix parsing html tags with starting with slash 2022-08-03 10:15:42 +02:00
mafiesto4 e59de73948 Fix small issues 2022-08-02 16:53:31 +02:00
mafiesto4 f16372efad Add utility for parsing Color from text (hex or named color) 2022-08-02 16:53:06 +02:00
mafiesto4 94060e16b9 Add more utilities for text processing with font and text subrange 2022-08-02 16:52:25 +02:00
mafiesto4 095f20ab6a Add HtmlParser to engine utilities (with unit tests for it) 2022-08-02 16:05:21 +02:00
mafiesto4 9e9233fd76 Ignore cert signing local scripts 2022-08-01 23:00:25 +02:00
mafiesto4 ba901d4453 Update engine assets 2022-08-01 22:59:33 +02:00
mafiesto4 a6e9abfceb Add UseAlpha to RenderBuffers for pass-though renderer with alpha channel 2022-08-01 22:58:22 +02:00
mafiesto4 fe1cab6a7f Add Default auto-generated member to scripting structures and improve deserialization 2022-08-01 18:49:54 +02:00
mafiesto4 4915e9fea0 Fix hex color parsing 2022-08-01 17:13:29 +02:00
mafiesto4 3601d36955 Fix macOS build 2022-08-01 17:05:59 +02:00
mafiesto4 7953f6cb83 Add Engine.FocusGameViewport to implement game menu with camera focus gather 2022-08-01 16:17:34 +02:00
mafiesto4 1d7e88635f Allow content finder in game window during edit time 2022-08-01 11:38:41 +02:00
mafiesto4 20572c53af Add Noise sampling nodes to graphs 2022-07-31 23:43:35 +02:00
mafiesto4 2104dbc682 Add new **Noise** library for C++/C#/VisualScript/HLSL utilities 2022-07-31 22:20:38 +02:00
mafiesto4 1fdc43699c Fix rare exception in Visject after recent Surface context menu groups display refactor 2022-07-31 19:06:15 +02:00
mafiesto4 17b3434342 Add Mod for vectors 2022-07-31 19:05:36 +02:00
mafiesto4 3b52914416 Add **Nested Animations** for compositing animation clips 2022-07-31 15:53:09 +02:00
mafiesto4 3a39dad30f Fix invoking anim events for multi blend animations 2022-07-29 20:25:13 +02:00
mafiesto4 db24ea950e Fix build 2022-07-29 17:03:21 +02:00
mafiesto4 d47b452808 Fix check if unsetting material slot 2022-07-29 16:58:35 +02:00
mafiesto4 03ecb23bae Update engine materials 2022-07-29 16:58:34 +02:00
mafiesto4 6cf91b1da4 Add support for main view information in Surface materials during subpass rendering (eg. shadow depth) 2022-07-29 16:58:33 +02:00
mafiesto4 22209108c9 Fix Global Surface Atlas on Vulkan 2022-07-29 16:14:07 +02:00
mafiesto4 0ac91fa34d Fix CSM split point when using 3 cascades 2022-07-29 15:55:26 +02:00
mafiesto4 4b6e75c0af Expose IsDuringPlay property for actors and scripts to use in scripting 2022-07-29 14:52:41 +02:00
mafiesto4 e16cbdbfd0 Add showing model screen size in the Model Preview 2022-07-29 13:29:02 +02:00
mafiesto4 bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
mafiesto4 6f35b27c29 Fix fullscreen game window F22 regression 2022-07-27 22:13:23 +02:00
mafiesto4 ceeefd1796 Optimize 1ef8bb723c 2022-07-27 22:09:12 +02:00
mafiesto4 bfec5d6a8d Improve displaying tris/vert count in GPU profiler if value is large 2022-07-27 16:24:49 +02:00
mafiesto4 4197e7b21e Fix test binary path 2022-07-27 10:10:00 +02:00
mafiesto4 e1e32ecbfd Fix from https://github.com/nem0/OpenFBX/commit/6a788af3b19dd6921a64eb7e133a3fa131dfbbd5 2022-07-27 10:05:32 +02:00
mafiesto4 41aefb1bda Attempt to fix test build 2022-07-27 09:38:30 +02:00
mafiesto4 1ef8bb723c Fix reparenting inside the nested prefabs when using multiple instanced of the nested prefab in PrefabManager
#690
2022-07-27 09:33:01 +02:00
mafiesto4 163704085a Remove hack 2022-07-26 23:40:31 +02:00
mafiesto4 8c310b7c5c Fix path 2022-07-26 23:40:24 +02:00
mafiesto4 99d1c1903f Add test for Prefab issue #718 2022-07-26 23:10:04 +02:00
mafiesto4 cced83ca96 Add support for virtual Prefab assets created from code 2022-07-26 23:10:04 +02:00
mafiesto4 adaaaa3e3f Fix crash when spawning prefab without scenes loaded 2022-07-26 23:10:03 +02:00
mafiesto4 bbb5b68e91 Refactor FlaxTests to run as Editor with all engine services initialized 2022-07-26 23:10:02 +02:00
mafiesto4 ff1fba403d Various fixes to allow compiling negine with custom build configurations 2022-07-26 23:10:01 +02:00
mafiesto4 8beb732cb9 Fix duplicated actors after reparenting actor in Prefab
#718
2022-07-26 23:10:00 +02:00
mafiesto4 9d26004864 Fix looping streamable audio clips with multiple chunks 2022-07-26 14:36:50 +02:00
mafiesto4 cfb98a39b0 Reduce DDGI flickering in certain lighting scenarios 2022-07-26 13:18:09 +02:00
mafiesto4 da616fc578 Change spotlight cone limits 2022-07-26 11:41:56 +02:00
mafiesto4 22367498da Fix editing LinearCurve<Color> in properties window (color picker window closed keyframe editing popup) 2022-07-25 17:18:05 +02:00
mafiesto4 51c49cfac9 Add UseCSharp to engine config and fix parsing cmd line options list 2022-07-25 13:18:53 +02:00
mafiesto4 1f495205af Add GamepadDPadX/GamepadDPadY input axes for gamepad DPad 2022-07-25 10:32:48 +02:00
mafiesto4 a4478b9497 Add editor camera speed up for gamepad right trigger 2022-07-25 09:52:42 +02:00
mafiesto4 5fea0cd693 Fix mouse hovering controls under expanded dropdown list panel 2022-07-24 13:37:23 +02:00
mafiesto4 c25305e695 Fix physics trigger layer mask matching trigger events (filter body types) 2022-07-24 13:12:18 +02:00
mafiesto4 928d318f24 Reorganize Physics Settings 2022-07-24 13:10:21 +02:00
mafiesto4 2dfd676c5e Fix errors in Editor when editing particle emitter if effect that uses it is selected 2022-07-24 11:55:00 +02:00
mafiesto4 74e3d1ad8f Fix removing Gameplay Globals 2022-07-23 16:58:16 +02:00
mafiesto4 47b255ed3e Remove warning on missing initial entry state for Anim Graph state machine 2022-07-23 16:49:40 +02:00
mafiesto4 32fe383c10 Fix [AssetReference(typeof(typeName)] not working for arrays of assets (fix for collection types) 2022-07-23 16:36:21 +02:00
mafiesto4 a590336118 Fix ParticleEmitter.Spawn() with default duration 2022-07-23 16:22:00 +02:00
mafiesto4 1ae80da888 Fix missing Properties window focus after adding script to the actor 2022-07-23 16:14:02 +02:00
mafiesto4 8d6fa34108 Add waiting for model to be loaded in SetMaterial 2022-07-23 15:33:04 +02:00
mafiesto4 0a1d8f6b3b Fix crash when setting up recursive Material Instances inheritance 2022-07-23 15:28:49 +02:00
mafiesto4 37fbc7600e Add don't auto-closing View -> View Flags menu to improve debug testing workflow in Editor viewport 2022-07-23 10:51:38 +02:00
mafiesto4 1633d8ebb6 Minor fixes 2022-07-23 01:27:40 +02:00
mafiesto4 b9cd6974fb Add confirmation dialog for Scenes Data building in Editor toolbar (prevent misclicks) 2022-07-23 00:58:45 +02:00
mafiesto4 2a3316ac5e Marge Visual Script groups for structures (eg. double ActionConfig group) 2022-07-23 00:53:57 +02:00
mafiesto4 d33cf5f6d9 Fix crash when cooking mesh collision with a custom subset of material slots 2022-07-22 11:22:58 +02:00
mafiesto4 3d43586e0f Fix editor viewport input bug regression 2022-07-22 11:12:45 +02:00
mafiesto4 e4079f011d Improve initial name for static model collision data asset 2022-07-22 10:20:13 +02:00
mafiesto4 00f2548f1a Fix default value for RigidBody center of mass 2022-07-22 10:09:20 +02:00
mafiesto4 3c94814e9f Fix missing AO in Light Buffer debug view mode 2022-07-21 15:43:46 +02:00
mafiesto4 033c5eb188 Update assets 2022-07-21 09:43:18 +02:00
mafiesto4 726937dad7 Fix shader asset creation 2022-07-21 09:42:17 +02:00
mafiesto4 2a53143bc4 Add new mode to Screen Space Reflections for DDGI Scene tracing 2022-07-21 09:41:38 +02:00
mafiesto4 f90808749e Add batching undo actions for Surface editing to prevent undo actions spam during a single edit 2022-07-19 23:07:18 +02:00
mafiesto4 fd4af3964d Fix Reroute node in Visual Script impulse flow 2022-07-19 23:06:37 +02:00
mafiesto4 d77a7921b0 Refactor Visject reroute node to support reconnecting and have more usability 2022-07-19 23:06:24 +02:00
mafiesto4 543c7efc0f Improve reroute node layout and add tooltip 2022-07-19 16:39:34 +02:00
mafiesto4 2de20b93c7 Fix text box not consuming key down event causing editor shortcuts activate when typing 2022-07-19 15:37:36 +02:00
mafiesto4 1019550d4a Change search boxes in Editor to stick to the top of the panel 2022-07-19 15:37:10 +02:00
mafiesto4 ea54505c6d Fix Directional Light color alpha in Sky atmosphere color 2022-07-19 13:15:54 +02:00
mafiesto4 7de42c1681 Fix sampling Curves with keyframes that have negative time value 2022-07-19 12:47:31 +02:00
mafiesto4 0af86d8cb8 Add HDR env probes support 2022-07-19 10:33:52 +02:00
mafiesto4 b184650835 Fix error when using multi-dimensional array property (not supported)
#422
2022-07-18 23:11:11 +02:00
mafiesto4 9f7f764359 Format code 2022-07-18 22:38:01 +02:00
mafiesto4 9ff0ad4734 Fix order of Large Worlds Real using 2022-07-18 20:20:12 +02:00
mafiesto4 63c9cdfc31 Fix snapping object to the group in Editor to skip trigger volumes
#522
2022-07-18 20:14:40 +02:00
mafiesto4 e346fa1dca Fix material editor preview error
#704
2022-07-18 19:40:37 +02:00
mafiesto4 66d1015399 Simplify build options merging 2022-07-18 18:09:11 +02:00
mafiesto4 b67649dfbd Add ExternalModules to game modules for custom scripting binaries linking 2022-07-18 18:09:10 +02:00
mafiesto4 5c6b5ad948 Optimize ProbesFilter shader 2022-07-18 16:33:11 +02:00
mafiesto4 6061a0a344 Add support for baking env probes in cooked game 2022-07-18 16:32:50 +02:00
mafiesto4 fb3601dac6 Update resources 2022-07-18 14:50:53 +02:00
mafiesto4 60f868a08b Add real-time environment probes support 2022-07-18 14:50:41 +02:00
mafiesto4 3dbff3cab7 Fix crash when closing handles to asset file while any asset streaming task is active for asset from that file 2022-07-18 13:02:34 +02:00
mafiesto4 b6652a61c6 Merge branch 'GoaLitiuM-rider_detection_fix' 2022-07-18 09:29:33 +02:00
mafiesto4 5010903c78 Merge branch 'rider_detection_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rider_detection_fix 2022-07-18 09:29:24 +02:00
mafiesto4 25790bd0c9 Fix selecting Debug Log window entries with left-mouse button 2022-07-17 17:06:26 +02:00
mafiesto4 3239150a61 Refactor scene objects initialization to call OnAwake before all OnStart
#520
2022-07-17 17:05:59 +02:00
mafiesto4 9aff782907 Fix mouse centering regression from 7f3a32a69b 2022-07-17 16:25:36 +02:00
mafiesto4 7f3a32a69b Improve cursor clipping logic (fix after alt+tab and confine to game window in Editor)
#691
2022-07-17 00:09:59 +02:00
mafiesto4 fe0e24357a Merge branch 'ScottLongley-feature-clip-cursor' 2022-07-16 09:03:54 +02:00
mafiesto4 1f1c3adaf1 Merge branch 'feature-clip-cursor' of https://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-clip-cursor 2022-07-16 09:03:47 +02:00
mafiesto4 2c12ea2fba Update DirectXShaderCompiler to version 1.7 (July 2022)
#700
2022-07-15 23:32:56 +02:00
mafiesto4 5c5824bbb7 Add support for the latest Windows 11 SDK (22H2)
#700
2022-07-15 23:32:19 +02:00
mafiesto4 d586269eec Merge branch 'GoaLitiuM-fix_dxcompiler_linkage' 2022-07-15 20:37:06 +02:00
mafiesto4 528a009b6b Merge branch 'fix_dxcompiler_linkage' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_dxcompiler_linkage 2022-07-15 20:36:56 +02:00
mafiesto4 ee0f54434e Merge branch 'GoaLitiuM-fix_richtextbox_dblclick' 2022-07-15 20:35:30 +02:00
mafiesto4 74f4f8e4da Merge branch 'fix_richtextbox_dblclick' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_richtextbox_dblclick 2022-07-15 20:35:23 +02:00
mafiesto4 5f6d2b175d Minor adjustments to smoothstep and step nodes #729 2022-07-15 20:33:52 +02:00
mafiesto4 8440c596ac Merge branch 'whocares77-MaterialNodes' 2022-07-15 20:25:17 +02:00
mafiesto4 12558567ec Merge branch 'MaterialNodes' of https://github.com/whocares77/FlaxEngine into whocares77-MaterialNodes 2022-07-15 20:25:05 +02:00
mafiesto4 a2677a25a9 Improve env probes rendering if DDGI is enabled 2022-07-15 16:13:36 +02:00
mafiesto4 a8579cadcc Move DefaultProbeResolution from Graphics to GraphicsSettings only (not runtime option)
#728
2022-07-14 15:37:54 +02:00
mafiesto4 53baccaf96 Merge branch 'whocares77-master' 2022-07-14 14:49:17 +02:00
mafiesto4 e210e58644 Merge branch 'master' of https://github.com/whocares77/FlaxEngine into whocares77-master 2022-07-14 14:49:04 +02:00
mafiesto4 0d8ebd332e Add Global Illumination sampling option to transparent materials (eg. particles) 2022-07-14 14:28:42 +02:00
mafiesto4 4cc7bb96f5 Fix missing Transparent Lighting mode init 2022-07-14 12:48:00 +02:00
mafiesto4 2b76c369ac Update engine assets 2022-07-14 09:22:33 +02:00
mafiesto4 85f351663b Add Transparent Lighting Modes for material with option to use non-directional shading 2022-07-14 09:22:32 +02:00
mafiesto4 047821f7d2 Fix missing strip tool for Android build 2022-07-14 00:13:05 +02:00
mafiesto4 dda8912332 Use custom version of android_native_app_glue 2022-07-13 23:41:00 +02:00
mafiesto4 57279b14eb Revert "Attempt to fix Android build"
This reverts commit b80f2118bd.
2022-07-13 23:31:55 +02:00
mafiesto4 b80f2118bd Attempt to fix Android build 2022-07-13 23:08:00 +02:00
mafiesto4 89688f93e1 Add GPU Dispatch calls in GPU profiler draw calls collumn 2022-07-13 21:45:43 +02:00
mafiesto4 c27a1ddb41 Add Android to CI 2022-07-13 21:45:22 +02:00
mafiesto4 7a15ed3e43 Fix version issue 2022-07-13 21:20:00 +02:00
mafiesto4 93fe79c0ac Update to .Net Framework 4.5.2 2022-07-13 21:19:47 +02:00
mafiesto4 92eb19291d Fix crash when using ogg audio bit depth higher than 16 2022-07-13 10:04:55 +02:00
mafiesto4 7b041bbaa5 Hide editor control from Visual Scripts api 2022-07-08 16:54:49 +02:00
mafiesto4 f89ba20d9c Minor fix if saved editor viewport camera location gets corrupted 2022-07-08 16:43:43 +02:00
mafiesto4 0ba1c124f7 Add Global Surface Atlas missing surface data debug visualization 2022-07-08 16:43:25 +02:00
mafiesto4 df48d71045 Skip SDF generation for transparent materials inside models 2022-07-08 15:28:22 +02:00
mafiesto4 5437f7cc1a Fix editor viewport capturing mouse if window is not foreground 2022-07-08 09:30:35 +02:00
mafiesto4 f221bc6361 Minor improvements 2022-07-07 15:34:15 +02:00
mafiesto4 02dbd07506 Add utility buttons to check/uncheck all Material Instance parameters overrides in Editor window 2022-07-06 09:29:25 +02:00
mafiesto4 bd90280da7 Missing improvement from 9192375ddb into Material Instance parameters editor 2022-07-05 16:00:39 +02:00
mafiesto4 9192375ddb Improve properties display (group all parameters from the same group together) 2022-07-05 10:36:36 +02:00
mafiesto4 4560b98336 Merge remote-tracking branch 'origin/master' 2022-07-05 09:01:22 +02:00
mafiesto4 ec7aece135 Improve Job System changes to prevent dynamic memory allocation and ref counting (#721) 2022-07-05 08:52:53 +02:00
mafiesto4 511682db87 Change Text Render text to allow multi line editing 2022-07-04 21:36:46 +02:00
mafiesto4 2e947ab85a Fixes for large worlds 2022-07-04 20:35:29 +02:00
mafiesto4 8da4e546da Fix env probes far from origin 2022-07-04 20:22:26 +02:00
mafiesto4 3070493729 Add support for Physics Scene origin shifting 2022-07-04 20:04:11 +02:00
mafiesto4 e4a4e7926e Merge branch 'GoaLitiuM-jobsystem_changes' 2022-07-04 15:46:16 +02:00
mafiesto4 64b2b23201 Merge branch 'jobsystem_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-jobsystem_changes 2022-07-04 15:45:49 +02:00
mafiesto4 5a366bc1a0 Optimize DDGI probe classify if using non-iterative relocation 2022-07-04 15:45:30 +02:00
mafiesto4 e34e4caf08 Improve precision for BoundingBox.Transform with Transform 2022-07-03 18:12:13 +02:00
mafiesto4 cb92e3c54c Add Particles support for Large Worlds 2022-07-03 18:09:04 +02:00
mafiesto4 039bf8253a Add UI Canvas support for Large Worlds 2022-07-03 17:12:35 +02:00
mafiesto4 a8a34b391b Fix compilation 2022-07-03 16:18:43 +02:00
mafiesto4 5708f2ae0b Fix vertex paint with Large Worlds 2022-07-03 16:14:27 +02:00
mafiesto4 d9dc23afc1 Fixes for Foliage with Large Worlds usage 2022-07-03 16:08:22 +02:00
mafiesto4 62ff305fad Fixes for Terrain with Large Worlds usage 2022-07-03 15:38:39 +02:00
mafiesto4 98d8543334 Fix compilation 2022-07-03 15:33:15 +02:00
mafiesto4 400c4bb570 Fix Editor play mode exit bug after closing maximized Game window 2022-07-02 20:59:55 +02:00
mafiesto4 d0955a5ac0 Fix editor selection with Large Worlds origin usage 2022-07-02 20:35:25 +02:00
mafiesto4 33513834df Add support for Large Worlds in more engine systems 2022-07-02 20:07:04 +02:00
mafiesto4 85fe22d7a7 Fix typos 2022-07-01 17:05:17 +02:00
mafiesto4 de2d041e47 Fix warning 2022-07-01 14:10:54 +02:00
mafiesto4 07c6c5a841 Fix issues with Vulkan backend when using DDGI 2022-07-01 14:10:01 +02:00
mafiesto4 427c3a9099 Fix crash when using more than 2 constant buffers with D3D12 2022-07-01 14:10:00 +02:00
mafiesto4 e2319ceca3 Improve DDGI probes relocation to search 64 nearby locations around the probe 2022-07-01 14:09:59 +02:00
mafiesto4 b40a890d31 More work for large worlds 2022-06-30 22:07:11 +02:00
mafiesto4 4007c5e29c Add BounceIntensity to Global Illumination settings 2022-06-30 15:27:31 +02:00
mafiesto4 27515585db Improve Global Surface Atlas objects surfaces sampling 2022-06-30 15:14:43 +02:00
mafiesto4 db284c58a3 Fix crash when opening old project with Global Custom Code node in material 2022-06-30 09:16:19 +02:00
mafiesto4 7ebdce5e42 More work for large worlds 2022-06-29 23:28:03 +02:00
mafiesto4 2cd244fbd3 Reduce DDGI irradiance blending artifacts due to texture format precision issues 2022-06-29 15:19:54 +02:00
mafiesto4 9fa2a5ff93 Fix compilation 2022-06-29 09:14:16 +02:00
mafiesto4 090225bef2 Fix strange crash 2022-06-28 20:26:10 +02:00
mafiesto4 27d266546e Various fixes and improvements for large worlds rendering 2022-06-28 20:26:01 +02:00
mafiesto4 b1640515c4 Merge remote-tracking branch 'origin/gi'
# Conflicts:
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp
2022-06-28 18:16:28 +02:00
mafiesto4 fe6226b276 Minor tweaks 2022-06-28 16:07:34 +02:00
mafiesto4 ea34207d07 Fix play mode in Editor error 2022-06-28 16:07:22 +02:00
mafiesto4 56322005e2 Reformat shaders source code 2022-06-28 14:41:29 +02:00
mafiesto4 df691e62f8 Various improvements to Global Surface Atlas sampling 2022-06-28 14:10:01 +02:00
mafiesto4 5ee8785ede Fix missing IsZero and IsOne for int32 2022-06-28 10:39:12 +02:00
mafiesto4 443ce106e2 Optimize Global Surface Atlas objects lighting to be less frequent with caching for static lights and objects 2022-06-28 10:38:51 +02:00
mafiesto4 d861518d2e Add origin updating for LargeWorlds 2022-06-27 23:33:51 +02:00
mafiesto4 d5a529e00a Optimize Global Surface Atlas objects culling to cache up to 32 objects locally per-thread 2022-06-27 16:31:39 +02:00
mafiesto4 d8e79101e7 Refactor Global Surface Atlas to not rewrite objects data and use indirection for faster culling 2022-06-27 16:07:54 +02:00
mafiesto4 a7463872a8 Add Camera Cut on rendering view origin change (for large worlds) 2022-06-26 19:23:28 +02:00
mafiesto4 5fdd8a4b72 Add NavCrowd initialization with specific NavAgentProperties to pick a proper navmesh automatically 2022-06-26 15:53:51 +02:00
mafiesto4 982accde6d Add NavCrowd for navigation steering behaviors system for a group of agents 2022-06-26 15:23:36 +02:00
mafiesto4 282b9066b8 Improve DDGI quality 2022-06-24 16:17:32 +02:00
mafiesto4 787d788055 Fix Camera preview model draw regression 2022-06-23 23:14:33 +02:00
mafiesto4 00498106fa Fix model mouse selection regression 2022-06-23 22:28:12 +02:00
mafiesto4 5633d1bcb9 Fix editor viewport mouse selection regression 2022-06-23 18:56:02 +02:00
mafiesto4 a7b31fbf9b Update DDGI 1st cascade every 2nd frame to limit for a single cascade update per-frame 2022-06-23 16:59:13 +02:00
mafiesto4 b69e42b79c Fix initializing activated and scrolled DDGI probes 2022-06-23 14:51:36 +02:00
mafiesto4 1dab45f407 Add support for renaming GPU resources (development builds only) 2022-06-22 23:08:39 +02:00
mafiesto4 4afb74c7b3 Optimize DDGI probes updating with active-only probes 2022-06-22 14:09:31 +02:00
mafiesto4 5d34575a91 Fix default value in Dot and Distance graph nodes 2022-06-21 20:03:36 +02:00
mafiesto4 134c8b99aa Add relative-to-camera rendering for large worlds 2022-06-21 20:03:13 +02:00
mafiesto4 4637017707 Optimize thread group size for DDGI trace rays compute shader 2022-06-21 10:32:25 +02:00
mafiesto4 f3bd0e469c Fixes 2022-06-20 18:14:38 +02:00
mafiesto4 10adf1eba1 Fix Constant Buffer binding on D3D12 when using Graphics after Compute pass with the same constants 2022-06-20 12:43:05 +02:00
mafiesto4 da85c1f55c Fix debug name for DirectX resources 2022-06-20 12:25:57 +02:00
mafiesto4 f31ba5cad8 Fix 2022-06-20 12:14:09 +02:00
mafiesto4 9cbaeb21f5 Add GI probes spacing setting 2022-06-20 10:09:09 +02:00
mafiesto4 3238861f64 Fix opening material or particle emitter in editor if shader compilation fails 2022-06-20 09:51:34 +02:00
mafiesto4 5239a2b410 Optimize DDGI probes state data from R16G16B16A16_Float to R8G8B8A8_SNorm 2022-06-20 09:49:40 +02:00
mafiesto4 41a58f3f2c Merge remote-tracking branch 'origin/master' into gi 2022-06-20 08:26:06 +02:00
mafiesto4 1fbdabdcd0 Fixes 2022-06-19 13:07:19 +02:00
mafiesto4 2e2404dc5f Fix regression from 2522d84a21 2022-06-19 13:07:07 +02:00
mafiesto4 1db65ac882 Add GlobalIllumination to debug GI probes 2022-06-17 15:07:58 +02:00
mafiesto4 9f99d74e53 Adjust DDGI quality and optimize 2022-06-17 14:32:07 +02:00
artkez 3c0e42ea78 added Smoothstep and Step material nodes 2022-06-17 12:38:14 +03:00
mafiesto4 b8ff4ae2e0 Fixes for Vulkan descriptors binding 2022-06-17 10:41:23 +02:00
mafiesto4 2e06d1ce2a Refactor Global SDF to use a single texture for all cascades 2022-06-17 10:41:04 +02:00
artkez 0872d10f43 Revert "Added Smoothstep and Step Material Nodes"
This reverts commit 1b4dded11e.
2022-06-17 11:20:26 +03:00
artkez 1b4dded11e Added Smoothstep and Step Material Nodes 2022-06-17 11:14:27 +03:00
mafiesto4 2bd3c0f74f Add support for constexpr fields in Scripting API 2022-06-16 21:56:48 +02:00
mafiesto4 02cb0f938b Add old API with Vector3 for CollisionData 2022-06-16 10:57:15 +02:00
mafiesto4 9ba117cde3 Refactor OrientedBoundingBox to use Transform for transformation instead of Matrix (for large worlds) 2022-06-16 10:51:59 +02:00
mafiesto4 995e5bc6ff Add more utility methods to Transform and Matrix3x3 2022-06-16 10:50:53 +02:00
artkez e548dbfb19 EnvironmentProbe selectable resolution 2022-06-16 10:28:57 +03:00
mafiesto4 bc8cc75ad8 Fix issue from 3294624849 2022-06-15 20:39:55 +02:00
mafiesto4 0d3ecd6dd2 Fix cross error in Material if input is not Float3 2022-06-15 19:04:21 +02:00
mafiesto4 cf1f8487e7 Merge remote-tracking branch 'origin/master' into gi 2022-06-15 10:37:24 +02:00
mafiesto4 62a39911dd Improve DDGI irradiance sampling by skipping cascades with not enough active probes at the sample location 2022-06-15 10:37:03 +02:00
mafiesto4 84ddba5814 Add DDGI injection into Volumetric Fog 2022-06-15 09:51:40 +02:00
mafiesto4 4386dc8774 Add Actor::GetOrAddChild to C++ 2022-06-15 09:23:06 +02:00
mafiesto4 37295e1ec7 Update engine assets 2022-06-14 23:23:04 +02:00
mafiesto4 7167a6d15a Revert NDA platforms folders 2022-06-14 23:16:41 +02:00
mafiesto4 020e6f671c Fix build 2022-06-14 23:10:21 +02:00
mafiesto4 8158052ec7 Fix Spline::GetSplineLength freeze
#726
2022-06-14 23:07:35 +02:00
mafiesto4 857691983f Merge branch 'GoaLitiuM-fix_csharp_profiler_events' 2022-06-14 22:42:29 +02:00
mafiesto4 6ec34a2dec Merge branch 'fix_csharp_profiler_events' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_csharp_profiler_events 2022-06-14 22:42:08 +02:00
mafiesto4 69b69f9ea9 Format more engine code 2022-06-14 22:41:51 +02:00
mafiesto4 3925c6221c Fix Multi Blend 2D node if all blend points are on the same line
#719
2022-06-14 20:46:55 +02:00
mafiesto4 2bf6fac77d Format more engine code 2022-06-14 20:26:33 +02:00
mafiesto4 b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
mafiesto4 7c923198e0 Minor tweaks to #716 2022-06-14 19:56:58 +02:00
mafiesto4 8eb59703bd Merge branch 'GoaLitiuM-view_size_node' 2022-06-14 19:53:42 +02:00
mafiesto4 47a3ac36cd Merge branch 'view_size_node' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-view_size_node 2022-06-14 19:53:17 +02:00
mafiesto4 98473487bc Fix Editor Analytics tracking option file SetupStyle
#727
2022-06-14 19:51:38 +02:00
mafiesto4 5dcde83f22 Fix build 2022-06-14 19:51:11 +02:00
mafiesto4 d4d27b88f0 Format engine codebase with ReSharper 2022-06-14 19:05:04 +02:00
mafiesto4 3294624849 Add Double, Vector2/3/4 nodes to Visject graphs 2022-06-14 18:56:00 +02:00
mafiesto4 fc96620045 Remove disabling temporal reprojection from Volumetric Fog 2022-06-14 16:56:53 +02:00
mafiesto4 0729ffdafe Improve PostFx settings setup 2022-06-14 15:31:51 +02:00
mafiesto4 4cabf9de53 Merge remote-tracking branch 'origin/master' into gi 2022-06-14 12:03:28 +02:00
mafiesto4 2522d84a21 Add default Post Process options to Graphics Settings 2022-06-14 12:01:16 +02:00
mafiesto4 c6e909c867 Refactor API_INJECT_CPP_CODE into API_INJECT_CODE to support code injection in other languages 2022-06-14 11:53:31 +02:00
mafiesto4 18cd7b657e Fix compilation error 2022-06-13 23:57:19 +02:00
mafiesto4 b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
GoaLitiuM b89e3bb0ff Add "View Size" node for GUI materials 2022-06-13 22:25:55 +03:00
mafiesto4 4967b27ff7 Add test build with UseLargeWorlds=true for Github Actions 2022-06-13 19:13:28 +02:00
mafiesto4 ffce2005da Add UseLargeWorlds to engine configuration 2022-06-13 18:54:15 +02:00
mafiesto4 37511c0e6b Various DDGI improvements 2022-06-13 16:02:41 +02:00
mafiesto4 eb1e39b3c4 Disable Global SDF in Editor's asset viewports 2022-06-13 16:02:22 +02:00
mafiesto4 6c45fff205 Add Global SDF mip sampling in DDGI probes classification to prevent flickering on large maps 2022-06-13 15:28:46 +02:00
mafiesto4 e96e6bea86 Fix initial irradiance update for scrolled probes 2022-06-13 13:59:01 +02:00
mafiesto4 ca0c3eb7d6 Optimize BoundingFrustum contains/intersects test 2022-06-13 12:38:18 +02:00
mafiesto4 78afe60343 Add Global Surface Atlas resolution setting 2022-06-13 12:38:01 +02:00
mafiesto4 1fc26a63a7 Update gi branch changes to large worlds 2022-06-13 00:50:34 +02:00
mafiesto4 e43515f653 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Graphics/PostProcessSettings.cpp
#	Source/Engine/Level/Actors/SkyLight.cpp
#	Source/Engine/Renderer/GBufferPass.cpp
#	Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp
#	Source/Engine/Renderer/GlobalSignDistanceFieldPass.h
#	Source/Engine/Renderer/RenderList.h
2022-06-13 00:46:33 +02:00
mafiesto4 bc65057eb7 Add property type tooltip to Visject properties 2022-06-13 00:41:06 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
GoaLitiuM 1978949b22 Allocate job context dynamically to prevent deadlocks 2022-06-12 13:56:13 +03:00
mafiesto4 d4839b9c78 Add Global Illumination options to PostFx Settings 2022-06-10 18:48:17 +02:00
mafiesto4 aa58665740 Move Global SDF towards the view direction 2022-06-10 14:31:01 +02:00
mafiesto4 f685c67275 Add Global SDF quality setting and support for variable cascades count and resolution 2022-06-10 14:30:40 +02:00
mafiesto4 3b27ae5fa9 Optimize ProbesTrace texture in DDGI to use batched probes update 2022-06-10 10:39:46 +02:00
mafiesto4 3a8e5e0bbe Various DDGI quality improvements 2022-06-09 11:31:20 +02:00
mafiesto4 211491f3d2 Add missing AO for DDGI irradiance 2022-06-09 10:55:26 +02:00
mafiesto4 6a74ebd62e Add support for cascades to DDGI 2022-06-09 08:55:45 +02:00
GoaLitiuM dc2a9c0702 Support dispatching jobs within jobs in JobSystem 2022-06-06 17:17:15 +03:00
mafiesto4 73d762cf0c Fix regression from 5ee62be166 2022-06-06 15:47:56 +02:00
mafiesto4 5ee62be166 Various DDGI improvements to the quality of the final effect 2022-06-06 15:04:58 +02:00
mafiesto4 c147e3bff4 Minor DDGI optimization 2022-06-06 13:13:36 +02:00
mafiesto4 1f1ed2bf60 Fix terrain draw modes to collect only current draw pass 2022-06-06 10:28:58 +02:00
mafiesto4 31d9802cf4 Add IndirectLightingIntensity support for lights in Global Surface Atlas 2022-06-06 10:28:39 +02:00
GoaLitiuM bbbfa4d5fe Fix wrong timestamps in C# profiler events 2022-06-05 18:38:36 +03:00
mafiesto4 79220556df Improve DDGI probes relocation algorithm 2022-06-03 17:43:12 +02:00
mafiesto4 befaf65ab1 Optimize DDGI probes position calculation when sampling irradiance 2022-06-03 16:11:46 +02:00
mafiesto4 54c322da7c Fix missing specular regression 2022-06-03 12:14:03 +02:00
mafiesto4 d05c09a33d Improve GI quality 2022-06-02 18:13:15 +02:00
mafiesto4 641d04a50e Improve GI quality 2022-05-31 15:52:19 +02:00
GoaLitiuM 81f62f58d7 Improve JetBrains Rider installation detection 2022-05-29 15:47:08 +03:00
mafiesto4 bdc7b3b754 Add updating ModelInstanceActor render state on material change 2022-05-27 12:07:27 +02:00
mafiesto4 d0a6f82cc2 Fix updating Global Surface Atlas for the static object that rendering state was modified 2022-05-27 12:07:02 +02:00
mafiesto4 eb6050cf27 Improve probes relocation algorithm to reduce visual artifacts due to probes flickering 2022-05-27 11:44:39 +02:00
mafiesto4 48b3a34182 Fix potential issue with SR/RT slots 2022-05-26 15:43:55 +02:00
mafiesto4 3377229966 Add color grading and postfx for Glboal Surface Atlas lighting debug view to increase readability 2022-05-26 15:10:26 +02:00
mafiesto4 c2082925c7 Improve multi-bounce irradiance lighting by limiting the diffuse color intensity 2022-05-26 15:09:37 +02:00
GoaLitiuM ec443b811b Fix error when double-clicking empty RichTextBox 2022-05-25 23:39:11 +03:00
mafiesto4 f82e370392 Refactor Vector types to support 64-bit precision via define switch 2022-05-25 20:04:33 +02:00
mafiesto4 1303740611 Add proper template types inflating with typedef searching for new scripting api features usage 2022-05-25 19:55:22 +02:00
mafiesto4 edbf0761d2 Minor code simplification 2022-05-25 19:54:50 +02:00
mafiesto4 e6a06832bf Fix invalid border corner pixel copy in probe image 2022-05-25 10:39:24 +02:00
mafiesto4 a116a1fb8d Add FLAX_BUILD_BINDINGS define for Scripting API parser to be used if needed 2022-05-23 19:57:38 +02:00
mafiesto4 c87f2f5b56 Optimize empty comments parsing in Scripting API 2022-05-23 19:57:07 +02:00
mafiesto4 e4e5745101 Fix parsing comments for Scripting API types that are templates 2022-05-23 19:56:43 +02:00
mafiesto4 e9c8584656 Format code in Flax.Build 2022-05-23 19:56:13 +02:00
mafiesto4 b30d22fa45 Missing change 2022-05-23 19:55:18 +02:00
mafiesto4 85fd540b97 Add new API_TYPEDEF metadata for Scriptign API types instantiation (with Alias option) 2022-05-23 19:50:37 +02:00
mafiesto4 b70bce1746 Add support for generic types in Scripting API with Template flag 2022-05-23 19:43:34 +02:00
mafiesto4 d39b6d7120 Fix processing else and elif preprocessor blocks in Flax.Build bindings parser 2022-05-23 17:46:26 +02:00
mafiesto4 c0412cc4f4 Fix using preprocessor define values in Flax.Build bindings parsing 2022-05-23 17:45:18 +02:00
mafiesto4 89ac470733 Add indirect lighting to Global Surface Atlas to achieve infinite GI bounces 2022-05-23 14:10:45 +02:00
mafiesto4 72c0474397 Add realtime sky/skybox capturing for GI 2022-05-23 12:53:39 +02:00
mafiesto4 375222a089 Initial DDGI implementation 2022-05-23 10:15:02 +02:00
mafiesto4 2eb51f9a83 Reformat code in Math libary 2022-05-21 20:04:12 +02:00
mafiesto4 785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
mafiesto4 f53a5ff536 Reorganize scene pointer in actor data 2022-05-21 19:41:24 +02:00
mafiesto4 5e6c518c39 Minor adjustments 2022-05-21 11:48:54 +02:00
mafiesto4 b7459c7311 Inline various operators in math types for better performance in Debug builds and better inlining 2022-05-21 11:36:27 +02:00
mafiesto4 e43ef605c2 Minor improvements 2022-05-20 18:12:29 +02:00
mafiesto4 ed908a260e Add support for Double2/3/4 for Variant
Increase size to 40 bytes to store Double3 without allocations
Change Ray and BoundingBox to be stored inlined in BoundingBox
Use safer accessors to read Variant explicit data type
2022-05-20 18:10:35 +02:00
mafiesto4 2369b6a34a Add support for double serializtion in C++ 2022-05-20 15:53:50 +02:00
mafiesto4 1a64df9116 Add more math utilities 2022-05-19 16:03:54 +02:00
mafiesto4 c3b2c55d51 Fix normal map when importing materials for model files 2022-05-19 12:00:12 +02:00
mafiesto4 04c0f19584 Add Double2, Double3, Double4 to C# scripting API 2022-05-18 23:23:50 +02:00
mafiesto4 523d961f28 Add various improvements for C# math library 2022-05-18 22:30:50 +02:00
mafiesto4 8c971cd11e Add custom floats formatting to prevent scientific notation 2022-05-18 22:29:31 +02:00
mafiesto4 f9d5c74507 Disable GI in editor asset viewports by default 2022-05-17 14:08:48 +02:00
mafiesto4 4a2e8d0a69 Cleanup and adjustments for vector types 2022-05-16 23:52:38 +02:00
mafiesto4 8125e406bb Add new math utilities to shaders library 2022-05-16 10:06:12 +02:00
mafiesto4 c74b66f728 Add Quaternion::RotationMatrix from Matrix3x3 rotation 2022-05-16 10:05:15 +02:00
mafiesto4 778e4e0ea7 Fix crash on NetworkPeer disposing 2022-05-15 11:51:20 +02:00
mafiesto4 e72b2b385f Minor adjustment 2022-05-15 11:37:14 +02:00
mafiesto4 afbbe6cf3f Merge branch 'GoaLitiuM-timer_resolution_fix' 2022-05-15 11:35:14 +02:00
mafiesto4 bdbced0bbc Merge branch 'timer_resolution_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-timer_resolution_fix 2022-05-15 11:35:05 +02:00
mafiesto4 3d7d52e779 Fix Vulkan crash when using Blur Panel in Screen Space canvas 2022-05-13 20:17:06 +02:00
mafiesto4 94f54abb62 Merge branch 'GoaLitiuM-fix_physx_addactor' 2022-05-13 19:17:21 +02:00
mafiesto4 05a7fd45c3 Merge branch 'fix_physx_addactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_physx_addactor 2022-05-13 19:17:16 +02:00
mafiesto4 389dfb44de Fix crash on macOS due to Vulkan timestamp queries error 2022-05-12 18:57:32 +02:00
mafiesto4 f7e48d9b23 Add shader getter to IMaterial interface 2022-05-12 13:47:19 +02:00
mafiesto4 69b9c1b9ee Add editorconfig for shader files 2022-05-12 13:46:17 +02:00
mafiesto4 abcc319168 Minor rename fixes 2022-05-12 13:46:05 +02:00
mafiesto4 f7955a5c4e Add support for custom location of Custom Global Code in generated material source code 2022-05-12 13:44:57 +02:00
mafiesto4 70de677266 Fix InstanceOrigin, PerInstanceRandom and LODDitherFactor to not use interpolation between shader stages 2022-05-12 13:30:59 +02:00
mafiesto4 5525527ecd Add No Results node to Content Search if nothing found 2022-05-11 19:08:01 +02:00
mafiesto4 650d15a665 Add Ctrl+C shortcut for content search result copy 2022-05-11 19:03:36 +02:00
mafiesto4 a5bcff5231 Skip assets from temporary folder in Content Search 2022-05-11 19:03:19 +02:00
mafiesto4 782c3a0e3e Add Find references utility for graph parameters and methods 2022-05-09 18:10:47 +02:00
mafiesto4 8b1e0df222 Add **Content Search** window to searching Visual Scripts and other assets 2022-05-08 19:42:34 +02:00
mafiesto4 1d228d28bf Fix pasting/duplicating nodes in Visject to call spawn event 2022-05-08 19:11:42 +02:00
GoaLitiuM 3523b1a85f Add PhysX actors to the scene immediately 2022-05-07 18:04:23 +03:00
mafiesto4 1acac3845e Add support for loading Visject surfaces without Surface UI 2022-05-06 18:45:12 +02:00
mafiesto4 78d6fe6b50 Fix error when loading surface from not yet loaded asset 2022-05-06 18:30:49 +02:00
mafiesto4 4cedd0f30c Fix scripting type search regression from 26d4ebd3d5 2022-05-06 17:37:07 +02:00
mafiesto4 2d27e0997f Silence old warning 2022-05-06 17:17:54 +02:00
mafiesto4 21e6c2603c Silence old warning 2022-05-06 17:16:01 +02:00
mafiesto4 90906baae2 Various improvements for Editor 2022-05-06 17:14:25 +02:00
mafiesto4 3766488114 Fix crash when loading empty json for Variant structure data 2022-05-05 18:35:05 +02:00
mafiesto4 7bb5ffc2a4 Fix copy pasting multi-line text into a single-line textbox 2022-05-04 20:16:29 +02:00
mafiesto4 ae63508049 More adjustment for content finder visibility 2022-05-04 18:37:26 +02:00
mafiesto4 7303377358 Reorganize Content Finder files 2022-05-04 18:15:12 +02:00
mafiesto4 2a4057cbc2 Add public events for Editor play mode flow 2022-05-03 23:08:47 +02:00
mafiesto4 bc6b70f4f9 Optimize static Visual Script event calling 2022-05-03 21:12:29 +02:00
mafiesto4 225cc38ea8 Add late initialization to Content Finder tool in Editor 2022-05-03 16:14:07 +02:00
GoaLitiuM 6e2b854544 Set timer resolution to lowest possible value in all Windows systems 2022-05-02 20:59:07 +03:00
mafiesto4 ab37cc72a9 Minor renaming 2022-05-02 12:52:38 +02:00
mafiesto4 acd064c364 Introduce separate GI directory 2022-05-02 12:09:53 +02:00
mafiesto4 4b6fce7e5d Ignore Rider configs 2022-05-02 10:57:54 +02:00
mafiesto4 551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
mafiesto4 04a7dab7e7 Minor fixes 2022-05-02 10:36:31 +02:00
mafiesto4 8e02d449fb Fix rare crash on terrain in Global Surface Atlas sampling 2022-05-02 10:13:20 +02:00
mafiesto4 1859d7c2f5 Inline Vector4 == operator manually 2022-05-01 21:48:35 +02:00
mafiesto4 12d960e787 Merge branch 'vector2_fix' of https://github.com/GoaLitiuM/FlaxEngine 2022-05-01 21:45:28 +02:00
mafiesto4 426b53e46d Increase max samples for SSR in forward shading 2022-05-01 21:42:48 +02:00
mafiesto4 2935b85543 Add preserving existing value of the Visual Script parameter when changing its type 2022-05-01 21:34:21 +02:00
mafiesto4 26d4ebd3d5 Fixes for Visual Scripting in Editor 2022-05-01 21:11:15 +02:00
mafiesto4 3546793e12 Fix using null array of dictionary in Visual Script for init 2022-05-01 21:10:23 +02:00
mafiesto4 c5135372ca Improve local variables displaying in Visual Script debugger 2022-05-01 20:43:02 +02:00
mafiesto4 eb75a3c2fb Fix foreach loop in Visual Script to continue flow on null array or dictionary 2022-05-01 20:42:42 +02:00
mafiesto4 74b23d0e00 Add support for array of Visual Script objects 2022-05-01 20:42:05 +02:00
mafiesto4 7731db638f Fix raycasting Global SDF from far cascade 2022-04-30 15:22:54 +02:00
mafiesto4 8428f28239 Various improvements for SDF rendering 2022-04-29 17:11:39 +02:00
mafiesto4 5465652466 Add terrain rendering support for Global Surface Atlas 2022-04-29 14:05:03 +02:00
mafiesto4 c5bfdc66a4 Rename from a2eaab0ca3 2022-04-28 23:05:02 +02:00
mafiesto4 a2eaab0ca3 Split ScriptType into separate file to simply codebase 2022-04-28 22:59:24 +02:00
mafiesto4 d76fd634a5 Fix minor issue with Visual Script set parameter node calling flow during debugger value evaluation 2022-04-28 22:45:56 +02:00
mafiesto4 7e609984b4 Add TypeReference attribute to actors/scripts searching utilities for easier type picking in Visual Script 2022-04-28 22:44:56 +02:00
mafiesto4 1a711ea14f Improve Global Surface Atlas debug view to display multiple view types 2022-04-28 14:17:30 +02:00
mafiesto4 70b9db7598 Add support for rasterizing terrain into Global SDF as heightfield 2022-04-28 14:17:10 +02:00
mafiesto4 3ec856778c Optimize Global SDF chunk data 2022-04-28 10:42:58 +02:00
mafiesto4 158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
mafiesto4 a7e512bd50 Add GlobalSurfaceAtlas draw pass 2022-04-27 16:41:40 +02:00
mafiesto4 37a49c0d2e Reduce artifacts on Global Surface Atlas sampling due to SDF precision loss on far cascades 2022-04-27 14:25:48 +02:00
mafiesto4 27a1dc8966 Improve property names displaying in UI and add Unit Test for it 2022-04-27 14:12:27 +02:00
mafiesto4 49aa4abc20 Optimize Global Surface Atlas sampling with 3d-grid culling into chunks 2022-04-27 12:47:11 +02:00
GoaLitiuM 703152cb2f Fix Vector2 equality comparison 2022-04-24 21:17:27 +03:00
mafiesto4 4524edb899 Fix static model registering for rendering after streaming in even if disabled 2022-04-22 18:33:22 +02:00
mafiesto4 42bb4483b3 Minro tweaks to comments 2022-04-22 15:15:33 +02:00
mafiesto4 77dcc9b7a3 Refactor Global Surface Atlas objects buffer into separate tiles buffer to reduce memory usage and increase cache hit ratio 2022-04-22 14:24:06 +02:00
mafiesto4 9d205cbb7d Fix 2022-04-21 13:08:28 +02:00
mafiesto4 cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
mafiesto4 ca935f4f08 Improve Global SDF static chunks cache to track SDF textures streaming 2022-04-21 12:40:23 +02:00
mafiesto4 b3d18f3b0e Improve StaticModel to register for Scene Rendering once the model has any LOD streamed-in 2022-04-21 12:39:27 +02:00
mafiesto4 5345d1f685 Add events for streamable resources residency changes tracking 2022-04-21 12:37:39 +02:00
mafiesto4 0a458d94c4 Add support for Volume textures to have residency changed as regular textures 2022-04-21 12:36:16 +02:00
mafiesto4 60d2670e2e Fixes 2022-04-21 12:29:09 +02:00
mafiesto4 e44c09aa6e Optimize SDF model buffer flushing to be used only if needed 2022-04-21 12:10:22 +02:00
mafiesto4 0b6d3a313e Fix new dynamic buffers to be actually dynamic 2022-04-21 12:08:23 +02:00
mafiesto4 8ed2bb4179 Fix HashSet::Remove return value if empty 2022-04-21 11:37:50 +02:00
mafiesto4 1523fa98ec Add static chunks caching to Global SDF 2022-04-19 17:17:27 +02:00
mafiesto4 fe430e81ad Add ISceneRenderingListener for using scene information in renderer cache 2022-04-19 17:16:33 +02:00
mafiesto4 b9652949b0 Minor improvements 2022-04-19 17:15:54 +02:00
mafiesto4 c53a463bb1 Refactor HashSet to support custom allocator 2022-04-19 17:14:29 +02:00
mafiesto4 a6c14bd986 Fix Dictionary::Remove return value if empty 2022-04-16 22:49:03 +02:00
mafiesto4 3c841b1be1 Add support for font size and color in Header attribute 2022-04-15 19:16:50 +02:00
mafiesto4 ddb9b327d4 Add Color.FromRGBA 2022-04-15 19:16:30 +02:00
mafiesto4 75b61f2bef Fix typos 2022-04-15 19:16:14 +02:00
mafiesto4 8a01a31e8d Add keyboard key navigation to Content View based on items name first character 2022-04-15 17:12:50 +02:00
mafiesto4 493787d4d6 Add Custom Global Code node to materials for injecting custom code, includes or constants 2022-04-15 17:04:28 +02:00
mafiesto4 997d2a4db9 Fix Model SDF uploading with async task that locks asset file data to prevent release 2022-04-15 10:12:54 +02:00
mafiesto4 2b9aa0cf71 Fix typos 2022-04-15 09:59:37 +02:00
mafiesto4 991abb1cf8 Add loopCount to PlaySlotAnimation for looping slot animation 2022-04-14 23:18:37 +02:00
mafiesto4 03524caebf Fix function name 2022-04-14 23:14:49 +02:00
mafiesto4 4ac9406b90 Revert 017492dbfa 2022-04-14 23:10:01 +02:00
mafiesto4 47cc49a962 Add Delegate::BindUnique 2022-04-14 22:17:40 +02:00
mafiesto4 d52e70af6c Implement shadows rendering to direct light atlas (with Glboal SDF tracing) 2022-04-14 16:26:45 +02:00
mafiesto4 e554b7f531 Move Actor.DestroyChildren to C++ 2022-04-13 21:34:13 +02:00
mafiesto4 3d76b2c10f Add Array Add Unique node to Visual Scripting 2022-04-13 21:25:11 +02:00
mafiesto4 a27d69f852 Improve Json Asset development workflow 2022-04-13 21:19:10 +02:00
mafiesto4 9fb4624b03 Add JsonAsset.Instance for C# asset object 2022-04-13 21:18:35 +02:00
mafiesto4 017492dbfa Optimize C# types searching with typename 2022-04-13 19:48:39 +02:00
mafiesto4 0668a23167 Add direct lighting rendering into Global Surface Atlas 2022-04-13 16:26:19 +02:00
mafiesto4 738e7d2516 Update engine materials 2022-04-12 22:17:01 +02:00
mafiesto4 96ed170871 Use TraceSceenSpaceReflection in SSR shader for opaque 2022-04-12 22:16:45 +02:00
mafiesto4 58491e6d23 Add **Screen Space Reflections for transparent materials** 2022-04-12 22:16:06 +02:00
mafiesto4 e32ad93020 Add support for sampling Scene Color in transparent materials (forward pass) 2022-04-12 21:48:52 +02:00
mafiesto4 0a27d277a0 Adjustments 2022-04-12 14:27:06 +02:00
mafiesto4 74b95a6ebb Add Global Surface Atlas automatic defragmentation on insertion failure 2022-04-12 11:10:38 +02:00
mafiesto4 db08204ead Add sdf to engine primitives 2022-04-12 11:09:53 +02:00
mafiesto4 c99793d2a4 Fix typo 2022-04-11 18:32:28 +02:00
mafiesto4 e8774ebd29 Fixes and improvements for global sdf and global surface atlas 2022-04-11 16:15:28 +02:00
mafiesto4 db0cb04b83 Merge remote-tracking branch 'origin/master' into gi 2022-04-11 10:37:23 +02:00
mafiesto4 bd48829a09 Improve quality for atlas sampling 2022-04-11 10:36:39 +02:00
mafiesto4 52245d36d6 Fixes for global atlas cache rendering 2022-04-11 10:36:19 +02:00
mafiesto4 1eac02d173 Fix opening and editing animation with missing Anim Events 2022-04-10 20:58:25 +02:00
mafiesto4 ea4224ba67 Fix drag&drop into Scene Tree if move goes over valid drop target first 2022-04-10 15:24:02 +02:00
mafiesto4 1d7448ec83 Merge commit 'a9d66d653546d89d91344c23e62c4fdc056d9265' 2022-04-10 14:40:13 +02:00
mafiesto4 c7c6acfc78 Fix DirectX crash when profiling with RenderDoc
#698
2022-04-10 14:38:15 +02:00
mafiesto4 7735849b7f Add Global Surface Atlas sampling 2022-04-08 13:54:31 +02:00
mafiesto4 fbc1e6c861 Fix shader source code encoding error on compilation error 2022-04-08 13:53:59 +02:00
mafiesto4 598876d8e3 Add shader reloading on header file edit for shaders with compilation errors 2022-04-08 13:53:23 +02:00
mafiesto4 a9d66d6535 Various fixes for scripting runtime 2022-04-07 22:03:42 +02:00
mafiesto4 da4008575b Progress on surface atlas sampling 2022-04-07 17:16:06 +02:00
mafiesto4 49a67be419 Add objects culling in Global Surface Atlas 2022-04-06 16:56:04 +02:00
mafiesto4 430ef09ab1 Fix render pass resource checking 2022-04-06 13:16:12 +02:00
mafiesto4 34c0d6c442 Add Global Surface Atlas objects redrawing 2022-04-06 13:15:45 +02:00
mafiesto4 60d6e6b9ce Add dirty tiles clearing before mesh rasterization to Global Surface Atlas 2022-04-05 17:22:45 +02:00
mafiesto4 5fc9cb154b Fix typo 2022-04-05 17:22:03 +02:00
mafiesto4 aba0e46073 Add utility ctors to Half vectors 2022-04-05 17:21:55 +02:00
mafiesto4 016b96e9f0 Add objects rasterization to Global Surface Atlas 2022-04-04 17:13:31 +02:00
mafiesto4 8bf01146f1 Add profile event to Global SDF objects drawing loop 2022-04-04 17:11:26 +02:00
mafiesto4 4c98e0a335 Add IsSingleFrame to RenderView for thumbnails/pre-render views drawing without temporal effects and LOD transitions 2022-04-04 17:11:01 +02:00
mafiesto4 3ded5326a2 Add more utilities for using Matrix3x3 2022-04-04 17:09:47 +02:00
mafiesto4 52bb5803b3 Cleanup asset previews setup for Editors thumbnails rendering 2022-04-04 17:09:13 +02:00
mafiesto4 cff57e5697 Fix inserting to RectPack after freeing node 2022-04-01 14:15:09 +02:00
mafiesto4 251de1b643 Add support for freeing slots in RectPack 2022-04-01 12:41:09 +02:00
mafiesto4 de8a6bea58 Add drawing RenderList if it was not batched/sorted 2022-04-01 12:40:26 +02:00
mafiesto4 94799a9e28 Fixes and tweaks for rendering 2022-04-01 12:39:46 +02:00
mafiesto4 ceb64afd4a Add DynamicTypedBuffer utility 2022-04-01 12:38:46 +02:00
mafiesto4 63b8b0cb50 Add GlobalSurfaceAtlas pass to Renderer (wip) 2022-03-29 15:07:00 +02:00
mafiesto4 787e7b423c Add additional HitNormal feature to Global SDF trace output 2022-03-29 15:06:54 +02:00
mafiesto4 9d56093381 Add lazy init for Global SDF shader 2022-03-29 15:06:48 +02:00
mafiesto4 26b2cb291e Expose GlobalSignDistanceFieldPass to user scripts 2022-03-29 15:06:41 +02:00
mafiesto4 f59ab696e2 Merge branch 'GoaLitiuM-font_dpi_fix' 2022-03-28 20:52:14 +02:00
mafiesto4 fd425363b6 Merge branch 'font_dpi_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-font_dpi_fix 2022-03-28 20:52:08 +02:00
mafiesto4 3c4fd80f6e Fix D3D12 shader cache invalidation for cooker building for Windows 2022-03-28 20:43:14 +02:00
mafiesto4 2b9a03d9bc Post-merge fixes 2022-03-28 20:04:29 +02:00
mafiesto4 a9061eb44f Merge branch 'GoaLitiuM-d3d11_flip_present' 2022-03-28 19:59:36 +02:00
mafiesto4 f3324ae2fd Merge branch 'd3d11_flip_present' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-d3d11_flip_present 2022-03-28 19:59:27 +02:00
mafiesto4 94fbc28ee0 Fix error on empty regex text 2022-03-28 19:57:38 +02:00
mafiesto4 f10af9d8fb Fix Multiply (and similar) nodes result value in Visject if the first input is disconnected 2022-03-28 19:48:08 +02:00
mafiesto4 95e90d5c37 Add support for in-built color constants in Visject (eg. red/blue/violet) 2022-03-28 19:46:52 +02:00
mafiesto4 0ca6e70b66 Fix invalid Rigidbody bounds if it has no shapes attached 2022-03-28 19:28:25 +02:00
mafiesto4 8e79529e4e Fix highlighting the first error/warning from the Output Log message text 2022-03-28 19:04:53 +02:00
mafiesto4 79669a8789 Fix upscaler usage if resolution is higher than 1 2022-03-28 16:31:23 +02:00
mafiesto4 c41a446ae9 Add Rotate Vector node to Visject Surface graphs 2022-03-28 15:02:32 +02:00
mafiesto4 446a6f22fa Fix using double value with float values to be casted in Editor 2022-03-28 14:48:45 +02:00
mafiesto4 2b83975ea2 Add support for implicit casting from Quaternion to other types in shaders 2022-03-28 14:48:21 +02:00
mafiesto4 fc138bbbbb Fix GPU context error during lights rendering 2022-03-28 14:01:51 +02:00
mafiesto4 e56b280f5b Format code for shader generators 2022-03-28 14:01:29 +02:00
mafiesto4 a685962d32 Add Sample Global SDF Gradient node to materials and particles 2022-03-28 13:58:27 +02:00
mafiesto4 4938c7e64b Fix ParticleEffectEditor issues after emitter editing if selected 2022-03-28 13:39:45 +02:00
mafiesto4 3a9edabd03 Add Collision (Global SDF) particle module 2022-03-28 13:39:20 +02:00
mafiesto4 bcc4a2c0a4 Add Position (Global SDF) particle module 2022-03-28 10:27:33 +02:00
mafiesto4 5d0c27dff3 Remove FlaxException 2022-03-27 23:57:36 +02:00
GoaLitiuM 9a0d4ae53b Improve font rendering and alignment with custom DPI 2022-03-27 01:51:20 +02:00
GoaLitiuM 6e6f2859ab Fix switching to fullscreen mode in D3D11/D3D12 flip presentation modes 2022-03-26 16:48:46 +02:00
mafiesto4 f608d2537f Fix 2022-03-25 15:45:49 +01:00
mafiesto4 2bf0a7af8e Fix opening particle emitter editor window if shader compilation fails 2022-03-25 15:37:01 +01:00
mafiesto4 5a0d8f44ff Fix crash on Editor closing 2022-03-25 15:36:47 +01:00
mafiesto4 3e9b6caa1c Fix sorting items in various contextual list popups in Editor 2022-03-25 15:36:30 +01:00
mafiesto4 a917397090 Add Conform to Global SDF to GPU particles 2022-03-25 15:36:00 +01:00
mafiesto4 6c4e61a924 Add SampleGlobalSDFGradient to get normal vector of Global SDF 2022-03-25 12:53:30 +01:00
mafiesto4 1271a337c5 Fix sampling Global SDF if unsupported (return large distance) 2022-03-25 11:42:39 +01:00
mafiesto4 a5af0a1c81 Fix game build 2022-03-25 11:42:09 +01:00
mafiesto4 4a18185e81 Add **Sample Global SDF** node to particles 2022-03-25 11:41:17 +01:00
mafiesto4 f8670a497e Fix crash when loading model SDF on older GPUs (d3d10) 2022-03-25 10:10:23 +01:00
mafiesto4 b847b9ccba Add **Sample Global SDF** node to materials 2022-03-25 10:09:52 +01:00
mafiesto4 dff1b37a3b Bump up build number 2022-03-25 09:50:18 +01:00
mafiesto4 80d7c854ab Add SDF for plane model 2022-03-24 15:24:36 +01:00
mafiesto4 d5297f9047 Add option to always render Global SDF 2022-03-24 14:59:14 +01:00
mafiesto4 92ab3d005e Generate SDF for engine models 2022-03-24 12:54:04 +01:00
mafiesto4 67d1e43f6c Add utility button to generate SDF for all models on a scene 2022-03-24 12:18:28 +01:00
mafiesto4 67b6604a67 Add automatic group panels hiding if all properties are hidden by VisibleIf rule 2022-03-24 11:33:09 +01:00
mafiesto4 a1fbf79ebf Refactor Model Import Options to display only relevant properties for asset Type
Move tooltips to the doc comments
2022-03-24 11:32:34 +01:00
mafiesto4 b08d2001fd Add Model SDF generation utilities 2022-03-24 11:32:02 +01:00
mafiesto4 e89e6edfb8 Fix crash in scripting init if current localization is null 2022-03-22 19:29:17 +01:00
mafiesto4 b2e91b8a07 Improvements for dependencies building utilities 2022-03-22 19:04:10 +01:00
mafiesto4 532203040f Fix PATH env var expanding in Flax.Build app runner 2022-03-22 19:03:13 +01:00
mafiesto4 bb2f8f34dc Fix crash on opening skeleton mask window 2022-03-22 18:58:15 +01:00
mafiesto4 d5060e9067 Missing change 2022-03-22 18:11:04 +01:00
mafiesto4 891d65dc87 Add utility to editor CodeDocs for tooltips from C# types and members 2022-03-22 18:10:47 +01:00
mafiesto4 832a4bf86a Add utility Copy option for various labels in assets editors 2022-03-22 17:16:15 +01:00
mafiesto4 885d2f0771 Move Static Model rasterization into Global SDF code 2022-03-22 17:15:21 +01:00
mafiesto4 18321937e4 Optimize model SDF with 8-bit storage (if possible) 2022-03-22 15:08:38 +01:00
mafiesto4 6196bb31fe Post merge fixes 2022-03-22 13:20:07 +01:00
mafiesto4 92f5377f70 Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Flax.flaxproj
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/Graphics/Textures/GPUTexture.cpp
#	Source/Engine/GraphicsDevice/DirectX/DX11/GPUContextDX11.cpp
#	Source/Engine/Terrain/Terrain.cpp
#	Source/Engine/Tools/ModelTool/ModelTool.Build.cs
#	Source/FlaxEngine.Gen.cs
#	Source/FlaxEngine.Gen.h
2022-03-22 13:00:21 +01:00
mafiesto4 9107897b76 Add missing pipeline barriers after Dispatch on Vulkan to prevent race-conditions with UAVs 2022-03-22 12:56:21 +01:00
mafiesto4 aa9161a16f Fix some issues 2022-03-22 12:55:33 +01:00
mafiesto4 c10cdc3d90 Fix UsedSRsMask/UsedUAsMask when binding arrays to the shader 2022-03-22 12:55:13 +01:00
mafiesto4 d58584e1fd Fix crash if D3D device gets DXGI_ERROR_DEVICE_REMOVED during init 2022-03-21 10:51:42 +01:00
mafiesto4 8f99a3df76 Add soft handling for MeshAccelerationStructure build from model on data gather fail 2022-03-21 10:50:56 +01:00
mafiesto4 abbb0eb85c Disable SDF generation for virtual models on a main thread 2022-03-21 10:50:34 +01:00
GoaLitiuM 85f88efa95 Enable support for latest Windows SDKs 2022-03-20 18:31:41 +02:00
GoaLitiuM 8ed7b0f455 Fix wrong library linkage in DirectXShaderCompiler 2022-03-20 18:27:02 +02:00
mafiesto4 8d0a779ff4 Fix uploading volume texture data to GPU in D3D12 2022-03-18 17:55:35 +01:00
mafiesto4 8cca7f884b Add **Global Sign Distance Field** rendering (work in progress) 2022-03-18 16:18:00 +01:00
mafiesto4 10d09711d9 Add Sign Distant Field (SDF) generation for models 2022-03-18 14:35:11 +01:00
mafiesto4 c85ee9ff52 Fix key clearing on actor remove from SceneRendering 2022-03-18 13:28:50 +01:00
mafiesto4 cd66981c1d Add CustomBuffers for injecting custom state into RenderBuffers 2022-03-18 13:27:25 +01:00
mafiesto4 3dac0d4786 Fix error in Forward Shader Feature when rendering directional light shadowmap 2022-03-18 13:25:09 +01:00
mafiesto4 3d35277a87 Bump up version 2022-03-18 13:23:52 +01:00
GoaLitiuM 33fe5e7518 Fix uninitialized values and release COM resources after use 2022-03-17 21:25:56 +02:00
GoaLitiuM e794911755 Enable flip presentation mode and tearing in D3D11 2022-03-17 21:25:56 +02:00
mafiesto4 b780e33a5b Fix for faster models exporting 2022-03-14 20:32:38 +01:00
mafiesto4 6da3dff5de Fix editor options startup to not log error on missing file 2022-03-14 20:32:10 +01:00
mafiesto4 8e28fef91f Fix Lightmap UVs Source not working in model import options 2022-03-13 19:31:33 +01:00
mafiesto4 aed6f0403d Fix dylibs list
#693
2022-03-04 23:20:45 +01:00
mafiesto4 09c995d67b Fix for macOS dylib path
#693
2022-03-04 23:14:36 +01:00
mafiesto4 07760f7acd Add DynamicStructuredBuffer utility 2022-02-27 13:32:05 +01:00
mafiesto4 748b857e57 Add ability to use ModelTool module in game build 2022-02-27 13:31:32 +01:00
mafiesto4 8271a2b718 Add MeshAccelerationStructure utility for robust triangles geometry queries 2022-02-27 13:29:58 +01:00
mafiesto4 3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +01:00
mafiesto4 8c075c78cb Add LineHitBox to Collisions.hlsl 2022-02-21 20:15:07 +01:00
mafiesto4 8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
Scott Longley 1fa06546f4 add CursorLockMode.Clipped 2022-02-18 22:44:16 +10:00
Scott Longley 749895f2ca typo fixes 2022-02-18 21:58:46 +10:00
Scott Longley 8db4c3cfff Add ClipCursor (Windows only) 2022-02-18 21:14:08 +10:00
mafiesto4 5d4c168e1e Add Vector3::Clamp for easier inline in optimized builds 2022-02-15 12:14:31 +01:00
mafiesto4 a857e6daa0 Fix memory leak in RenderTargetPool on texture init fail 2022-02-15 12:14:02 +01:00
mafiesto4 6b3e911b40 Remove old log for drag&drop on Windows 2022-02-14 14:37:22 +01:00
mafiesto4 311b95b9fc Add support for using mipmaps with 3D textures 2022-02-14 14:37:04 +01:00
mafiesto4 7979831f5c Add JobSystem.Execute utility for quick jobs running 2022-02-14 14:34:43 +01:00
mafiesto4 9dc49f7165 Optimize Vector3 method to be inlined more often 2022-02-14 11:46:48 +01:00
mafiesto4 788b1a7531 Add Distance to box/point for Bounding Box 2022-02-14 10:15:38 +01:00
mafiesto4 79cacbf36e Add GetNormal to Triangle 2022-02-14 10:15:05 +01:00
mafiesto4 1168176016 Optimize texture data async upload during rendering 2022-02-09 10:01:21 +01:00
mafiesto4 9a4aa20bbb Add Windows 11 detection 2022-02-09 09:23:44 +01:00
mafiesto4 88879e441e Add some missing changes 2022-02-08 18:06:56 +01:00
mafiesto4 70ca42794a Add ClearUA to GPUContext to clear texture with float values 2022-02-08 18:06:02 +01:00
mafiesto4 9a3a6c8a72 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 18:05:20 +01:00
mafiesto4 f67371d524 Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 18:04:44 +01:00
mafiesto4 7e2e764e1e Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 17:56:45 +01:00
2809 changed files with 81268 additions and 39968 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Build Android
on: [push, pull_request]
jobs:
# Game
game-windows:
name: Game (Android, Release ARM64)
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=ARM64 -platform=Android -configuration=Release -buildtargets=FlaxGame
+2 -2
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo rm -f /etc/apt/sources.list.d/*
@@ -32,7 +32,7 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev
+2 -2
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
@@ -26,7 +26,7 @@ jobs:
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
+2 -2
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
@@ -26,7 +26,7 @@ jobs:
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
+13 -13
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -23,12 +23,12 @@ jobs:
run: |
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Windows-Editor
path: Output/Editor.zip
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Windows-EditorDebugSymbols
path: Output/EditorDebugSymbols.zip
@@ -37,7 +37,7 @@ jobs:
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -48,7 +48,7 @@ jobs:
run: |
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Windows-Game
path: Output/Windows.zip
@@ -59,7 +59,7 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -76,7 +76,7 @@ jobs:
run: |
./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Linux-Editor
path: Output/FlaxEditorLinux.zip
@@ -85,7 +85,7 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -102,7 +102,7 @@ jobs:
run: |
./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Linux-Game
path: Output/Linux.zip
@@ -113,7 +113,7 @@ jobs:
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -124,7 +124,7 @@ jobs:
run: |
./PackageEditor.command -arch=x64 -platform=Mac -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Mac-Editor
path: Output/FlaxEditorMac.zip
@@ -133,7 +133,7 @@ jobs:
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -144,7 +144,7 @@ jobs:
run: |
./PackagePlatforms.command -arch=x64 -platform=Mac -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Mac-Game
path: Output/Mac.zip
+31 -3
View File
@@ -3,13 +3,13 @@ on: [push, pull_request]
jobs:
# Tests
# Tests on Linux
tests-linux:
name: Tests (Linux)
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
@@ -29,6 +29,34 @@ jobs:
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets="Flax.Build.Tests"
- name: Test
run: |
Binaries/Tests/Linux/x64/Development/FlaxTests
Binaries/Editor/Linux/Development/FlaxTests
mono Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tools/FlaxEngine.Tests.dll --framework=mono-4.0
mono Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tools/Flax.Build.Tests.dll --framework=mono-4.0
- name: Test UseLargeWorlds
run: |
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxTestsTarget -UseLargeWorlds=true
Binaries/Editor/Linux/Development/FlaxTests
# Tests on Windows
tests-windows:
name: Tests (Windows)
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
.\GenerateProjectFiles.bat -vs2019
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxTestsTarget
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Debug -buildtargets=FlaxEditor -BuildBindingsOnly
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Debug -buildtargets="FlaxEngine.Tests"
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Debug -buildtargets="Flax.Build.Tests"
- name: Test
run: |
Binaries\Editor\Win64\Development\FlaxTests.exe
Source\Platforms\DotNet\NUnit\nunit3-console.exe Binaries\Tools\FlaxEngine.Tests.dll --framework=net-4.5.2
Source\Platforms\DotNet\NUnit\nunit3-console.exe Binaries\Tools\Flax.Build.Tests.dll --framework=net-4.5.2
+4 -1
View File
@@ -10,6 +10,8 @@ Source/*.csproj
/Package_*/
!Source/Engine/Debug
/Source/Platforms/Editor/Linux/Mono/etc/mono/registry
PackageEditor_Cert.bat
PackagePlatforms_Cert.bat
# User-specific files
*.suo
@@ -148,5 +150,6 @@ bin/
obj/
*.vcxproj.filters
.vscode/
.idea/
*.code-workspace
omnisharp.json
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.
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.
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.
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.
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
@@ -10,17 +11,9 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float4x4 InvWorld;
float4x4 SVPositionToWorld;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
@1META_CB_END
// Use depth buffer for per-pixel decal layering
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
#include "./Flax/MaterialCommon.hlsl"
@@ -9,23 +10,14 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 LocalMatrix;
float4x4 ViewMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 Dummy0;
float WorldDeterminantSign;
float MeshMinZ;
float Segment;
float ChunksPerSegment;
float PerInstanceRandom;
float4 TemporalAAJitter;
float3 GeometrySize;
float MeshMaxZ;
@1META_CB_END
@@ -25,7 +25,7 @@ void PS_GBuffer(
#endif
)
{
Light = 0;
Light = float4(0, 0, 0, 1);
#if USE_DITHERED_LOD_TRANSITION
// LOD masking
@@ -40,7 +40,7 @@ void PS_GBuffer(
#if MATERIAL_MASKED
clip(material.Mask - MATERIAL_MASK_THRESHOLD);
#endif
#if USE_LIGHTMAP
float3 diffuseColor = GetDiffuseColor(material.Color, material.Metalness);
float3 specularColor = GetSpecularColor(material.Color, material.Specular, material.Metalness);
@@ -6,6 +6,10 @@
#include "./Flax/LightingCommon.hlsl"
#if USE_REFLECTIONS
#include "./Flax/ReflectionsCommon.hlsl"
#define MATERIAL_REFLECTIONS_SSR 1
#if MATERIAL_REFLECTIONS == MATERIAL_REFLECTIONS_SSR
#include "./Flax/SSR.hlsl"
#endif
#endif
#include "./Flax/Lighting.hlsl"
#include "./Flax/ShadowsSampling.hlsl"
@@ -29,9 +33,12 @@ DECLARE_LIGHTSHADOWDATA_ACCESS(DirectionalLightShadow);
// Pixel Shader function for Forward Pass
META_PS(USE_FORWARD, FEATURE_LEVEL_ES2)
float4 PS_Forward(PixelInput input) : SV_Target0
void PS_Forward(
in PixelInput input
,out float4 output : SV_Target0
)
{
float4 output = 0;
output = 0;
#if USE_DITHERED_LOD_TRANSITION
// LOD masking
@@ -93,9 +100,34 @@ float4 PS_Forward(PixelInput input) : SV_Target0
light += GetLighting(ViewPos, localLight, gBuffer, shadowMask, true, isSpotLight);
}
#if USE_REFLECTIONS
// Calculate lighting from Global Illumination
#if USE_GI
light += GetGlobalIlluminationLighting(gBuffer);
#endif
// Calculate reflections
light.rgb += GetEnvProbeLighting(ViewPos, EnvProbe, EnvironmentProbe, gBuffer) * light.a;
#if USE_REFLECTIONS
float3 reflections = SampleReflectionProbe(ViewPos, EnvProbe, EnvironmentProbe, gBuffer.WorldPos, gBuffer.Normal, gBuffer.Roughness).rgb;
#if MATERIAL_REFLECTIONS == MATERIAL_REFLECTIONS_SSR
// Screen Space Reflections
Texture2D sceneDepthTexture = MATERIAL_REFLECTIONS_SSR_DEPTH; // Material Generator inserts depth and color buffers and plugs it via internal define
Texture2D sceneColorTexture = MATERIAL_REFLECTIONS_SSR_COLOR;
float2 screenUV = materialInput.SvPosition.xy * ScreenSize.zw;
float stepSize = ScreenSize.z; // 1 / screenWidth
float maxSamples = 48;
float worldAntiSelfOcclusionBias = 0.1f;
float brdfBias = 0.82f;
float drawDistance = 5000.0f;
float3 hit = TraceScreenSpaceReflection(screenUV, gBuffer, sceneDepthTexture, ViewPos, ViewMatrix, ViewProjectionMatrix, stepSize, maxSamples, false, 0.0f, worldAntiSelfOcclusionBias, brdfBias, drawDistance);
if (hit.z > 0)
{
float3 screenColor = sceneColorTexture.SampleLevel(SamplerPointClamp, hit.xy, 0).rgb;
reflections = lerp(reflections, screenColor, hit.z);
}
#endif
light.rgb += reflections * GetReflectionSpecularLighting(ViewPos, gBuffer) * light.a;
#endif
// Add lighting (apply ambient occlusion)
@@ -119,6 +151,4 @@ float4 PS_Forward(PixelInput input) : SV_Target0
#endif
#endif
return output;
}
@@ -0,0 +1,23 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
@0// Global Illumination: Defines
#define USE_GI 1
@1// Global Illumination: Includes
#include "./Flax/GI/DDGI.hlsl"
#include "./Flax/LightingCommon.hlsl"
@2// Global Illumination: Constants
DDGIData DDGI;
@3// Global Illumination: Resources
Texture2D<snorm float4> ProbesState : register(t__SRV__);
Texture2D<float4> ProbesDistance : register(t__SRV__);
Texture2D<float4> ProbesIrradiance : register(t__SRV__);
@4// Global Illumination: Utilities
float4 GetGlobalIlluminationLighting(GBufferSample gBuffer)
{
float3 irradiance = SampleDDGIIrradiance(DDGI, ProbesState, ProbesDistance, ProbesIrradiance, gBuffer.WorldPos, gBuffer.Normal);
float3 diffuseColor = GetDiffuseColor(gBuffer);
float3 diffuse = Diffuse_Lambert(diffuseColor);
return float4(diffuse * irradiance, saturate(length(irradiance)));
}
@5// Global Illumination: Shaders
@@ -5,6 +5,7 @@
#include "./Flax/Common.hlsl"
#include "./Flax/GBufferCommon.hlsl"
#include "./Flax/Matrix.hlsl"
#include "./Flax/Noise.hlsl"
@7
// Primary constant buffer
META_CB_BEGIN(0, Data)
@@ -62,68 +63,6 @@ float Rand(inout uint seed)
return asfloat((seed >> 9) | 0x3f800000) - 1.0f;
}
float4 Mod289(float4 x)
{
return x - floor(x * (1.0 / 289.0)) * 289.0;
}
float4 Perm(float4 x)
{
return Mod289(((x * 34.0) + 1.0) * x);
}
float Noise(float3 p)
{
float3 a = floor(p);
float3 d = p - a;
d = d * d * (3.0 - 2.0 * d);
float4 b = a.xxyy + float4(0.0, 1.0, 0.0, 1.0);
float4 k1 = Perm(b.xyxy);
float4 k2 = Perm(k1.xyxy + b.zzww);
float4 c = k2 + a.zzzz;
float4 k3 = Perm(c);
float4 k4 = Perm(c + 1.0);
float4 o1 = frac(k3 * (1.0 / 41.0));
float4 o2 = frac(k4 * (1.0 / 41.0));
float4 o3 = o2 * d.z + o1 * (1.0 - d.z);
float2 o4 = o3.yw * d.x + o3.xz * (1.0 - d.x);
return o4.y * d.y + o4.x * (1.0 - d.y);
}
float3 Noise3D(float3 p)
{
float o = Noise(p);
float a = Noise(p + float3(0.0001f, 0.0f, 0.0f));
float b = Noise(p + float3(0.0f, 0.0001f, 0.0f));
float c = Noise(p + float3(0.0f, 0.0f, 0.0001f));
float3 grad = float3(o - a, o - b, o - c);
float3 other = abs(grad.zxy);
return normalize(cross(grad,other));
}
float3 Noise3D(float3 position, int octaves, float roughness)
{
float weight = 0.0f;
float3 noise = float3(0.0, 0.0, 0.0);
float scale = 1.0f;
for (int i = 0; i < octaves; i++)
{
float curWeight = pow((1.0-((float)i / octaves)), lerp(2.0, 0.2, roughness));
noise += Noise3D(position * scale) * curWeight;
weight += curWeight;
scale *= 1.72531;
}
return noise / weight;
}
// Reprojects the world space position from the given UV and raw device depth
float3 ReprojectPosition(float2 uv, float rawDepth)
{
@@ -19,6 +19,7 @@ float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float4 ViewSize;
@1META_CB_END
// Shader resources
@@ -2,9 +2,8 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
// Ribbons don't use sorted indices so overlap the segment distances buffer on the slot
#define HAS_SORTED_INDICES (!defined(_VS_Ribbon))
#include "./Flax/Common.hlsl"
#include "./Flax/MaterialCommon.hlsl"
@@ -17,17 +16,17 @@ struct SpriteInput
float2 TexCoord : TEXCOORD;
};
struct RibbonInput
{
uint Order : TEXCOORD0;
uint ParticleIndex : TEXCOORD1;
uint PrevParticleIndex : TEXCOORD2;
float Distance : TEXCOORD3;
};
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
uint SortedIndicesOffset;
float PerInstanceRandom;
int ParticleStride;
@@ -52,13 +51,8 @@ float4x4 WorldMatrixInverseTransposed;
// Particles attributes buffer
ByteAddressBuffer ParticlesData : register(t0);
#if HAS_SORTED_INDICES
// Sorted particles indices
Buffer<uint> SortedIndices : register(t1);
#else
// Ribbon particles segments distances buffer
Buffer<float> SegmentDistances : register(t1);
#endif
// Shader resources
@2
@@ -76,8 +70,8 @@ struct VertexOutput
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
#endif
float3 InstanceOrigin : TEXCOORD6;
float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
nointerpolation float3 InstanceOrigin : TEXCOORD6;
nointerpolation float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
};
// Interpolants passed to the pixel shader
@@ -94,8 +88,8 @@ struct PixelInput
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
#endif
float3 InstanceOrigin : TEXCOORD6;
float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
nointerpolation float3 InstanceOrigin : TEXCOORD6;
nointerpolation float InstanceParams : TEXCOORD7; // x-PerInstanceRandom
bool IsFrontFace : SV_IsFrontFace;
};
@@ -327,13 +321,11 @@ VertexOutput VS_Sprite(SpriteInput input, uint particleIndex : SV_InstanceID)
{
VertexOutput output;
#if HAS_SORTED_INDICES
// Sorted particles mapping
if (SortedIndicesOffset != 0xFFFFFFFF)
{
particleIndex = SortedIndices[SortedIndicesOffset + particleIndex];
}
#endif
// Read particle data
float3 particlePosition = GetParticleVec3(particleIndex, PositionOffset);
@@ -464,13 +456,11 @@ VertexOutput VS_Model(ModelInput input, uint particleIndex : SV_InstanceID)
{
VertexOutput output;
#if HAS_SORTED_INDICES
// Sorted particles mapping
if (SortedIndicesOffset != 0xFFFFFFFF)
{
particleIndex = SortedIndices[SortedIndicesOffset + particleIndex];
}
#endif
// Read particle data
float3 particlePosition = GetParticleVec3(particleIndex, PositionOffset);
@@ -573,12 +563,16 @@ VertexOutput VS_Model(ModelInput input, uint particleIndex : SV_InstanceID)
// Vertex Shader function for Ribbon Rendering
META_VS(true, FEATURE_LEVEL_ES2)
VertexOutput VS_Ribbon(uint vertexIndex : SV_VertexID)
META_VS_IN_ELEMENT(TEXCOORD, 0, R32_UINT, 0, 0, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 1, R32_UINT, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 2, R32_UINT, 0, ALIGN, PER_VERTEX, 0, true)
META_VS_IN_ELEMENT(TEXCOORD, 3, R32_FLOAT, 0, ALIGN, PER_VERTEX, 0, true)
VertexOutput VS_Ribbon(RibbonInput input, uint vertexIndex : SV_VertexID)
{
VertexOutput output;
// Get particle data
uint particleIndex = vertexIndex / 2;
uint particleIndex = input.ParticleIndex;
int vertexSign = (((int)vertexIndex & 0x1) * 2) - 1;
float3 position = GetParticlePosition(particleIndex);
float ribbonWidth = RibbonWidthOffset != -1 ? GetParticleFloat(particleIndex, RibbonWidthOffset) : 20.0f;
@@ -586,15 +580,13 @@ VertexOutput VS_Ribbon(uint vertexIndex : SV_VertexID)
// Calculate ribbon direction
float3 direction;
if (particleIndex == 0)
if (input.Order == 0)
{
float3 nextParticlePos = GetParticlePosition(particleIndex + 1);
direction = nextParticlePos - position;
direction = GetParticlePosition(input.PrevParticleIndex) - position;
}
else
{
float3 previousParticlePos = GetParticlePosition(particleIndex - 1);
direction = position - previousParticlePos;
direction = position - GetParticlePosition(input.PrevParticleIndex);
}
// Calculate particle orientation (tangent vectors)
@@ -611,19 +603,16 @@ VertexOutput VS_Ribbon(uint vertexIndex : SV_VertexID)
}
// Calculate texture coordinates
float texCoordU;
#ifdef _VS_Ribbon
if (RibbonUVTilingDistance != 0.0f)
{
texCoordU = SegmentDistances[particleIndex] / RibbonUVTilingDistance;
output.TexCoord.x = input.Distance / RibbonUVTilingDistance;
}
else
#endif
{
texCoordU = (float)particleIndex / RibbonSegmentCount;
output.TexCoord.x = (float)input.Order / (float)RibbonSegmentCount;
}
float texCoordV = (vertexIndex + 1) & 0x1;
output.TexCoord = float2(texCoordU, texCoordV) * RibbonUVScale + RibbonUVOffset;
output.TexCoord.y = (vertexIndex + 1) & 0x1;
output.TexCoord = output.TexCoord * RibbonUVScale + RibbonUVOffset;
// Compute world space vertex position
output.WorldPosition = position + tangentRight * vertexSign * (ribbonWidth.xxx * 0.5f);
@@ -18,6 +18,7 @@ float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float4 TemporalAAJitter;
float4x4 InverseViewProjectionMatrix;
@1META_CB_END
// Shader resources
@@ -62,6 +63,14 @@ MaterialInput GetMaterialInput(PixelInput input)
return result;
}
// Gets world space position at given pixel coordinate with given device depth
float3 GetWorldPos(float2 uv, float deviceDepth)
{
float4 clipPos = float4(uv * float2(2.0, -2.0) + float2(-1.0, 1.0), deviceDepth, 1.0);
float4 wsPos = mul(clipPos, InverseViewProjectionMatrix);
return wsPos.xyz / wsPos.w;
}
// Transforms a vector from tangent space to world space
float3 TransformTangentVectorToWorld(MaterialInput input, float3 tangentVector)
{
+28 -34
View File
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
#include "./Flax/MaterialCommon.hlsl"
@@ -9,25 +10,13 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float4x4 PrevViewProjectionMatrix;
float4x4 PrevWorldMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 WorldInvScale;
float WorldDeterminantSign;
float2 Dummy0;
float LODDitherFactor;
float PerInstanceRandom;
float4 TemporalAAJitter;
float3 GeometrySize;
float Dummy1;
float WorldDeterminantSign;
@1META_CB_END
// Shader resources
@@ -43,9 +32,12 @@ struct GeometryData
#endif
float3 WorldNormal : TEXCOORD3;
float4 WorldTangent : TEXCOORD4;
float3 InstanceOrigin : TEXCOORD5;
float2 InstanceParams : TEXCOORD6; // x-PerInstanceRandom, y-LODDitherFactor
nointerpolation float3 InstanceOrigin : TEXCOORD5;
nointerpolation float2 InstanceParams : TEXCOORD6; // x-PerInstanceRandom, y-LODDitherFactor
float3 PrevWorldPosition : TEXCOORD7;
nointerpolation float3 InstanceTransform1 : TEXCOORD8;
nointerpolation float3 InstanceTransform2 : TEXCOORD9;
nointerpolation float3 InstanceTransform3 : TEXCOORD10;
};
// Interpolants passed from the vertex shader
@@ -54,7 +46,7 @@ struct VertexOutput
float4 Position : SV_Position;
GeometryData Geometry;
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD11;
#endif
#if USE_TESSELLATION
float TessellationMultiplier : TESS;
@@ -67,7 +59,7 @@ struct PixelInput
float4 Position : SV_Position;
GeometryData Geometry;
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD9;
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT] : TEXCOORD11;
#endif
bool IsFrontFace : SV_IsFrontFace;
};
@@ -90,11 +82,9 @@ struct MaterialInput
float3 PreSkinnedNormal;
float3 InstanceOrigin;
float2 InstanceParams;
#if USE_INSTANCING
float3 InstanceTransform1;
float3 InstanceTransform2;
float3 InstanceTransform3;
#endif
#if USE_CUSTOM_VERTEX_INTERPOLATORS
float4 CustomVSToPS[CUSTOM_VERTEX_INTERPOLATORS_COUNT];
#endif
@@ -115,6 +105,9 @@ MaterialInput GetGeometryMaterialInput(GeometryData geometry)
output.TBN = CalcTangentBasis(geometry.WorldNormal, geometry.WorldTangent);
output.InstanceOrigin = geometry.InstanceOrigin;
output.InstanceParams = geometry.InstanceParams;
output.InstanceTransform1 = geometry.InstanceTransform1;
output.InstanceTransform2 = geometry.InstanceTransform2;
output.InstanceTransform3 = geometry.InstanceTransform3;
return output;
}
@@ -152,6 +145,9 @@ GeometryData InterpolateGeometry(GeometryData p0, float w0, GeometryData p1, flo
output.WorldTangent.xyz = normalize(output.WorldTangent.xyz);
output.InstanceOrigin = p0.InstanceOrigin;
output.InstanceParams = p0.InstanceParams;
output.InstanceTransform1 = p0.InstanceTransform1;
output.InstanceTransform2 = p0.InstanceTransform2;
output.InstanceTransform3 = p0.InstanceTransform3;
return output;
}
@@ -168,17 +164,19 @@ MaterialInput GetMaterialInput(PixelInput input)
return output;
}
// Gets the local to world transform matrix (supports instancing)
#if USE_INSTANCING
// Gets the local to world transform matrix
#define GetInstanceTransform(input) float4x4(float4(input.InstanceTransform1.xyz, 0.0f), float4(input.InstanceTransform2.xyz, 0.0f), float4(input.InstanceTransform3.xyz, 0.0f), float4(input.InstanceOrigin.xyz, 1.0f))
// Extarcts the world matrix and instancce transform vector
#if USE_INSTANCING
#define CalculateInstanceTransform(input) float4x4 world = GetInstanceTransform(input); output.Geometry.InstanceTransform1 = input.InstanceTransform1.xyz; output.Geometry.InstanceTransform2 = input.InstanceTransform2.xyz; output.Geometry.InstanceTransform3 = input.InstanceTransform3.xyz;
#else
#define GetInstanceTransform(input) WorldMatrix;
#define CalculateInstanceTransform(input) float4x4 world = WorldMatrix; output.Geometry.InstanceTransform1 = world[0].xyz; output.Geometry.InstanceTransform2 = world[1].xyz; output.Geometry.InstanceTransform3 = world[2].xyz;
#endif
// Removes the scale vector from the local to world transformation matrix (supports instancing)
float3x3 RemoveScaleFromLocalToWorld(float3x3 localToWorld)
{
#if USE_INSTANCING
// Extract per axis scales from localToWorld transform
float scaleX = length(localToWorld[0]);
float scaleY = length(localToWorld[1]);
@@ -187,9 +185,6 @@ float3x3 RemoveScaleFromLocalToWorld(float3x3 localToWorld)
scaleX > 0.00001f ? 1.0f / scaleX : 0.0f,
scaleY > 0.00001f ? 1.0f / scaleY : 0.0f,
scaleZ > 0.00001f ? 1.0f / scaleZ : 0.0f);
#else
float3 invScale = WorldInvScale;
#endif
localToWorld[0] *= invScale.x;
localToWorld[1] *= invScale.y;
localToWorld[2] *= invScale.z;
@@ -331,7 +326,7 @@ VertexOutput VS(ModelInput input)
VertexOutput output;
// Compute world space vertex position
float4x4 world = GetInstanceTransform(input);
CalculateInstanceTransform(input);
output.Geometry.WorldPosition = mul(float4(input.Position.xyz, 1), world).xyz;
output.Geometry.PrevWorldPosition = mul(float4(input.Position.xyz, 1), PrevWorldMatrix).xyz;
@@ -370,11 +365,6 @@ VertexOutput VS(ModelInput input)
materialInput.SvPosition = output.Position;
materialInput.PreSkinnedPosition = input.Position.xyz;
materialInput.PreSkinnedNormal = tangentToLocal[2].xyz;
#if USE_INSTANCING
materialInput.InstanceTransform1 = input.InstanceTransform1.xyz;
materialInput.InstanceTransform2 = input.InstanceTransform2.xyz;
materialInput.InstanceTransform3 = input.InstanceTransform3.xyz;
#endif
Material material = GetMaterialVS(materialInput);
#endif
@@ -409,7 +399,11 @@ META_VS_IN_ELEMENT(ATTRIBUTE,3, R32G32B32_FLOAT, 3, ALIGN, PER_INSTANCE, 1, US
META_VS_IN_ELEMENT(ATTRIBUTE,4, R16G16B16A16_FLOAT,3, ALIGN, PER_INSTANCE, 1, USE_INSTANCING)
float4 VS_Depth(ModelInput_PosOnly input) : SV_Position
{
#if USE_INSTANCING
float4x4 world = GetInstanceTransform(input);
#else
float4x4 world = WorldMatrix;
#endif
float3 worldPosition = mul(float4(input.Position.xyz, 1), world).xyz;
float4 position = mul(float4(worldPosition, 1), ViewProjectionMatrix);
return position;
@@ -513,7 +507,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
float3x3 tangentToLocal = SkinTangents(input, data);
// Compute world space vertex position
float4x4 world = GetInstanceTransform(input);
CalculateInstanceTransform(input);
output.Geometry.WorldPosition = mul(float4(position, 1), world).xyz;
#if PER_BONE_MOTION_BLUR
float3 prevPosition = SkinPrevPosition(input);
@@ -600,7 +594,7 @@ void PS_Depth(PixelInput input)
ClipLODTransition(input);
#endif
#if MATERIAL_MASKED || MATERIAL_BLEND != MATERIAL_BLEND_OPAQUE
#if MATERIAL_MASKED || MATERIAL_BLEND != MATERIAL_BLEND_OPAQUE
// Get material parameters
MaterialInput materialInput = GetMaterialInput(input);
Material material = GetMaterialPS(materialInput);
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
// Enables/disables smooth terrain chunks LOD transitions (with morphing higher LOD near edges to the lower LOD in the neighbour)
#define USE_SMOOTH_LOD_TRANSITION 1
@@ -16,15 +17,7 @@
@7
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 WorldMatrix;
float4x4 ViewMatrix;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 WorldInvScale;
float WorldDeterminantSign;
float PerInstanceRandom;
@@ -276,24 +269,16 @@ float CalcLOD(float2 xy, float4 morph)
if ((xy.x + xy.y) > 1)
{
if (xy.x < xy.y)
{
lod = lodCalculated.w;
}
else
{
lod = lodCalculated.z;
}
}
else
{
if (xy.x < xy.y)
{
lod = lodCalculated.y;
}
else
{
lod = lodCalculated.x;
}
}
return lod;
@@ -2,6 +2,7 @@
// Version: @0
#define MATERIAL 1
#define USE_PER_VIEW_CONSTANTS 1
@3
#include "./Flax/Common.hlsl"
@@ -11,17 +12,9 @@
// Primary constant buffer (with additional material parameters)
META_CB_BEGIN(0, Data)
float4x4 ViewProjectionMatrix;
float4x4 InverseViewProjectionMatrix;
float4x4 ViewMatrix;
float4x4 WorldMatrix;
float4x4 WorldMatrixInverseTransposed;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
float TimeParam;
float4 ViewInfo;
float4 ScreenSize;
float3 GridSize;
float PerInstanceRandom;
float Dummy0;
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -2
View File
@@ -1,5 +1,4 @@
%copyright%
#pragma once
%copyright%#pragma once
#include "Engine/Core/ISerializable.h"
#include "Engine/Core/Types/BaseTypes.h"
@@ -1,5 +1,4 @@
%copyright%
#include "%filename%.h"
%copyright%#include "%filename%.h"
#include "Engine/Core/Log.h"
void %class%::RunNativeAction(Vector4 data)
@@ -1,5 +1,4 @@
%copyright%
#pragma once
%copyright%#pragma once
#include "Engine/Scripting/Script.h"
#include "Engine/Core/Math/Vector4.h"
+1 -2
View File
@@ -1,5 +1,4 @@
%copyright%
#include "%filename%.h"
%copyright%#include "%filename%.h"
%class%::%class%(const SpawnParams& params)
: Script(params)
+1 -2
View File
@@ -1,5 +1,4 @@
%copyright%
#pragma once
%copyright%#pragma once
#include "Engine/Scripting/Script.h"
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.
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.
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.
Binary file not shown.
Binary file not shown.

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