Compare commits

...

1464 Commits

Author SHA1 Message Date
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 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 4e541dc0ba Revert tested disabled bokeh shapes 2022-09-02 15:33:30 +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 20075e0fbd Fixes for compilation on Windows for x86 2022-03-02 21:06:21 +01:00
mafiesto4 e52cf67447 Fix crash on Vulkan swapchain resize if the previous size was 0 (eg. due to window animation on Windows 11r) 2022-03-02 10:00:06 +01:00
mafiesto4 cdc74a9c49 Reduce includes in Serialization header 2022-02-28 23:16:15 +01:00
mafiesto4 3a1475fa9c Use SoftObjectReference for deformable asset ref to prevent removing it by Content GC 2022-02-28 23:16:00 +01:00
mafiesto4 4a9c746bed Add SoftAssetReference type 2022-02-28 23:15:35 +01:00
mafiesto4 6738bc8dea Fix minor things 2022-02-28 19:15:02 +01:00
mafiesto4 57e408761d Bump up the build number 2022-02-28 19:14:52 +01:00
mafiesto4 87cb553c61 Optimize Vector3 method to be inlined more often 2022-02-28 19:14:14 +01:00
mafiesto4 5c443f305d Fix memory leak in RenderTargetPool on texture init fail 2022-02-27 16:13:06 +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
Diewa d2c252879e Fixes for macOS 2022-02-24 21:42:00 +01:00
mafiesto4 58de04ccd6 Fix crash on particles instance invalidated 2022-02-23 22:41:26 +01:00
mafiesto4 6b84773190 Fix crash on CharacterController in prefab 2022-02-23 22:41:06 +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
mafiesto4 3a07d767fb Fix rare crash on division by 0 2022-02-20 20:28:19 +01:00
mafiesto4 111a2f3b25 Fix crash with terrain in prefab window
#689
2022-02-19 17:59:40 +01:00
mafiesto4 4424d93d56 Use Windows Server 2019 for Github Actions 2022-02-19 12:09:29 +01:00
mafiesto4 56491569df Optimize C# bindings in Engine code to static functions that native ABI matches managed signature 2022-02-19 00:29:09 +01:00
mafiesto4 71b9324bcb Fix potential exception in PluginManager dispose in Editor 2022-02-19 00:27:53 +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 69a1e007a6 Add some missing changes 2022-02-08 19:56:11 +01:00
mafiesto4 afed5a30bc Add ClearUA to GPUContext to clear texture with float values 2022-02-08 19:56:07 +01:00
mafiesto4 bac8058aa8 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 19:56:03 +01:00
mafiesto4 066a4c65bb Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 19:55:59 +01:00
mafiesto4 3c9a5bcf1a Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 19:55:55 +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
mafiesto4 3feeec1649 Fix structure initialization with default field value if attribute has different value HasInvalidPathChar
#688
2022-02-06 22:44:40 +01:00
mafiesto4 73976149da Fix blend shape dirty vertices range 2022-02-06 21:25:52 +01:00
mafiesto4 9cfc638ce0 Fix for editor 2022-02-06 14:11:31 +01:00
mafiesto4 748d69a3cb Add CollisionMeshesPrefix option to import collision data from model asset 2022-02-06 14:11:13 +01:00
mafiesto4 a186d1a7fc Merge branch 'master' of https://gitlab.flaxengine.com/flax/flaxengine 2022-02-03 12:02:24 +01:00
mafiesto4 2144a9d2fc Add tooltips from xml docs usage in GenericEditor 2022-02-03 12:01:47 +01:00
mafiesto4 9de470f670 Add new build tool log location for project files generation (as Launcher might want) 2022-02-01 22:07:21 +01:00
mafiesto4 01cb08a924 Expose PhysicsBackend to the user 2022-02-01 17:40:28 +01:00
mafiesto4 5e9dac49a8 Remove breakpoint on OpenAL error 2022-02-01 17:38:55 +01:00
mafiesto4 26191935a7 Fix issues with OpenAL audio backend 2022-02-01 17:34:46 +01:00
mafiesto4 cf6fb07a05 Fix updating audio window toolbar 2022-02-01 16:21:47 +01:00
mafiesto4 9260b45e0e Fix resizing textures with alpha on import to preserve transparent colors (instead of black) 2022-01-31 14:21:14 +01:00
mafiesto4 d0e37ba6ef Fix crash on native type in JsonAsset due to scripting hot-reload in Editor 2022-01-31 10:33:05 +01:00
mafiesto4 f8eba66b5e Add Level::ScriptsReloaded event 2022-01-31 10:25:56 +01:00
mafiesto4 8d47ea7d2f Fix doc comment 2022-01-31 10:23:27 +01:00
mafiesto4 9b79d7df09 Fix potential error 2022-01-30 20:06:05 +01:00
mafiesto4 e9fac4b504 Add user for Switch 2022-01-30 19:41:49 +01:00
mafiesto4 7a08e035a5 Fix module libraries linking in modular build mode 2022-01-29 21:34:42 +01:00
mafiesto4 6a614d66de Fix warning 2022-01-29 20:55:00 +01:00
mafiesto4 1e83518c71 Add support for custom settings asset creation 2022-01-29 17:56:02 +01:00
mafiesto4 1907504ff6 Fixes 2022-01-29 15:26:41 +01:00
mafiesto4 4495737f94 Fix missing mono symbols export on Windows 2022-01-29 15:00:47 +01:00
mafiesto4 b09036b378 Fix building project for target platform that one of the plugin targets doesn't support 2022-01-29 14:55:37 +01:00
mafiesto4 0caeffc3cd Bump up build number 2022-01-29 14:55:05 +01:00
mafiesto4 787051b12e Fix game cooker platform selector layout on small window 2022-01-26 23:15:55 +01:00
mafiesto4 e11410c5d1 Fix Gameplay Global usage in material with material instance error 2022-01-26 23:08:48 +01:00
mafiesto4 e3c613e6e3 Add macOS icon 2022-01-26 22:12:27 +01:00
mafiesto4 249a3332dc Fix potential crash in gpu particles source generator 2022-01-26 21:19:53 +01:00
mafiesto4 5dc304fcb4 Fix material Rotator node tooltip 2022-01-26 21:18:55 +01:00
mafiesto4 500f76cb03 Fix potential crash in material generator 2022-01-26 21:18:34 +01:00
mafiesto4 05b80d17c5 Add tire wheel tire friction scale parameter for Wheeled Vehicle 2022-01-26 20:54:57 +01:00
mafiesto4 ba2f58df6a Revert 2022-01-26 20:14:18 +01:00
mafiesto4 757f8240d0 Merge remote-tracking branch 'origin/master' 2022-01-26 19:12:59 +01:00
mafiesto4 b871bedb6c Fix build for mac 2022-01-26 19:12:54 +01:00
mafiesto4 33eb3d8540 Add Online system base 2022-01-26 17:01:30 +01:00
mafiesto4 0cfb7e8cee Fix passing Span<byte> to C# method thunk in generated bindings code 2022-01-26 16:56:27 +01:00
mafiesto4 d86e4090b8 Add ctor for Variant from Span<byte> 2022-01-26 16:55:38 +01:00
mafiesto4 18b156ad44 Fixes and tweaks 2022-01-26 16:55:22 +01:00
mafiesto4 a1ff0318bd Fix constant to a proper value 2022-01-23 19:30:05 +01:00
mafiesto4 dd1dc30136 Remove assertion 2022-01-23 19:28:29 +01:00
mafiesto4 05a935660d Add StringAnsi serialization 2022-01-21 18:32:16 +01:00
mafiesto4 9d90b02c9a Fix missing include for Xbox Live services on GDK platforms 2022-01-21 16:24:41 +01:00
mafiesto4 94da2c270c Add GameCooker events for game files deploy and packaging 2022-01-21 16:24:10 +01:00
mafiesto4 f801e7ffd9 Fixes 2022-01-21 16:23:30 +01:00
mafiesto4 d36c502287 Add easier game or plugin settings asset usage with SettingsBase 2022-01-21 16:22:14 +01:00
mafiesto4 b998655e1a Fix 2022-01-20 23:52:45 +01:00
mafiesto4 37e11a4b1f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/Engine/Physics/Physics.Queries.cpp
#	Source/Engine/Physics/Utilities.h
2022-01-20 23:29:59 +01:00
mafiesto4 a400568b51 Fix generated wrapper for classes with value types 2022-01-20 23:29:05 +01:00
mafiesto4 427846f73b Refactor Physics to separate PhysicsBackend
#673
2022-01-20 23:28:43 +01:00
mafiesto4 f4f9d92c8e Add drag&drop support for Mac 2022-01-19 14:42:00 +01:00
mafiesto4 b0e7066458 Revert last change for linux 2022-01-19 12:57:09 +01:00
mafiesto4 a8ff3da908 Fixes 2022-01-19 12:14:22 +01:00
mafiesto4 200ac18335 Fix mac app icons 2022-01-19 10:25:26 +01:00
mafiesto4 eeff3d7308 Add clipboard support for Mac 2022-01-19 10:25:16 +01:00
mafiesto4 f9eb709a18 Add window resizing and positioning on Mac 2022-01-18 19:10:13 +01:00
mafiesto4 2aa3624f81 Fix special input keys text on Mac 2022-01-18 17:29:34 +01:00
mafiesto4 b6471d887b Add mouse cursors support for Mac 2022-01-18 16:59:59 +01:00
mafiesto4 dd5bad1dfe Add window resize handling on Mac 2022-01-18 16:51:03 +01:00
mafiesto4 54db90e040 Add open/save file dialogs for Mac 2022-01-18 13:45:48 +01:00
mafiesto4 35d9016053 Add options for game window on macOS 2022-01-17 21:14:41 +01:00
mafiesto4 788afe611d Fix script permission 2022-01-17 20:28:55 +01:00
mafiesto4 d013e04db9 Add Mac to daily builds 2022-01-17 18:59:54 +01:00
mafiesto4 1043bf00b0 Add Vulkan to daily builds 2022-01-17 18:59:54 +01:00
mafiesto4 b2d5672785 Fix mac editor package zip 2022-01-17 18:59:39 +01:00
mafiesto4 59897db8fc Add editor for mac deploy 2022-01-17 18:36:19 +01:00
mafiesto4 80b3f2d8d9 Tweaks 7 2022-01-17 15:11:25 +01:00
mafiesto4 2d12b037a0 Tweaks 6 2022-01-17 15:05:14 +01:00
mafiesto4 30049bf1c1 Tweaks 5 2022-01-17 14:54:37 +01:00
mafiesto4 2921faf06f Tweaks 4 2022-01-17 14:47:08 +01:00
mafiesto4 9d3168abcf Tweaks 3 2022-01-17 14:32:09 +01:00
mafiesto4 e271f08606 Tweaks 2 2022-01-17 14:12:53 +01:00
mafiesto4 b7287de5a7 Tweaks 1 2022-01-17 14:09:06 +01:00
mafiesto4 31dc2b25a0 Add reusable action for vulkan setup in github actions 2022-01-17 13:59:54 +01:00
mafiesto4 d54f2e615d Tweaks for CI 2022-01-17 13:27:39 +01:00
mafiesto4 8757430dc3 Tweaks for CI 2022-01-17 12:57:00 +01:00
mafiesto4 b6f7b25407 Tweaks for CI 2022-01-17 12:46:30 +01:00
mafiesto4 526fa5a33d Tweaks for CI 2022-01-17 12:30:03 +01:00
mafiesto4 069d51305e Tweaks for CI 2022-01-17 11:34:40 +01:00
mafiesto4 08d449a370 Add VulkanSDK setup for CI builds 2022-01-17 11:20:07 +01:00
mafiesto4 84f07f8b83 Update shader assets 2022-01-17 10:46:10 +01:00
mafiesto4 c94e1932eb Remove not needed assertions 2022-01-17 10:18:08 +01:00
mafiesto4 465c857ff2 Fix bounding box size setter 2022-01-17 10:12:05 +01:00
mafiesto4 abb0a3f0cc Remove a test log 2022-01-14 21:40:44 +01:00
mafiesto4 6380850670 Add native tests 2022-01-14 21:13:49 +01:00
mafiesto4 34224eb015 Test change 2022-01-14 21:05:02 +01:00
mafiesto4 de93770789 Test 2022-01-14 20:27:57 +01:00
mafiesto4 d15b0c9548 Test 2022-01-14 19:35:46 +01:00
mafiesto4 73b7c56ca8 Tweak 2022-01-14 19:09:54 +01:00
mafiesto4 cfa5aa6a61 Add math unit tests for c++ 2022-01-14 19:09:54 +01:00
mafiesto4 2df3997c8b Format code 2022-01-14 19:09:53 +01:00
mafiesto4 ff185a848d Merge branch 'master' of https://gitlab.flaxengine.com/flax/flaxengine 2022-01-14 18:13:32 +01:00
mafiesto4 a18faf4f7c Fix building separate main executable during bindings-only build 2022-01-14 18:13:22 +01:00
mafiesto4 19389748d0 Fix missing engine build for Debug to use by tests 2022-01-14 16:00:52 +01:00
mafiesto4 4653e64ff4 Fixes for tests building and running on Mac or Linux 2022-01-14 15:27:44 +01:00
mafiesto4 c9a779fea9 Disable caching for dotnet target build with msbuild 2022-01-14 15:04:15 +01:00
mafiesto4 b84744699e Change nunit to use custom build fro mrepo instead of nuget package 2022-01-14 15:03:35 +01:00
mafiesto4 3cf2be8c37 Fix tools platforms to include Linux and Mac 2022-01-14 14:47:47 +01:00
mafiesto4 992333fd64 Add tests to CI 2022-01-14 14:20:41 +01:00
mafiesto4 d032f18b71 Add DotNet targets building 2022-01-14 14:19:46 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 08bebc0f89 Add app packaging for macOS 2022-01-13 18:19:49 +01:00
mafiesto4 5d7f8e2df9 Fix compressed textures exporting with resizing on non-Windows platforms 2022-01-13 18:15:32 +01:00
mafiesto4 eea02b0e65 Fix exporting app icons during game cooking without graphics backend 2022-01-13 18:09:03 +01:00
mafiesto4 a682b7c324 Progress on packaging for macOS 2022-01-12 17:37:44 +01:00
mafiesto4 dfa5e91322 Fix conditional variables usage on broadcast by using a shared mutex 2022-01-12 17:36:06 +01:00
mafiesto4 6d676fd578 Fix terrain creation dialog regression 2022-01-12 11:04:21 +01:00
mafiesto4 317a9d63bc Post-merge cleanup and improvements for #655 2022-01-11 15:04:40 +01:00
mafiesto4 464ac69de6 Merge branch 'nothingTVatYT-LinuxGamepads' 2022-01-11 13:39:56 +01:00
mafiesto4 923cec3618 Merge branch 'LinuxGamepads' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-LinuxGamepads 2022-01-11 13:39:34 +01:00
mafiesto4 dc9d060ae7 Fix drag&drop on Linux with file that has spaces in a path 2022-01-11 13:38:34 +01:00
mafiesto4 dafa6bff2e Add inlined current thread id on Linux and Android 2022-01-11 13:24:53 +01:00
mafiesto4 495b309736 Merge branch 'nothingTVatYT-font-fix' 2022-01-11 12:51:38 +01:00
mafiesto4 0bff47e9a2 Merge branch 'font-fix' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-font-fix 2022-01-11 12:51:23 +01:00
mafiesto4 4486ec3b72 Add Vulkan pipeline cache serialization 2022-01-11 10:49:03 +01:00
mafiesto4 cf1af53ab8 Merge branch 'iainmckay-multiple_physics_scenes' 2022-01-10 20:14:04 +01:00
mafiesto4 8a3cfb36d0 Merge branch 'multiple_physics_scenes' of git://github.com/iainmckay/FlaxEngine into iainmckay-multiple_physics_scenes 2022-01-10 20:13:55 +01:00
mafiesto4 7dd97a2d9f Add decals spawning in editor for drag&drop 2022-01-10 17:47:10 +01:00
mafiesto4 d11166082c Add improvements for objects spawning and snapping in Editor to include object bounds 2022-01-10 17:46:53 +01:00
mafiesto4 cd72916838 Adjust mono dependency build branching for git 2022-01-10 15:20:42 +01:00
mafiesto4 f3d05cd98e Add option to throw exception in build tool process utility 2022-01-10 14:36:19 +01:00
mafiesto4 730933dd35 Fix array index of result value type in Visual Script 2022-01-10 14:20:13 +01:00
mafiesto4 5ffdbe553b Add assets loading progress to Editor status bar 2022-01-10 14:09:00 +01:00
mafiesto4 342e9d955e Fix default code editor detection in Editor to favor VSCode and Rider over system-default 2022-01-10 13:10:08 +01:00
mafiesto4 a707847067 Tweaks 2022-01-10 12:38:07 +01:00
mafiesto4 29c40f969f Revert Mono requirement info 2022-01-10 12:20:06 +01:00
mafiesto4 32de455cf7 Add docs for macOS 2022-01-10 10:42:45 +01:00
mafiesto4 fc72b8c5aa Add docs for development on macOS 2022-01-10 10:30:03 +01:00
mafiesto4 dc9e928894 Fix release build linking 2022-01-10 09:34:56 +01:00
mafiesto4 98f9561d15 Add missing mono files for Editor on Mac 2022-01-10 08:51:59 +01:00
mafiesto4 92289fccfd Tweak build 2022-01-09 20:53:20 +01:00
mafiesto4 2ca070ea3a Use recommended 3 backbuffers on MoltenVK on Mac 2022-01-09 20:12:52 +01:00
mafiesto4 959446df20 Fix for Mac 2022-01-09 20:09:00 +01:00
mafiesto4 7a32971212 Use verbose build on Mac to test output 2022-01-09 20:07:54 +01:00
mafiesto4 840c0746b3 Add initial CI for Mac 2022-01-09 19:33:38 +01:00
mafiesto4 c4b6865659 Merge branch 'master' into mac 2022-01-09 19:15:15 +01:00
mafiesto4 38b6b546c7 Fixes 2022-01-09 19:10:46 +01:00
mafiesto4 729bfcb941 Fix build 2022-01-09 18:05:52 +01:00
mafiesto4 892723c501 Fix build 2022-01-09 17:46:37 +01:00
mafiesto4 73f7688c58 Tweaks 2022-01-08 20:01:27 +01:00
mafiesto4 844fad2ced Fix crash when animation has anim events and scripting is disposed before content 2022-01-08 18:29:13 +01:00
mafiesto4 82a43dea28 Add **Animation Events** 2022-01-08 15:06:25 +01:00
mafiesto4 79200a784b Add Level::ScriptsReloadRegisterObject for easier scripting objects refreshing during hot-reload in code 2022-01-08 15:06:24 +01:00
mafiesto4 a2487c02d9 Add context menu for the timeline tracks and change signature for media context menu 2022-01-08 15:06:24 +01:00
mafiesto4 192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
mafiesto4 e144a6f69d Fix crash when trying to read invalid Visual Script parameter from local scope during debugging 2022-01-08 15:06:22 +01:00
mafiesto4 bbfe0446f0 Tweaks and fixes 2022-01-08 15:06:21 +01:00
mafiesto4 779e41a686 Add static assert for curve keyframes data raw serialization 2022-01-08 15:06:21 +01:00
mafiesto4 751916151a Add Loading text info for particle system and animation timelines 2022-01-08 15:06:20 +01:00
mafiesto4 f4bbf0e348 Add timeline media selection and editing to be global in sync with keyframes editors 2022-01-08 15:06:19 +01:00
mafiesto4 ff9b116522 Add ScriptingObject::NewObject utility for scripting objects spawning in C++ 2022-01-08 15:06:18 +01:00
mafiesto4 fa83869430 Add minor changes 2022-01-08 15:06:18 +01:00
mafiesto4 32c7d36fcd Tweaks 2022-01-08 15:06:17 +01:00
mafiesto4 5e9b215548 Fix crash when spawning managed object on a detached native thread 2022-01-08 15:06:16 +01:00
mafiesto4 bc521978ce Fix undo modifications notify from nested SyncPointEditor 2022-01-08 15:06:15 +01:00
mafiesto4 0f9f3905ed Add json serialization utils for objects to save/load from raw bytes 2022-01-08 15:06:15 +01:00
mafiesto4 32a73727b0 Optimize Stream includes to Array 2022-01-08 15:06:14 +01:00
mafiesto4 68d8766c56 Optimize String::ReserveSpace if length doesn't change 2022-01-08 15:06:13 +01:00
mafiesto4 0abb303e8d Add double-click to edit timeline media properties 2022-01-08 15:06:13 +01:00
mafiesto4 a83d223eec Fix mouse focus issue with Timeline background 2022-01-08 15:06:12 +01:00
mafiesto4 d202c8b864 Add mouse and keyboard input for Mac 2022-01-05 17:48:17 +01:00
mafiesto4 c34cfe5b30 Add some important splash screen quotes for Mac users 2022-01-05 17:47:48 +01:00
Iain Mckay 498040765b Fixing conflicts 2022-01-05 14:33:25 +01:00
Iain Mckay a5884a2e07 Fixing Linux build 2022-01-05 14:26:50 +01:00
Iain Mckay 2674086e0c Code review changes 2022-01-05 14:26:49 +01:00
Iain Mckay 32f225c922 Code review changes 2022-01-05 14:26:49 +01:00
Iain Mckay 77627f21f6 Code review feedback 2022-01-05 14:26:48 +01:00
Iain Mckay 87c2aefe03 Code review feedback 2022-01-05 14:26:47 +01:00
Iain Mckay a4e102672d Adds feature for creating multiple physics scenes 2022-01-05 14:26:42 +01:00
mafiesto4 dd569b9f1e Add audio support for Mac (via OpenAL soft) 2022-01-05 11:09:36 +01:00
mafiesto4 7471a819e1 Add Vulkan support for Mac (via MoltenVK) 2022-01-05 10:25:46 +01:00
mafiesto4 8874a325f7 Add more files for Mac 2022-01-03 14:00:51 +01:00
mafiesto4 ca62cd2661 Mac impl progress 2022-01-03 13:59:52 +01:00
mafiesto4 9b991bcfdf Add Editor for Mac impl progress 2021-12-31 17:12:55 +01:00
mafiesto4 45117e3445 Fix build if generated bindings file is missing 2021-12-31 17:07:35 +01:00
mafiesto4 6b3c6b6412 Add mono for Mac (both Game and Editor) 2021-12-31 16:25:50 +01:00
mafiesto4 d1e7805f7a Fix mono build for Mac to use correct min osx ver 2021-12-31 16:23:39 +01:00
mafiesto4 9df132bd77 Mac impl progress 2021-12-31 15:06:44 +01:00
mafiesto4 6b851fc9a9 Fix dylib usage on Mac with rpath and install_name 2021-12-31 14:16:27 +01:00
mafiesto4 6f4a01f6da Add FlaxTests to Mac 2021-12-31 14:15:41 +01:00
mafiesto4 cc3617b5c2 Merge branch 'controller-physics-fix' of git://github.com/xKamuna/FlaxEngine-1 into xKamuna-controller-physics-fix 2021-12-31 11:09:30 +01:00
mafiesto4 b9c7abcdf7 Merge branch 'xKamuna-master' 2021-12-31 10:02:08 +01:00
xKamuna ef40ccbe14 Fix issue with filters being ignored for two controllers colliding 2021-12-30 23:47:26 -08:00
mafiesto4 039f5f6e15 Mac impl progress 2021-12-30 16:30:38 +01:00
mafiesto4 d0d9bf751d Add deps for Mac 2021-12-30 13:06:55 +01:00
mafiesto4 6033b79471 Merge branch 'mac' of https://gitlab.flaxengine.com/flax/flaxengine into mac 2021-12-30 13:04:16 +01:00
mafiesto4 25cc8c6ab2 Implement basic windowing on Mac 2021-12-30 13:03:39 +01:00
mafiesto4 5a3138fd7b Use objective c++ instead of c++ on Mac 2021-12-30 13:03:00 +01:00
mafiesto4 a8f91fefde Update ignored files for Mac 2021-12-30 13:02:38 +01:00
mafiesto4 1f4e2ad3dd Mac impl progress 2021-12-29 22:27:14 +01:00
mafiesto4 e361ab811a Mac support progress 2021-12-29 19:43:53 +01:00
mafiesto4 0dbbdc9149 Change Mac platform impl to inherit from Unix base 2021-12-29 17:01:58 +01:00
mafiesto4 378ddc66c7 Mac impl progress 2021-12-28 18:45:40 +01:00
mafiesto4 a1ef7ddcf7 Mac support progress 2021-12-28 17:07:18 +01:00
mafiesto4 2d0633c05a Finish XCode project generation 2021-12-28 17:06:24 +01:00
mafiesto4 114cdedc9b Fix Platform Switch node typo 2021-12-28 16:16:15 +01:00
mafiesto4 22915489b7 Mac progress 2021-12-27 17:06:26 +01:00
mafiesto4 e296e94d2c Progress on XCode project generation 2021-12-27 16:43:20 +01:00
mafiesto4 7ef316f4f9 Mac impl progress 2021-12-27 16:00:26 +01:00
mafiesto4 d61eb9c096 Add setup commands for Mac 2021-12-27 14:50:02 +01:00
mafiesto4 dfaa7a92b3 Add Mac build platform detection in build tool 2021-12-27 14:46:20 +01:00
mafiesto4 d017dd14ca Add Mac platform 2021-12-27 14:04:16 +01:00
xKamuna 177696ee00 Fix blend shape offsets 2021-12-24 04:43:28 -08:00
mafiesto4 36a18a0b56 Add profile events for Editor startup 2021-12-22 16:23:53 +01:00
mafiesto4 2b5f552c2c Add profile events for Editor modules events 2021-12-22 15:41:34 +01:00
mafiesto4 ccff7a010d Optimize Toolbox tooltips for scripting types to be resolved when needed 2021-12-22 15:40:59 +01:00
mafiesto4 f295cda27a Add doc tooltips for actor types in Toolbox windows 2021-12-22 15:03:25 +01:00
mafiesto4 c72be46228 Remove automatic tooltips genration for CSharp scripting API (xml docs are used now in Editor) 2021-12-22 15:03:04 +01:00
mafiesto4 047cc38d69 Add managed assembly xml docs parsing for tooltips in Editor 2021-12-22 15:01:00 +01:00
mafiesto4 216332ff53 Add caching for code docs in Editor 2021-12-22 11:38:37 +01:00
mafiesto4 73c22b75ea Add Code Docs module for Editor tooltips 2021-12-22 10:55:42 +01:00
mafiesto4 6b9a3c58d0 Fix ComboBox regression 2021-12-22 10:52:09 +01:00
mafiesto4 ae8d6ba433 Fix color trackball usage with undo 2021-12-21 22:21:11 +01:00
mafiesto4 e778fe8342 Fix passing pointers as output pointer or reference in scripting api 2021-12-21 18:14:56 +01:00
mafiesto4 af75751bf1 Add Tab navigation for Editor UI 2021-12-21 18:14:55 +01:00
mafiesto4 c178afdf6b Add **UI navigation** system
#574
2021-12-21 18:14:54 +01:00
mafiesto4 71212420f6 Fix Github CD hanging during editor package compression 2021-12-20 19:09:18 +01:00
mafiesto4 233de2d4a4 Fix Animation timeline load/save with the latest format 2021-12-20 18:47:19 +01:00
mafiesto4 15c090126a Add option to disable timeline Media resizing by the user 2021-12-20 18:42:23 +01:00
mafiesto4 6bca60654e Add timeline media Start editing in properties popup in seconds if using this view mode 2021-12-20 18:41:42 +01:00
mafiesto4 1c34c7f293 Fix crash when creating C# object for native object at the same time on multiple threads 2021-12-16 18:58:14 +01:00
mafiesto4 3c3f2ae075 Add **Animation Slot** node for playing animations from code in Anim Graph 2021-12-16 18:57:33 +01:00
mafiesto4 6f9f2ccdc0 Dont sue xd 2021-12-16 18:56:18 +01:00
mafiesto4 821ba0ec3b Add Rectangle.Distance for distance between rectangle and a point 2021-12-14 17:00:13 +01:00
mafiesto4 fc2a7d98fa Add gamepad camera control for editor viewports 2021-12-14 16:59:20 +01:00
mafiesto4 8f51c7689f Fix missing object linkage when loading missing prefab objects during scene load 2021-12-13 17:32:02 +01:00
mafiesto4 06305a8af6 Optimize model data access during models importing 2021-12-13 17:32:01 +01:00
mafiesto4 b88ac45b53 Optimize model data access during models importing 2021-12-13 17:32:01 +01:00
mafiesto4 25c7909e30 Fix radial lights 2021-12-13 17:32:00 +01:00
mafiesto4 5f4bfa36d8 Add various usability improvements to the Editor 2021-12-13 17:31:59 +01:00
mafiesto4 793bb502f5 Fix prefab changes apply crash
#305
2021-12-13 17:31:58 +01:00
mafiesto4 58967e739a Fix import transform for skinned models
#610
2021-12-13 17:31:57 +01:00
mafiesto4 224b9b8930 Fix mono audio playback with XAudio2 2021-12-12 12:51:08 +01:00
mafiesto4 83046494a5 Fix crash 2021-12-11 23:03:37 +01:00
mafiesto4 f71dce08fc Fix scene animation warning due to missing object to be fired once per-track without a spam 2021-12-11 17:28:22 +01:00
mafiesto4 a9aaed6f33 Add support for PrefabObject tracks and automated animation instancing with UsePrefabObjects enabled 2021-12-11 17:28:21 +01:00
mafiesto4 77e1ec530b Refactor GetChildByPrefabObjectId/GetScriptByPrefabObjectId from Actor to be private 2021-12-11 17:28:20 +01:00
mafiesto4 bb674b43f9 Refactor Timeline UI to use track flags 2021-12-11 17:28:20 +01:00
mafiesto4 2ef0aabfbc Fix content finder item selection issue due to mouse leave event 2021-12-10 16:09:16 +01:00
mafiesto4 b2765533fb Add context menu and tooltip to asset items in Content Finder tool 2021-12-10 15:45:06 +01:00
mafiesto4 c23ec9935f Fix Multi Blend 1D/2D root motion extraction with blending
#678
2021-12-10 12:48:37 +01:00
mafiesto4 cb575ffe04 Fix 2021-12-10 12:48:12 +01:00
mafiesto4 d5585a30fd Fix missing root motion preview in Animation preview panels (with option to disable it) 2021-12-10 12:42:11 +01:00
mafiesto4 f1b3f71b09 Fix GUI material preview positioning in the Material window
#552
2021-12-09 17:11:21 +01:00
mafiesto4 79d393b3ef Fix HSV value adjusting in Color picker to not exceed 1
#437
2021-12-09 17:11:04 +01:00
mafiesto4 141022caf8 Add tooltips to actors in scene tree and to properties General panel header
#182
2021-12-09 17:10:34 +01:00
mafiesto4 2b1e5e4958 Fix various issues with Multi Blend 2D node 2021-12-09 17:09:31 +01:00
mafiesto4 2192852510 Fix crash when passing function with lambda to the Job System 2021-12-09 17:09:07 +01:00
mafiesto4 fcb9bbbe72 Fix showing tooltips for tree nodes in Editor 2021-12-09 17:08:39 +01:00
mafiesto4 4a8291d596 Minor fixes 2021-12-09 17:08:10 +01:00
mafiesto4 4f127761a0 Fix error on scene tree drag&drop handling change 2021-12-09 17:07:39 +01:00
mafiesto4 822d8c947e Fix navmesh update when adding/removing navmesh bounds volume
#159
2021-12-09 17:03:53 +01:00
mafiesto4 9ba845c447 Merge branch 'honzapatCZ-local' 2021-12-09 11:31:21 +01:00
mafiesto4 9c7b66ba70 Merge branch 'local' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-local
# Conflicts:
#	Source/Editor/Windows/Assets/LocalizedStringTableWindow.cs
#	Source/Engine/Localization/Localization.cpp
#	Source/Engine/Localization/LocalizedStringTable.h
2021-12-09 11:31:06 +01:00
mafiesto4 1a001613a9 Merge branch 'GoaLitiuM-tick_fix' 2021-12-09 10:43:29 +01:00
mafiesto4 71c8fa2638 Merge branch 'tick_fix' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-tick_fix 2021-12-09 10:36:10 +01:00
mafiesto4 dd92ae0ff4 Fix Windows Game build 2021-12-08 17:14:14 +01:00
mafiesto4 6d1f2e5673 Fix build tool freeze when parsing scripting header that contains invalid multi-line comment 2021-12-08 16:54:52 +01:00
mafiesto4 c35465b274 Fix minor issues 2021-12-08 16:53:44 +01:00
mafiesto4 55c015de4b Fix VolumetricFog regression from 4b9001abf2 2021-12-08 16:53:31 +01:00
mafiesto4 10c6e34e06 Add preserving selection of the created new folder in the Content window 2021-12-08 16:51:26 +01:00
mafiesto4 43531a020a Add drag&drop to prefab hierarchy panel for easier usage 2021-12-08 16:50:30 +01:00
mafiesto4 11b88cc621 Fix Windows Snap with borderless windows
#629 #676
2021-12-08 16:49:44 +01:00
mafiesto4 e09905b7f2 Update project infos and add security vulnerabilities reporting info
#677
2021-12-08 09:44:36 +01:00
mafiesto4 e9557352a0 Update copyright year in some source files 2021-12-08 09:44:10 +01:00
mafiesto4 2daec98fd7 Reuse code from Bind lambda in Function 2021-12-07 18:27:21 +01:00
mafiesto4 9ca7186e08 Merge branch 'intolerantape-MiscellaneousImprovements' 2021-12-07 18:23:33 +01:00
mafiesto4 4a191f5f6c Merge branch 'MiscellaneousImprovements' of git://github.com/intolerantape/FlaxEngine into intolerantape-MiscellaneousImprovements 2021-12-07 18:23:20 +01:00
mafiesto4 38606cb43a Add support for exporting pdb files for D3D12 shaders if debug data is enabled 2021-12-07 18:23:07 +01:00
mafiesto4 4b9001abf2 Fix spot lights rendering on D3D12 2021-12-07 18:23:06 +01:00
mafiesto4 660c8ef95c Fix audio volume and stereo on XAudio backend
#675
2021-12-07 18:23:05 +01:00
mafiesto4 1b34b3b63a Fix audio playback issues in some cases with XAudio backend
#675
2021-12-07 18:23:04 +01:00
mafiesto4 b44b8955b3 Fix depth of field blur artifacts on upper and left screen edges 2021-12-07 18:23:04 +01:00
mafiesto4 983d5dee31 Fix tree node navigation with key arrows to be more usable for deep hierarchies 2021-12-07 18:23:03 +01:00
mafiesto4 1cc26c871d Fixes for regression in tree UI layout after recent refactor 2021-12-07 18:23:02 +01:00
mafiesto4 ea71e8cbe6 Tweaks for doc comments 2021-12-07 18:23:01 +01:00
mafiesto4 c0bcb54044 Fix incorrect transformation on imported blend shapes data from fbx file
#672
2021-12-07 18:23:01 +01:00
mafiesto4 5d12554548 Fix material function usage regression 2021-12-06 19:43:36 +01:00
mafiesto4 23303802ec Add support for passing back value via reference to C# scripting event 2021-12-06 16:46:16 +01:00
mafiesto4 f4b62ce384 Add support for array initializers as default values for scripting fields 2021-12-06 16:45:03 +01:00
mafiesto4 05a37447a7 Fix reference to a pointer in TypeInfo for scripting bindings generation 2021-12-06 16:44:35 +01:00
GoaLitiuM 17311e7c9e Add some tolerance in checks against zero floating point values 2021-12-05 16:43:24 +02:00
GoaLitiuM d7d8eca9c8 Fix engine ticking to catch up faster when falling behind 2021-12-05 16:39:59 +02:00
intolerantape 25deea220c Added overload of Task::StartNew() to support void-returning member functions. 2021-12-03 07:54:08 -08:00
mafiesto4 066207e925 Fix using particle data in particle function for proper graph optimizer execution 2021-12-03 15:39:01 +01:00
mafiesto4 0471d9072b Fix missing Particle Position (world space) node for CPU particles 2021-12-03 15:38:46 +01:00
mafiesto4 1db43f079d Add implicit casting to single types from vector types in Variant 2021-12-03 15:38:35 +01:00
mafiesto4 af2c5b3429 Add batching the same function inputs in Anim Graph for better usability 2021-12-03 15:38:21 +01:00
mafiesto4 583b39fe6b Optimize Anim Graph state machine transition rule evaluation to happen before state evaluation for early rejection 2021-12-03 15:37:33 +01:00
mafiesto4 faaddccee4 Optimize StringView comparision operators 2021-12-03 15:36:04 +01:00
mafiesto4 e17b6d1625 Hide enum/structure nodes from state machine surface context menu 2021-12-03 15:35:23 +01:00
intolerantape 8d758ced15 Added a constructor for C++ Function class to support initialization directly from reference-captured lambda.
Previously, Function had to initialize reference-captured lambdas with the Bind() method.
2021-12-02 07:17:39 -08:00
intolerantape 6ed655f8c3 Implementated Math::SinCos() overload taking doubles as parameters. 2021-12-02 07:17:38 -08:00
intolerantape f05f9d5ade Made Dictionary support movable value types with deleted copy constructors. 2021-12-02 07:17:36 -08:00
mafiesto4 3e2956a7bf Fix C# bindings for Editor for Window build on Linux 2021-12-02 13:29:23 +01:00
mafiesto4 653c209567 Fixes and tweaks for C++ API reference docs generation 2021-12-02 10:13:20 +01:00
mafiesto4 aacc336c2c Fix dropdown menu item clicking 2021-12-02 09:24:25 +01:00
mafiesto4 1b3790f60e Fix regression from 74f813ed3e 2021-11-30 20:17:16 +01:00
mafiesto4 c0b4523b7b Fix editor undo for unsigned integer types 2021-11-29 19:59:21 +01:00
mafiesto4 508896b313 Fix DefaultValue attribute support in Custom Editors for unsigned integers 2021-11-29 19:58:57 +01:00
mafiesto4 0ab9f11e1d Merge remote-tracking branch 'origin/master' 2021-11-27 13:08:09 +01:00
mafiesto4 ee6c42d3b1 Merge branch 'stefnotch-patch-12' 2021-11-27 13:07:37 +01:00
mafiesto4 6edc232696 Merge branch 'patch-12' of git://github.com/stefnotch/FlaxEngine into stefnotch-patch-12 2021-11-27 13:07:30 +01:00
mafiesto4 2114002803 Cleanup xml docs 2021-11-27 13:07:21 +01:00
mafiesto4 74f813ed3e Optimize UI in Editor 2021-11-27 13:07:09 +01:00
mafiesto4 8e61cf8fe1 Fix missing blend shape data transformation on model data import 2021-11-26 12:57:53 +01:00
mafiesto4 1e034c904a Fix missing blend shape refresh for Skinned Model window preview 2021-11-26 12:57:37 +01:00
mafiesto4 af305dc376 Fix crash when model or skinned model loading fails 2021-11-24 17:42:01 +01:00
mafiesto4 7d970de5ce Add F2 shortcut for renaming item in files import dialog 2021-11-24 17:41:41 +01:00
mafiesto4 05d0e1bdcc Add Split Objects object to split imported meshes/animations into separate assets 2021-11-24 17:40:56 +01:00
stefnotch ee56ae7dac Add more info to "Cannot load scene" message
I feel like a number of people have already asked what that means. Hopefully the little "see logs" hint helps them figure it out :)
2021-11-24 17:24:15 +01:00
mafiesto4 a9c56caf84 Optimize Math.NearEqual 2021-11-23 23:17:05 +01:00
mafiesto4 4322563eed Fix crash on thread end that used Mono runtime 2021-11-23 17:26:05 +01:00
mafiesto4 136b1fc421 Fix anim graph crash regression 2021-11-23 17:25:40 +01:00
mafiesto4 be0059f0af Add ability to create an Actor by dragging it to an empty space in the Actor hierarchy window 2021-11-22 17:08:10 +01:00
mafiesto4 ff1ae0f5ed Add F11 shortcut to maximize Game window during play-mode in Editor 2021-11-22 17:07:57 +01:00
mafiesto4 62285b7b73 Fix missing collision on terrain created in play mode 2021-11-22 17:07:43 +01:00
mafiesto4 b9bdc64952 Add automatic Setup when added patches to empty terrain 2021-11-22 17:07:18 +01:00
mafiesto4 32fc3acc67 Tweaks 2021-11-22 17:06:54 +01:00
mafiesto4 fd150b3cc1 Add better log for missing GPU for Vulkan 2021-11-21 19:14:32 +01:00
mafiesto4 e8b680c78b Add ps5 changes 2021-11-21 19:02:37 +01:00
mafiesto4 d260681773 Add ps5 icon 2021-11-21 19:02:36 +01:00
mafiesto4 f88b34a15f Fix monolithic target build with native code module used by referenced plugin 2021-11-21 19:02:35 +01:00
mafiesto4 9ed7541ae7 Fix GDK platform build with VS 2022 installed 2021-11-21 19:02:34 +01:00
mafiesto4 84570ec9e0 Add Variant to string for Enums to use scripting enum items names 2021-11-19 16:48:42 +01:00
mafiesto4 f3d93a4133 Add ScriptingEnum utility with useful features for C++ scripting 2021-11-19 16:48:04 +01:00
mafiesto4 31bbd586db Add scripting enums as ScriptingType 2021-11-19 16:43:02 +01:00
mafiesto4 52d79ca15a Fixes for array nodes in Visject 2021-11-19 16:04:13 +01:00
mafiesto4 3f3d8fc494 Add more improvements to Variant and conversions with managed data 2021-11-19 16:03:55 +01:00
mafiesto4 76e4a9e7b1 Add Index output for array iterator loop 2021-11-19 16:03:04 +01:00
mafiesto4 502a67a75a Add Array constant node to Visual Script and Anim Graph 2021-11-18 16:35:46 +01:00
mafiesto4 cdcb2f8f7a Fixes and improvements 2021-11-18 16:35:46 +01:00
mafiesto4 2a2b70f83f Fix regression from d07ca3fcf4
#670
2021-11-17 21:40:07 +01:00
mafiesto4 e16c7f3ac4 Add Arrays to Visual Scripting 2021-11-17 19:58:29 +01:00
mafiesto4 649059eba1 Add better support for Arrays in Variant for C# Scripting 2021-11-17 19:49:21 +01:00
mafiesto4 5447dc9e25 Fix crash when changing mesh collider in async for not-simulated actor 2021-11-16 20:59:57 +01:00
mafiesto4 13deb4a54f Add better support for Arrays in Variant for C# Scripting 2021-11-16 20:46:04 +01:00
mafiesto4 4722b58a40 Refactor ContextMenuChildMenu to inherit from ContextMenuButton 2021-11-16 20:45:12 +01:00
mafiesto4 d33829f5eb Add option to change Visual Script parameter type 2021-11-16 20:44:18 +01:00
mafiesto4 e249fda1f2 Add Visual Script parameter access editing (public or private) 2021-11-16 16:41:38 +01:00
mafiesto4 336f4debf1 Add OnParamEdited callback to Visject surface parameters API 2021-11-16 16:38:46 +01:00
mafiesto4 d102f7f7f8 Add NodesConnected and NodesDisconnected events to Visject surface API 2021-11-16 16:38:08 +01:00
mafiesto4 4e8cf63f51 Fix Visject surface context menu to focus property the selected item 2021-11-16 16:37:19 +01:00
mafiesto4 f69055d85a Add features flags for Custom Editors presentation 2021-11-16 16:33:45 +01:00
mafiesto4 46934b086d Fix crash if texture streaming fails on different texture format on Vulkan due to fallback usage 2021-11-15 16:39:18 +01:00
mafiesto4 d39b043343 Fix for localization dashboard 2021-11-15 16:39:17 +01:00
mafiesto4 d07ca3fcf4 Add support for older Android devices that don't support R11G11B10 texture format 2021-11-15 16:39:16 +01:00
mafiesto4 80ef2befd5 Add FallbackTable for localized strings table to redirect missing texts into other language 2021-11-15 16:39:16 +01:00
mafiesto4 1107173e60 Add notification text to Editor status bar after saving to improve user awareness 2021-11-15 16:39:15 +01:00
mafiesto4 8459d7f3ad Add option to export a single localized string table to .pot file 2021-11-15 16:39:15 +01:00
mafiesto4 0797ee2a1f Add keyboard navigation for ItemsListContextMenu (used by pickers in Editor) 2021-11-15 16:39:14 +01:00
mafiesto4 6357cc6245 Fix typos 2021-11-15 16:39:13 +01:00
mafiesto4 3648f8bef2 Add Hidden attribute to scripting fields/properties/methods/events 2021-11-15 16:39:13 +01:00
mafiesto4 e81a1aac9b Add arrows navigation for Visject surface nodes 2021-11-15 16:39:12 +01:00
mafiesto4 073591aada Add bitangent vectors debugging to Model preview 2021-11-11 13:24:17 +01:00
mafiesto4 ea80992376 Fixes 2021-11-11 13:23:58 +01:00
mafiesto4 6f16195b08 Fix mesh tangent and bitangent vectors generation with OpenFBX backend by using MikkTSpace 2021-11-11 13:23:30 +01:00
mafiesto4 ac347f0029 Fix one error when pasting Visject nodes 2021-11-11 11:40:22 +01:00
mafiesto4 bbecddfde2 Fix build 2021-11-10 21:04:46 +01:00
mafiesto4 a3bb66d09e Fix build with Win11 sdk 2021-11-10 20:40:49 +01:00
mafiesto4 1f5a18ea2d Fix Linux build 2021-11-10 20:12:30 +01:00
mafiesto4 dd85cb1676 Fix Linux build 2021-11-10 19:58:47 +01:00
mafiesto4 1f09c19c8d Add support for Visual Studio 2022 in Editor 2021-11-10 19:21:56 +01:00
mafiesto4 13ab912bb4 Add support for Visual Studio 2022 in Flax.Build 2021-11-10 19:12:27 +01:00
mafiesto4 cb2ddc9472 Add custom Name property for GDK package settings 2021-11-10 00:00:02 +01:00
mafiesto4 5a0fdee09b Fix ragdoll crash on start if skinned model is not yet loaded 2021-11-09 23:53:17 +01:00
mafiesto4 35969dfd85 Fix texture refs in platform settings to be SoftObjectReferences instead of raw Guid 2021-11-09 23:52:46 +01:00
mafiesto4 c1e3db9d1d Refactor SoftObjectReference to improve usage of it 2021-11-09 23:49:32 +01:00
mafiesto4 dbdeddcd26 Add GetPixels and SetPixels to TextureBase for easier textures data editing 2021-11-09 16:27:23 +01:00
mafiesto4 e34d3285c2 Add option to automatically generate mips for textures created from code 2021-11-09 16:26:28 +01:00
mafiesto4 4c4c6e8f03 Add setter for ResidentMipLevels on GPU Texture for C# scripting 2021-11-08 00:25:20 +01:00
mafiesto4 884e7ce381 Fix error 2021-11-07 21:39:25 +01:00
mafiesto4 24e5d4635d Add Mathf.Frac 2021-11-07 21:39:09 +01:00
mafiesto4 7955a6bc35 Minor fixes 2021-11-07 20:47:29 +01:00
mafiesto4 b3eb17f61e Add Platform.Users to handle users per-platform 2021-11-07 20:46:56 +01:00
mafiesto4 21e6e8bc7b Fix crash when reading from RingBuffer if it's full 2021-11-06 20:15:01 +01:00
mafiesto4 e857ae4d24 Fix entering play mode in Editor with pause mode on start 2021-11-06 20:14:29 +01:00
mafiesto4 ddbc76cc7d Add utility SetLinearVelocity and SetAngularVelocity for a whole ragdoll 2021-11-06 13:48:53 +01:00
mafiesto4 6f68f4e5b0 Fix Get/Set field node in Visual Script to update Instance box accordingly for static fields 2021-11-06 13:48:34 +01:00
mafiesto4 22fa954716 Add error code logging to navmesh tiles adding issues 2021-11-06 13:23:24 +01:00
mafiesto4 84f78e9a15 Fix Visject param node getter breaking connection on param change to the same type 2021-11-06 13:23:05 +01:00
mafiesto4 214e626ac5 Refactor Control autofocus to be handled by control type instead of as part of base.OnMouseDown 2021-11-05 18:17:07 +01:00
mafiesto4 1c579ae69c Merge branch 'honzapatCZ-patch-9' 2021-11-05 12:40:52 +01:00
mafiesto4 fbdaa43126 Merge branch 'patch-9' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-patch-9 2021-11-05 12:40:42 +01:00
mafiesto4 a37103af4a Fix regression from 5bd3032f78 2021-11-05 12:38:29 +01:00
mafiesto4 1f12e37412 Move mesh and skinned mesh options into shared base 2021-11-05 12:07:00 +01:00
mafiesto4 18f9d782ae Add Finished event to MeshDataCache 2021-11-05 12:06:33 +01:00
mafiesto4 e0d8a5be5d Add CollisionData.GetModelTriangle to retrieve source geometry triangle index from the raycast hit info 2021-11-05 11:49:10 +01:00
mafiesto4 3793630375 Add SuppressFaceRemapTable option for collision cooking 2021-11-05 11:48:23 +01:00
mafiesto4 5bd3032f78 Add support for passing the object reference as scripting function output result 2021-11-05 11:46:40 +01:00
mafiesto4 406102fd25 Add FaceIndex to RayCastHit 2021-11-05 11:43:46 +01:00
Nejcraft 7198539b33 Update Input.cpp 2021-11-05 00:47:51 +01:00
Nejcraft e3505a40db Fix GamepadAxis
really not sure how could this have gone unnoticed XD
2021-11-05 00:45:28 +01:00
mafiesto4 4b735a365b Fix crash when streaming texture with unsupported format by the GPU driver 2021-11-04 16:47:43 +01:00
mafiesto4 2b05b80b54 Fix running editor on older D3D10 backend 2021-11-04 16:47:19 +01:00
mafiesto4 d8775a3ae5 Add Ragdoll Editor utilities for easier ragdoll setup and editing 2021-11-04 16:23:04 +01:00
mafiesto4 79df80ad0c Add warning when using ragdoll that has joint with missing target 2021-11-04 16:11:10 +01:00
mafiesto4 b0ca1cc652 Fix crash when applying prefab that includes both removed and added objects 2021-11-04 16:00:02 +01:00
mafiesto4 568c70f2f7 Optimize physics shapes debug drawing for large scenes by using culling for colliders 2021-11-04 15:59:41 +01:00
mafiesto4 6dfedd219b Minor improvements and fixes for Editor 2021-11-04 15:59:06 +01:00
mafiesto4 d5f9e18107 Use automatic target anchor for new ragdolls to make it easier for setup 2021-11-04 12:17:52 +01:00
mafiesto4 f303b1c061 Add EnableAutoAnchor to Joint for automatic target anchor setup 2021-11-04 12:17:08 +01:00
mafiesto4 a45ecf7ec3 Add MaxDepenetrationVelocity for Ragdoll 2021-11-04 12:12:36 +01:00
mafiesto4 26e9ddc8e0 Add custom editor for Ragdoll to display the total mass 2021-11-03 19:39:22 +01:00
mafiesto4 0f997dbc75 Add automatic preserving of basic joint properties when converting between types in Editor 2021-11-03 19:35:49 +01:00
mafiesto4 837747fea2 Add options for position/velocity solver iterations config for ragdolls 2021-11-03 19:26:05 +01:00
mafiesto4 67f0056121 Fix generated DefaultValue attribute to match the field value type 2021-11-03 19:25:44 +01:00
mafiesto4 4875bfb336 Add Ragdoll support and ragdolls generation utility to Animated Model context menu 2021-11-03 19:24:59 +01:00
mafiesto4 dfb739afcf More fixes 2021-11-03 12:26:10 +01:00
mafiesto4 f6e8596e91 Add support for overriding Anim Graph output for Animated Model 2021-11-03 12:25:31 +01:00
mafiesto4 bd531aa6c2 Add Joint.SetJointOrientation utility 2021-11-03 12:24:41 +01:00
mafiesto4 fc55f6c7e9 Cleanup some code 2021-11-03 11:51:35 +01:00
mafiesto4 2ee835d23b Fix removing keys in Dictionary with string keys 2021-11-03 11:51:10 +01:00
mafiesto4 254ebd1e7f Tweaks 2021-11-03 10:45:00 +01:00
mafiesto4 5f7112a404 Add Quaternion::FromDirection to C++ 2021-11-03 10:44:12 +01:00
mafiesto4 f8e63f2994 Fix snapping rigidbodies to the floor 2021-11-02 15:16:35 +01:00
mafiesto4 62b0d19866 Refactor Rigidbody automatic mass calculation to include physical material Density 2021-11-01 21:44:09 +01:00
mafiesto4 e90f06748c Fix missing AnimatedModel pose access if it's not initialized yet 2021-10-27 20:45:02 +02:00
mafiesto4 5e6b6133ca Add Joint.SetJointLocation for easier joints setup 2021-10-27 20:37:46 +02:00
mafiesto4 fe28aa4f5e Add helper comment about CapsuleCollider height 2021-10-27 17:43:34 +02:00
mafiesto4 e25915b9d1 Fix D6Joint twist limit debug display 2021-10-27 17:43:16 +02:00
mafiesto4 b79feda477 Add ToString for some packed vector types 2021-10-27 16:38:50 +02:00
mafiesto4 76e284e2ac Fix error when using over 180 angle for joint limits 2021-10-27 12:15:35 +02:00
mafiesto4 7862fe9c38 Add physics colliders selecting in PhysicsColliders debug view 2021-10-27 12:14:32 +02:00
mafiesto4 7ca83858ab Optimize vertex buffer writing in Debug Draw 2021-10-27 11:03:08 +02:00
mafiesto4 883a829590 Fix missing copy destination offset in dynamic buffer update on D3D11 2021-10-27 10:25:07 +02:00
mafiesto4 69e2b8313b Optimize PhysicsColliders mode rendering in Editor 2021-10-27 10:23:57 +02:00
mafiesto4 39c170cb2f Attempt to implement video output modes on Vulkan 2021-10-25 23:31:45 +02:00
mafiesto4 eb04fc39ea Optimizations for Vulkan device 2021-10-25 23:31:23 +02:00
mafiesto4 cc7959a390 Add explicit operator for Color32 to Int4 2021-10-25 23:23:33 +02:00
mafiesto4 07a6e50d14 Fix custom actor options for prefab window 2021-10-25 23:23:07 +02:00
mafiesto4 b9e29520cf Fix __popcnt on MSVC only if SSE 4.2 is available 2021-10-25 10:52:13 +02:00
mafiesto4 8fdfbfdfe2 Revert 2021-10-23 16:43:18 +02:00
mafiesto4 f87544bbaf Add ScriptingTypeHandle::IsSubclassOf 2021-10-23 16:43:17 +02:00
mafiesto4 7a0e2c01d4 Add support for parsing negation in scripting api preprocessor 2021-10-23 16:43:16 +02:00
mafiesto4 8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
mafiesto4 0b3d6b03ac Add helper docs 2021-10-23 16:43:14 +02:00
nothingTVatYT 7817ba24ab use a fixed font if the requested cannot be found for message boxes 2021-10-21 20:49:07 +02:00
mafiesto4 7018ada593 Merge branch 'nothingTVatYT-LinuxProcess' 2021-10-21 19:10:39 +02:00
mafiesto4 112fa7ec23 Fix code style
#659
2021-10-21 19:10:15 +02:00
mafiesto4 c3c98ad20b Merge branch 'LinuxProcess' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-LinuxProcess 2021-10-21 19:04:30 +02:00
mafiesto4 3e8b45c4d9 Merge branch 'nothingTVatYT-CopyLinuxFile' 2021-10-21 18:57:37 +02:00
mafiesto4 061de0159d Merge branch 'CopyLinuxFile' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-CopyLinuxFile 2021-10-21 18:57:32 +02:00
mafiesto4 8eefe76bda Fixes 2021-10-21 18:57:26 +02:00
mafiesto4 8926fa57c1 Merge branch 'nothingTVatYT-MoveLinuxFile' 2021-10-21 18:53:42 +02:00
mafiesto4 11632872d6 Merge branch 'MoveLinuxFile' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-MoveLinuxFile 2021-10-21 18:53:33 +02:00
mafiesto4 e048849298 Merge branch 'nothingTVatYT-CalculateDPI' 2021-10-21 18:50:01 +02:00
mafiesto4 3194e58fb9 Merge branch 'CalculateDPI' of git://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-CalculateDPI 2021-10-21 18:49:40 +02:00
mafiesto4 14ab99595d Fix deprecated api ignoring macros on clang 2021-10-21 18:47:00 +02:00
nothingTVatYT 8d77dd9f04 Merge branch 'master' into LinuxProcess 2021-10-21 04:14:04 +02:00
nothingTVatYT 56ec927554 add LinuxProcess that supports workingDir, env and logging 2021-10-21 04:03:42 +02:00
mafiesto4 11e73e1b94 Fix RunProcess on Linux with custom working directory 2021-10-20 23:13:44 +02:00
mafiesto4 a6cd97a8d3 Fix per-instance vertex colors uploading if data is already valid 2021-10-20 23:13:44 +02:00
mafiesto4 5dbbfed654 PS5 support progress 2021-10-20 15:35:12 +02:00
mafiesto4 f91be91693 Add missing memory profiler events to Unix platforms 2021-10-20 15:35:12 +02:00
mafiesto4 ea1a47159b Fix error 2021-10-18 11:51:13 +02:00
mafiesto4 3838870b16 Add soft failing to NetworkPeer creation and INetworkDriver initialization 2021-10-18 11:50:03 +02:00
mafiesto4 8bdf417b17 Fix using object reference in Scripting API with PersistentScriptingObject 2021-10-18 11:02:37 +02:00
mafiesto4 302ec73b18 Cleanup
#651
2021-10-18 11:02:08 +02:00
mafiesto4 c7f1a2a77e Merge branch 'Erdroy-networkdriver-csharp' 2021-10-18 10:37:55 +02:00
mafiesto4 9e582120d2 Merge branch 'networkdriver-csharp' of git://github.com/Erdroy/FlaxEngine into Erdroy-networkdriver-csharp 2021-10-18 10:37:44 +02:00
nothingTVatYT ae24641e07 offset is not used 2021-10-18 04:15:07 +02:00
nothingTVatYT 94c0dad4bc optimize file copy to sendfile on Linux 2021-10-18 04:11:28 +02:00
nothingTVatYT 37f42a9234 fix MoveFile for Linux 2021-10-18 00:54:39 +02:00
nothingTVatYT 78eab24c68 fix dpi calculation for Linux and multiple screens 2021-10-18 00:38:08 +02:00
nothingTVatYT 70f999f344 add LinuxInput for Gamepad support 2021-10-18 00:27:23 +02:00
mafiesto4 be1598b1c6 Fix parting Input Settings if they have invalid data 2021-10-17 18:08:58 +02:00
mafiesto4 7660ef59ff Fixes 2021-10-17 17:41:34 +02:00
mafiesto4 25be2902ac Fixes 2021-10-17 16:01:57 +02:00
mafiesto4 a906e0c857 Add assertions to String index operator to prevent invalid memory access 2021-10-17 16:01:47 +02:00
mafiesto4 e7edbacd69 Fix invalid memory write in StringUtils::ConvertANSI2UTF16 on Unix if length is empty 2021-10-17 16:00:55 +02:00
Erdroy 2f6dee9735 Fix build errror 2021-10-14 20:52:13 +02:00
Erdroy 41e4ce7b2e Add DEPRECATED attribute to NetworkConfig::NetworkDriverType 2021-10-14 20:19:06 +02:00
Erdroy 9763199dbb Add INetworkDriver::DriverName() function 2021-10-14 20:19:06 +02:00
Erdroy e717d29401 Add NetworkDriver interface pointer to NetworkConfig 2021-10-14 20:19:05 +02:00
mafiesto4 6f84bffaad Add profiler events to shader compiler 2021-10-14 11:46:02 +02:00
mafiesto4 b17332c5ba Fix TargetViewOffset from textboxes to be hidden 2021-10-14 11:26:13 +02:00
mafiesto4 ea05fa8f69 Fix shader parsing error due to unknown macro used on shader function visibility condition 2021-10-14 11:07:42 +02:00
mafiesto4 05ebf60dba Add PRAGMA_DISABLE_DEPRECATION_WARNINGS and PRAGMA_ENABLE_DEPRECATION_WARNINGS macros 2021-10-14 11:07:12 +02:00
mafiesto4 3bb7f83729 Fix parsing DEPRECATED specifier on enums in scripting api 2021-10-14 11:06:37 +02:00
mafiesto4 6880785a72 Bump up build number 2021-10-14 11:06:09 +02:00
mafiesto4 a9989f4001 Fix Game Cooker cache when materials or particles or shaders format gets changed 2021-10-14 11:05:56 +02:00
mafiesto4 4e6fa25877 Add support for using DEPRECATED to mark scripting API as obsolete 2021-10-12 23:48:47 +02:00
mafiesto4 8610db2e63 Code style tweaks 2021-10-11 14:39:46 +02:00
mafiesto4 6dc40d0c93 Fix possible division by zero in BoundingFrustum::GetCorners
#648
2021-10-11 14:39:29 +02:00
mafiesto4 9450111ae6 Fix possible division by zero in Plane.Normalize
#648
2021-10-11 14:32:34 +02:00
mafiesto4 a013c3dd04 Fix possible crash in ReadOutputLogs
#646
2021-10-11 14:05:20 +02:00
mafiesto4 54d5cf944b Fix GPU lgihtmaps baking error 2021-10-11 14:02:56 +02:00
mafiesto4 7880bbe7ec Add missing support for some formats in TextureTool 2021-10-11 14:02:41 +02:00
mafiesto4 bcbfaa347a Disable compression for lightmaps on Linux (due to low-quality alpha encoding) 2021-10-11 14:02:14 +02:00
mafiesto4 faf266800c Add bc7enc16 encored for BC7 textures compression on Linux 2021-10-11 14:01:29 +02:00
mafiesto4 ee2c9a3970 Fix stb compilation on Windows for TextureTool 2021-10-11 13:58:46 +02:00
mafiesto4 65bee6bd0f Merge branch 'intolerantape-Minor-Changes' 2021-10-11 09:40:17 +02:00
mafiesto4 7a86c5fde2 Merge branch 'Minor-Changes' of git://github.com/intolerantape/FlaxEngine into intolerantape-Minor-Changes 2021-10-11 09:40:06 +02:00
mafiesto4 45e3da3f90 Fix compilation issues 2021-10-08 17:03:11 +02:00
mafiesto4 f3b019e4db Add additional error prevention for AssetReferencesGraphWindow loading task 2021-10-08 16:56:56 +02:00
mafiesto4 48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
mafiesto4 aef024f572 Change Content loading threads count to depend on logical cores count instead of physical (set limit to 12) 2021-10-08 16:25:16 +02:00
mafiesto4 b3764d1e70 Add option *Show asset references graph* to content context menu 2021-10-08 16:25:15 +02:00
mafiesto4 5a35c4ad74 Add setter to Control.Center 2021-10-08 16:25:15 +02:00
mafiesto4 058e23f3ee Add Content.GetAllAssets to get all asset ids in project 2021-10-08 16:25:15 +02:00
mafiesto4 78e093245d Improvements for Visject Surface 2021-10-08 16:25:14 +02:00
mafiesto4 aa3a6e2766 Add option to make AssetPicker a read-only 2021-10-08 16:25:14 +02:00
mafiesto4 fa441abf5c Add option *Select actors using this asset* to content menu 2021-10-08 16:25:13 +02:00
mafiesto4 352abd1e41 Add option *Select actors using this asset* to content menu 2021-10-08 16:25:13 +02:00
mafiesto4 6d72bfe149 Add ContentItem.OnContextMenu 2021-10-08 16:25:12 +02:00
mafiesto4 babe19a3d6 Update material shaders version 2021-10-07 15:06:43 +02:00
mafiesto4 96a903afd1 Fixes 2021-10-07 15:04:48 +02:00
mafiesto4 1af5ec8492 Add Quad Overdraw debug view mode 2021-10-07 14:59:06 +02:00
mafiesto4 949766e3a0 Add GPUContext.ClearUA for buffer and texture with uint format 2021-10-07 14:17:05 +02:00
mafiesto4 f328fbefa9 Increase default UAV slots limit to 4 2021-10-07 14:16:06 +02:00
mafiesto4 88cf1bcd28 Refactor UAV slots binding when rendering from PS into UAV 2021-10-07 14:15:45 +02:00
mafiesto4 bdd2dbb719 Fix shader unction visibility parsing and add USE_EDITOR define to material shaders 2021-10-07 11:43:11 +02:00
mafiesto4 690e3ee3ca Fix error in case of opening multiple folders with Enter in Content Window 2021-10-07 10:28:31 +02:00
mafiesto4 fd8f7c76a2 Move assets 2021-10-07 10:28:14 +02:00
mafiesto4 cc29e97fa3 Fix automatic properties serialization bug 2021-10-07 09:29:50 +02:00
mafiesto4 397edf18b9 Fixes 2021-10-07 09:29:36 +02:00
mafiesto4 0bd5f63ae4 Use single color materialinstead of shader for LOD Preview 2021-10-07 09:29:22 +02:00
mafiesto4 98ca7c1726 Add Material Complexity debug view model 2021-10-07 09:28:49 +02:00
mafiesto4 c3fe366be8 Improvements and tweaks 2021-10-05 21:54:24 +02:00
mafiesto4 195aed22b5 Optimize Asset::onAssetLoaded if even is unused 2021-10-05 21:54:23 +02:00
mafiesto4 1b88f8ce3f Fix Editor crash when dragging material over CSG brush Surface
#640
2021-10-05 21:54:22 +02:00
mafiesto4 3e04a15fe5 Add Utilities::CountBits 2021-10-05 21:54:21 +02:00
mafiesto4 8f07a5285e Add TRACY_NO_INVARIANT_CHECK to all platforms 2021-10-05 21:54:20 +02:00
mafiesto4 3dff9196c2 Add LOD Preview debug view mode 2021-10-05 21:54:19 +02:00
mafiesto4 0e8987b654 Fix loading project reference with relative path in the Editor 2021-10-05 21:54:18 +02:00
mafiesto4 70ba71de79 Fix error 2021-10-05 21:54:17 +02:00
mafiesto4 77f2bd5115 Fixes 2021-10-05 15:58:45 +02:00
mafiesto4 590c75f4cb Add option to compile C#-only scripts on Linux when cooking for Windows 2021-10-05 15:56:04 +02:00
mafiesto4 a72ac91ebc Fix support for codeless game projects 2021-10-05 15:54:55 +02:00
mafiesto4 cabd06dd53 Add C++ lambda support for Function<> and Delegate<> 2021-10-05 13:07:38 +02:00
mafiesto4 32794f89c7 Fix auto-serialization for interfaces to skip it (not supported to save interface pointer) 2021-10-04 14:22:09 +02:00
mafiesto4 5e3254435f Add ScriptingObject::ToInterface and ScriptingObject::FromInterface 2021-10-04 14:21:45 +02:00
mafiesto4 fc629ff5d9 Fix restriction if using I as prefix for interface names 2021-10-04 13:31:41 +02:00
mafiesto4 41b774faf6 Fix connector node creation in Visject on double-click over node 2021-10-04 12:26:37 +02:00
mafiesto4 d88306fc1c Hide various Editor types from Visual Scripting 2021-10-04 12:26:36 +02:00
mafiesto4 e92c22585a Add support for using interfaces in Visual Scripting 2021-10-04 12:26:35 +02:00
mafiesto4 ecf926a537 Cleanup ENetDriver and use interface properly for scripting 2021-10-04 12:26:35 +02:00
mafiesto4 c3c0a4ef0d Add support for interfaces in scripting API (cross language support C++/C#/VS) 2021-10-04 12:26:08 +02:00
mafiesto4 147e5ada46 Fix headless mode in Editor on Linux without X11 2021-10-03 18:55:26 +02:00
mafiesto4 51bcaeb812 Fix crash on editor close on Linux due to FS watcher double free 2021-10-03 18:27:33 +02:00
mafiesto4 2f64312a7d Add support for kdialog for file open picker on Linux 2021-10-03 18:15:11 +02:00
intolerantape 9ee0773ab1 Moved the various Vector::Angle functions into their respective CPP files.
They didn't seem like prime candidates for inlining.
2021-09-30 13:30:55 -07:00
intolerantape f25dae2da2 Added Double3::Angle 2021-09-30 12:24:30 -07:00
intolerantape 31c92cd94c Added Double2::Angle() 2021-09-30 12:22:12 -07:00
intolerantape 06a4c30cc0 Updated Double3.h and Double3.cpp
Added a constructor with Vector3 input and cleaned up some documentation. Also fixed a parameter name and some weird extra whitespace.
2021-09-29 20:46:50 -07:00
intolerantape 6150aaaa77 Update Vector4.h
Added some missing explicit tags to Vector4 constructors to match the pattern established by other Vector types.
2021-09-29 20:46:49 -07:00
intolerantape 6657bc924b Updated Double4.h and Double4.cpp
Added a constructor with Vector4 input and cleaned up some documentation.
2021-09-29 20:46:49 -07:00
intolerantape 81390cf860 Added InverseLerp to Math.h
Ported from C#
2021-09-29 20:46:48 -07:00
intolerantape eb928091b6 Added GetForward() and GetBackward() methods to Transform class. 2021-09-29 20:46:47 -07:00
mafiesto4 6107af3cca Fix missing change 2021-09-29 18:11:00 +02:00
mafiesto4 ba8f7c5ab4 Add improvements for native interfaces usage 2021-09-29 16:33:25 +02:00
mafiesto4 b9ef09df96 Add support for creating C# scripting object inheriting directly from FlaxEngine.Object 2021-09-29 15:47:49 +02:00
mafiesto4 e2cd0393ac Add ManagedBinaryModule::FindModule utility for C# type class lookup 2021-09-29 15:46:17 +02:00
mafiesto4 fa82d818d8 Refactor default D6JointMotion for D6Joint to Locked 2021-09-29 10:07:54 +02:00
mafiesto4 050e12c756 Fix D6Joint serialization 2021-09-29 10:07:54 +02:00
mafiesto4 805f862af6 Add copy/paste for group panel with multiple custom editors nested inside 2021-09-29 10:07:53 +02:00
mafiesto4 8614e171c1 Fix joints properties ranges validation 2021-09-29 10:07:52 +02:00
mafiesto4 6ee5f5cc70 Add D6 Joint motions editing in Editor properties panel 2021-09-29 10:07:52 +02:00
mafiesto4 3d1213d669 Add improvements for joints editing with debug shapes 2021-09-29 10:07:51 +02:00
mafiesto4 5c60281814 Adjust debug shape arrow size 2021-09-29 10:07:51 +02:00
mafiesto4 2f77a94395 Add DebugDraw.DrawArc and DebugDraw.DrawWireArc 2021-09-29 10:07:50 +02:00
mafiesto4 e0aeae05be Add DebugDraw.DrawCone and DebugDraw.DrawWireCone 2021-09-29 10:07:50 +02:00
mafiesto4 640c3075e6 Add deploying FlaxEditor.pdb for Development configuration to improve crash reporting 2021-09-28 20:42:24 +02:00
mafiesto4 0a60bd1d3b Fix capturing stack trace from user native assemblies on Windows 2021-09-28 20:36:07 +02:00
mafiesto4 35b784f11d Merge branch 'ricochhet-master' 2021-09-28 20:08:38 +02:00
mafiesto4 f935678090 Merge branch 'master' of git://github.com/ricochhet/FlaxEngine into ricochhet-master 2021-09-28 20:08:27 +02:00
mafiesto4 e6ba2402b7 Add TryGetToolchain to build platform
#631
2021-09-28 20:06:26 +02:00
Ricochet 73e9e7d620 Better wording for README.md 2021-09-26 17:15:44 -05:00
Ricochet e68ccb17d9 Update README.md 2021-09-26 15:47:27 -05:00
mafiesto4 6d3170c665 Revert unwanted change 2021-09-24 20:16:03 +02:00
mafiesto4 777febc198 Tweaks 2021-09-24 16:38:26 +02:00
mafiesto4 799d79bd2f Fix crash when physics scene with only inactive vehicles 2021-09-24 13:53:44 +02:00
mafiesto4 5fe3dc6d13 Add value auto-select when focusing or clicking on input field in Editor 2021-09-24 13:14:07 +02:00
mafiesto4 c3a83a001d Add context menu for group panels in properties editor for resetting values 2021-09-24 12:55:49 +02:00
mafiesto4 4f050fe288 Fix regression for actor properties diff or default value reverting in Editor 2021-09-24 10:52:20 +02:00
mafiesto4 bbe64a517c Tweaks 2021-09-24 09:23:36 +02:00
mafiesto4 76a4d0652f Add JsonAsset::GetInstance<T> for easier access to C++ json asset data 2021-09-23 13:47:44 +02:00
mafiesto4 8d512eb1d3 Add ScriptingTypeHandle::IsAssignableFrom 2021-09-23 13:46:47 +02:00
mafiesto4 ef78d9e9ed Add support for pasting hex color values into Color properties in Editor 2021-09-23 13:27:08 +02:00
mafiesto4 257f57f926 Fix importing materials from fbx files
#628
2021-09-23 12:40:34 +02:00
mafiesto4 3976d95610 Merge branch 'intolerantape-Vector-Angle-Functions-CPP' 2021-09-23 12:22:56 +02:00
mafiesto4 d4d38e94cb Merge branch 'Vector-Angle-Functions-CPP' of git://github.com/intolerantape/FlaxEngine into intolerantape-Vector-Angle-Functions-CPP 2021-09-23 12:22:45 +02:00
mafiesto4 5519739309 Merge branch 'intolerantape-Missing-FLAXENGINE_API-Tags' 2021-09-23 12:19:54 +02:00
mafiesto4 a6459da693 Merge branch 'Missing-FLAXENGINE_API-Tags' of git://github.com/intolerantape/FlaxEngine into intolerantape-Missing-FLAXENGINE_API-Tags 2021-09-23 12:19:36 +02:00
mafiesto4 0bae7022b1 Add minor tweak 2021-09-23 10:13:30 +02:00
mafiesto4 59802246b2 Fix adding keyframe to timeline if the value won't change 2021-09-22 17:09:55 +02:00
mafiesto4 8e6c7a6194 Add live-preview option for editing scene animation
#519
2021-09-22 17:09:36 +02:00
mafiesto4 2a5a9e9581 Tweak 2021-09-22 12:39:49 +02:00
mafiesto4 aa540c014e Fix compilation for Xbox 2021-09-22 12:37:47 +02:00
mafiesto4 6f7fc3cfc6 Fix a69bf9d519c472f0f8378e6f1e061ddfe0556a4e 2021-09-21 18:23:32 +02:00
mafiesto4 e1d9fbb742 Fix some engine API to be exposed for C++ scripting 2021-09-21 18:23:31 +02:00
mafiesto4 53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
mafiesto4 9c76d0c3cb Add clamping for AA and shadows quality to prevent crashes on invalid usage 2021-09-21 18:23:30 +02:00
mafiesto4 6e08c1aac9 Add logging content database init start time 2021-09-21 18:23:29 +02:00
mafiesto4 24af916e52 Add option to delete media from Timeline
#519
2021-09-21 17:37:14 +02:00
mafiesto4 81e3b9dd6a Fix Tracy profiler client allocating memory by using OnDemand mode 2021-09-21 17:23:59 +02:00
mafiesto4 357b1c60a9 Add support for changing target actor for scene animation actor track
#519
2021-09-21 17:23:29 +02:00
mafiesto4 4d2d59617f Minor optimization 2021-09-21 17:22:45 +02:00
mafiesto4 9f18a27b0b Improve editor tooltips for actors and scripts 2021-09-21 17:22:22 +02:00
mafiesto4 0ec16de569 Add support for multiple media events on audio, postfx and camera tracks in Scene Animations
#519
2021-09-21 17:21:39 +02:00
mafiesto4 f547e44d3d Add minor UI improvements for timeline and curves editing 2021-09-20 16:54:11 +02:00
mafiesto4 38fad38b0c Add option for drawing audio clip preview with time offset 2021-09-20 16:52:59 +02:00
mafiesto4 77b0d194c7 Fix for env probes baking in Editor 2021-09-20 11:37:25 +02:00
intolerantape 134260ba52 Added Vector*::Angle functions to C++
Directly ported the C# versions of the function.
2021-09-11 06:02:11 -07:00
intolerantape 7cd6486916 Added FLAXENGINE_API tag in MField.h 2021-09-11 05:15:51 -07:00
intolerantape 8363ab8b10 Added FLAXENGINE_API tag in Exception.h 2021-09-11 05:15:50 -07:00
intolerantape 5308c42c1c Added FLAXENGINE_API tags in StateMachine.h 2021-09-11 05:15:50 -07:00
mafiesto4 628456bcc6 Fix crash with nested scene animation playback 2021-09-03 14:38:57 +02:00
mafiesto4 e321c30c1d Fix crash on NestedSceneAnimationTrack load without timeline 2021-09-03 14:31:31 +02:00
mafiesto4 1a87f2ea1a Use util for guid read 2021-09-03 14:31:15 +02:00
mafiesto4 d19d0ef0e5 Add keyframes editor to proxy keyframes from subtracks on object track
#519
2021-09-03 12:32:33 +02:00
mafiesto4 6dcc9f85c6 Fixes for timeline editing 2021-09-02 16:43:56 +02:00
mafiesto4 7ed3c61b53 Tweaks 2021-09-01 16:04:10 +02:00
mafiesto4 d7a7daa21d Merge branch 'jb-perrier-render2d-tex-tris-color' 2021-09-01 16:02:05 +02:00
mafiesto4 b20fbe20e0 Merge branch 'render2d-tex-tris-color' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-render2d-tex-tris-color 2021-09-01 16:01:56 +02:00
mafiesto4 e095bba98b Add timeline keyframes selection via timeline background 2021-09-01 15:57:15 +02:00
mafiesto4 47c95dee95 Add curve/keyframes select or copy all keyframes option 2021-09-01 15:24:37 +02:00
mafiesto4 8af5c88a53 Add timeline tracks sorting option 2021-09-01 15:16:43 +02:00
mafiesto4 86c7ad2b2c Fix Tracy even regression crash on anim graph tick 2021-09-01 14:43:51 +02:00
mafiesto4 8c9a0b2b2f Refactor Timeline impl to separate files 2021-09-01 14:43:49 +02:00
mafiesto4 adadde0aa9 Add epsilon clamping for keyframes adding in timeline 2021-09-01 14:43:48 +02:00
mafiesto4 75cc7cbc4e Adjust precision for context menu showing on curve/keyframes 2021-09-01 14:43:48 +02:00
mafiesto4 0d5fa3e125 Add copy/paste feature to keyframes and curves editors
#519
2021-09-01 14:43:47 +02:00
mafiesto4 d062601260 Add Shift for range-based selection in curve and timeline editors 2021-09-01 14:43:47 +02:00
Jean-Baptiste Perrier ad0c39e4ac Typo 2021-09-01 08:58:15 +02:00
Jean-Baptiste Perrier 19ee939c5d Add Render2D::DrawTexturedTriangles variations 2021-09-01 06:57:41 +02:00
mafiesto4 d8f72daf94 Fix rare crashes with debug draw in Game Window 2021-08-31 22:02:30 +02:00
mafiesto4 47e5be4103 Fix typo regression from e284a88da4 2021-08-31 12:06:25 +02:00
mafiesto4 3823d9a493 Fix release build 2021-08-31 10:58:16 +02:00
mafiesto4 20558be2e0 Add duplicate to track context menu 2021-08-31 10:47:25 +02:00
mafiesto4 df10581bb2 Add improved Android NDK detection and prevent exception
#614
2021-08-31 10:40:38 +02:00
mafiesto4 b29e1e9878 Bump up version number 2021-08-31 10:02:14 +02:00
mafiesto4 3e00bcca49 Merge remote-tracking branch 'origin/master' 2021-08-31 09:36:44 +02:00
mafiesto4 50bdffb381 Tweaks 2021-08-31 09:36:15 +02:00
mafiesto4 fab7bd48c5 Optimize atomic and interlocked memory operations on Win32Platform (Windows and Xbox) by inlining 2021-08-30 20:31:40 +02:00
mafiesto4 e3b98c902b Optimize CPU particles impl parts 2021-08-30 20:30:52 +02:00
mafiesto4 e284a88da4 Optimize utilities in AnimationUtils 2021-08-30 20:30:22 +02:00
mafiesto4 074aa8c3fb Optimize ThreadLocal by removing size check 2021-08-30 20:29:58 +02:00
mafiesto4 ab8e0fdd46 Fixes for SIMD.h 2021-08-30 20:27:43 +02:00
mafiesto4 2e5491604b Add more profiler events and naming for particles/animations jobs events 2021-08-30 20:24:38 +02:00
mafiesto4 5c0723832e Merge branch 'jb-perrier-double-vectors' 2021-08-30 16:44:19 +02:00
mafiesto4 18a4ba22fe Merge branch 'double-vectors' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-double-vectors 2021-08-30 16:44:11 +02:00
mafiesto4 cd2f5dc704 Merge branch 'ScottLongley-feature-contentwindow-vertical' 2021-08-30 16:38:32 +02:00
mafiesto4 ee07e3b298 Merge branch 'feature-contentwindow-vertical' of git://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-contentwindow-vertical 2021-08-30 16:25:05 +02:00
mafiesto4 98776a709e Refactor GDK platform settings and tools, expose more options MicrosoftGame.config 2021-08-30 16:15:06 +02:00
mafiesto4 5d321c8c0c Add check to prevent inheriting from static or sealed class in scripting 2021-08-30 16:15:05 +02:00
mafiesto4 c69e620e04 Fixes 2021-08-30 16:15:05 +02:00
mafiesto4 2b8259eb8a Add showing Visject context menu group when it's title has a filter match 2021-08-30 16:15:04 +02:00
mafiesto4 d654d2d0ac Add PROFILE_CPU_ASSET for asset related profiler scoped zone 2021-08-28 12:49:02 +02:00
mafiesto4 610763b637 Fix custom setting loading regression 2021-08-28 12:16:13 +02:00
mafiesto4 e4cb87ea9e Fix loading null as Guid for object refs in C++ Json parser 2021-08-27 16:06:23 +02:00
mafiesto4 7f00fa4fd9 Merge remote-tracking branch 'origin/master' into gdk 2021-08-27 16:05:58 +02:00
mafiesto4 146626045f Fixes 2021-08-27 16:05:50 +02:00
mafiesto4 6b7f7c9b4b Fix packaging for engine deployment (attempt) 2021-08-26 21:24:28 +02:00
mafiesto4 05fc1b8dd1 Refactor GDK platform to be base for Xbox consoles 2021-08-26 17:28:16 +02:00
mafiesto4 d9410f9cdd Post merge fixes and cleanup
#571
2021-08-26 17:27:38 +02:00
mafiesto4 87a08a7db6 Merge branch 'honzapatCZ-xboxone' into gdk 2021-08-26 12:45:11 +02:00
mafiesto4 782d29f427 Merge branch 'xboxone' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-xboxone 2021-08-26 12:44:53 +02:00
mafiesto4 7689db49ff Fix issue with MapTrack for actors 2021-08-26 12:40:37 +02:00
mafiesto4 e22e919099 Increase maximum window width limit to 8k 2021-08-26 12:19:38 +02:00
mafiesto4 7198fdd74a Add timeline tracks duplicating option
#519
2021-08-26 12:13:14 +02:00
mafiesto4 ba09d9111e Refactor tracks properties to public 2021-08-26 11:37:56 +02:00
mafiesto4 b85521decd Add shared selected keyframes moving ability for timeline tracks
#519
2021-08-25 15:07:53 +02:00
ScottLongley 64650367be Add Orientation option to ContentWindow 2021-08-25 20:37:16 +10:00
mafiesto4 2beb0e137b Add timeline undo actions batching 2021-08-25 10:04:29 +02:00
mafiesto4 aa75a2aeb0 Adjust curve and keyframes UI to be easier to use with a mouse
#519
2021-08-24 17:15:43 +02:00
mafiesto4 0063ec3527 Add shared rectangle selection for all timeline tracks to select keyframes
#519
2021-08-24 17:14:41 +02:00
mafiesto4 603c9fac07 Add timeline view panning with right-mouse button even over keyframes editor or curve editor 2021-08-24 12:56:36 +02:00
mafiesto4 ee3f7aeb53 Adjust curve background drawing for timeline 2021-08-24 12:15:38 +02:00
mafiesto4 4172ca39dc Fix native test compilation 2021-08-23 22:36:56 +02:00
honzapatCZ 4be0888776 fix 2021-08-23 22:35:41 +02:00
mafiesto4 6efa835898 Fixes and tweaks for Linux fs watcher 2021-08-23 22:25:04 +02:00
mafiesto4 883879a642 Merge branch 'Vittek1978-LinuxFileSystemWatcher' 2021-08-23 21:47:45 +02:00
mafiesto4 f6becb0ee5 Merge branch 'LinuxFileSystemWatcher' of git://github.com/Vittek1978/FlaxEngine into Vittek1978-LinuxFileSystemWatcher 2021-08-23 21:29:59 +02:00
Nejcraft 67d5fc6a2a Merge branch 'master' into local 2021-08-23 20:40:37 +02:00
honzapatCZ d493eb9ada localization udpates 2021-08-23 19:30:13 +02:00
mafiesto4 79b7e76777 Adjustments for timeline editing UI 2021-08-23 16:51:17 +02:00
mafiesto4 5b52e76fc9 Add ScrollBarsSize to Panel 2021-08-23 16:51:01 +02:00
mafiesto4 bbe9193686 Add resizing feature to timeline curve tracks
#519
2021-08-23 16:33:47 +02:00
mafiesto4 a04db5d4b4 Restore default behavior in TilesPanel to have no margin between items
#608
2021-08-23 14:45:59 +02:00
mafiesto4 86fa371e0b Merge branch 'ScottLongley-feature-tilespanel-margin' 2021-08-23 14:44:00 +02:00
mafiesto4 8e8cace43b Merge branch 'feature-tilespanel-margin' of git://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-tilespanel-margin 2021-08-23 14:40:25 +02:00
mafiesto4 5b05c6ceaa Add scrolling timeline horizontally with Shift+Wheel
#519
2021-08-23 14:38:08 +02:00
mafiesto4 ee29a1bc91 Add preserving timeline position when zooming with a mouse wheel
#519
2021-08-23 14:37:48 +02:00
Scott Longley 8e4c023b98 Merge branch 'FlaxEngine:master' into feature-tilespanel-margin 2021-08-23 22:24:03 +10:00
ScottLongley b8c82ec47d Bounds fix 2 2021-08-23 22:17:54 +10:00
ScottLongley 96f4f676e4 Bounds fix 2021-08-23 22:06:28 +10:00
mafiesto4 c0e8488b83 Merge branch 'jb-perrier-patch-1' 2021-08-23 13:40:12 +02:00
mafiesto4 3be48c052f Merge branch 'patch-1' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-patch-1 2021-08-23 13:40:05 +02:00
mafiesto4 052366be66 Optimize audio preview rendering when zoom is very high
#519
2021-08-23 13:39:07 +02:00
mafiesto4 347eaa9d07 Optimize timeline background rendering when zoom is very high
#519
2021-08-23 13:18:41 +02:00
mafiesto4 bee117f86b Optimize Content Finder popup 2021-08-23 10:54:19 +02:00
jb-perrier 6fa1fc462f Add Ramsay quote 2021-08-23 10:27:22 +02:00
mafiesto4 ba5997683b Merge branch '1.2' 2021-08-21 13:49:15 +02:00
mafiesto4 700b561ad1 Improve rigidbody warning message 2021-08-21 12:53:23 +02:00
mafiesto4 a59aec8425 Fix suspension force offset location 2021-08-20 16:33:31 +02:00
mafiesto4 aaca4ecc69 Add wheeled vehicle tire options 2021-08-20 16:33:11 +02:00
mafiesto4 078f56febe Add vehicle telemetry logging debug option 2021-08-20 16:32:47 +02:00
mafiesto4 17f128afeb Add digital steering option for a vehicle 2021-08-20 16:23:45 +02:00
mafiesto4 aa224f6296 Fix WheeledVehicle driving and suspension raycasts 2021-08-20 15:30:01 +02:00
ScottLongley 8136d2823f Add margin to TilesPanel tile 2021-08-20 22:49:46 +10:00
mafiesto4 09e2b737f0 Fix rare crashes due to selection not being empty on play mode start 2021-08-20 10:51:27 +02:00
mafiesto4 3cb4abab0d Optimize ticking disabled vehicles 2021-08-19 16:26:49 +02:00
mafiesto4 151454db2c Fix invalid rigidbody center of mass location 2021-08-19 15:46:36 +02:00
mafiesto4 e3dac62bd9 Fix decal material normal vector blending 2021-08-19 15:22:45 +02:00
mafiesto4 9ed8621621 Fix invalid navmesh build for triggers 2021-08-19 15:00:28 +02:00
mafiesto4 d30e8c4c70 Remove redundant code 2021-08-19 14:01:54 +02:00
mafiesto4 a1bf4819cb Optimize calling Object.FindObject from C# 2021-08-19 13:06:20 +02:00
mafiesto4 39a4dab81f Fix 2021-08-19 13:06:19 +02:00
mafiesto4 a8c7705c3b Fix null values handling in C# Json serialization
It didn't replace prefab object reference if replaced with null in the prefab instance.
2021-08-19 13:06:18 +02:00
mafiesto4 4c1dbb7f8e Refactor prefab instances loading to improve refs loading between prefab objects 2021-08-19 13:06:17 +02:00
mafiesto4 066c668f6f Fix missing references to a new prefab objects inside other prefab objects when applying changes 2021-08-19 13:06:16 +02:00
mafiesto4 eab9a2c0ac Adjust scene node context menu 2021-08-19 13:06:15 +02:00
mafiesto4 7822266029 Add option to select scene asset from Scene tree window 2021-08-19 13:06:14 +02:00
mafiesto4 fff2c3e038 Fix materials parameters display issues after editing 2021-08-18 22:55:31 +02:00
mafiesto4 540643972a Fix 2021-08-18 22:09:52 +02:00
Jean-Baptiste Perrier c20ead730b Merge branch 'master' of https://github.com/FlaxEngine/FlaxEngine into double-vectors 2021-08-18 12:50:11 +02:00
Jean-Baptiste Perrier 5aaf09018f Add missing NearEqual for double 2021-08-18 12:49:53 +02:00
Jean-Baptiste Perrier c8ceb4f86b Add DoubleX constructors for VectorX 2021-08-18 12:49:38 +02:00
Jean-Baptiste Perrier e655ee6b78 Tweaks Double2 2021-08-18 12:49:12 +02:00
Jean-Baptiste Perrier 281673dd6b Add Double4 impl. cpp 2021-08-18 12:48:52 +02:00
Jean-Baptiste Perrier eedca14e6f Add Double3 impl. cpp 2021-08-18 12:48:39 +02:00
mafiesto4 66657d798a Add typename to script panel tooltip and don't inherit tooltip 2021-08-17 23:35:17 +02:00
mafiesto4 fc9e54b349 Merge branch 'stefnotch-issue-reporting' 2021-08-17 21:59:28 +02:00
stefnotch 87be58b4fa Add "show in explorer" 2021-08-17 11:33:23 +02:00
stefnotch 3808c306a0 Update issue template 2021-08-17 11:28:13 +02:00
mafiesto4 dee4537f23 Add -new command line arg to create a new project 2021-08-16 22:50:11 +02:00
mafiesto4 34132e3074 Fix context menu keyboard arrows navigation to skip disabled items 2021-08-16 22:50:10 +02:00
Erdroy bb4d94ee85 Fix ENet driver crash 2021-08-16 19:54:20 +02:00
Mariusz Wisniewski 3248dd50f9 Added LinuxFileSystemWatcher 2021-08-16 17:35:36 +02:00
mafiesto4 d68189ae3d Tweaks for native engine tests
#601
2021-08-16 12:18:11 +02:00
mafiesto4 6a055bd4c5 Merge branch 'Zbyl-string-functions-semantics' 2021-08-16 10:07:17 +02:00
mafiesto4 96ae4d4583 Merge branch 'string-functions-semantics' of git://github.com/Zbyl/FlaxEngine into Zbyl-string-functions-semantics 2021-08-16 10:06:56 +02:00
mafiesto4 6d21e2f413 Merge branch 'Zbyl-removed-unnecessary-null-terminator' 2021-08-16 09:54:51 +02:00
mafiesto4 442c0113ea Merge branch 'removed-unnecessary-null-terminator' of git://github.com/Zbyl/FlaxEngine into Zbyl-removed-unnecessary-null-terminator 2021-08-16 09:54:40 +02:00
mafiesto4 9c16cdd2d1 Merge branch 'ScottLongley-feature-looking-at' 2021-08-16 09:53:35 +02:00
mafiesto4 bc3eebdc71 Merge branch 'feature-looking-at' of git://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-looking-at 2021-08-16 09:52:52 +02:00
mafiesto4 f2d235bc74 Fix Custom Editor UI regression
3cf3f58db1
2021-08-16 09:48:31 +02:00
Zbigniew Skowron b5f7c96c80 Removed unnecessary NULL terminator in RunBuildTool() to fix #402: "Copying new log after clearing partially fails" 2021-08-15 22:12:46 +02:00
Zbigniew Skowron 49524d7418 Fixed bugs in String and StringView functions (Replace, Compare, etc.). 2021-08-15 21:29:24 +02:00
Zbigniew Skowron 741714cd61 Simplified catch2.Build.cs. 2021-08-15 21:29:23 +02:00
Zbigniew Skowron 7593f9c4c4 Simplified FlaxNativeTests. 2021-08-15 20:33:00 +02:00
Zbigniew Skowron 17f0be4ad2 Added FlaxNativeTests target, with initial suite of tests for String and StingView. 2021-08-15 20:32:59 +02:00
Zbigniew Skowron def293f88b Added Catch2 library for native unit tests. 2021-08-15 20:32:58 +02:00
Zbigniew Skowron 294a4d5477 Added LinkEnvironment.LinkAsConsoleProgram flag. 2021-08-15 20:32:58 +02:00
ScottLongley 6376b83327 Add LookingAt to Actor 2021-08-15 19:48:12 +10:00
mafiesto4 775e8df752 Fix compilation 2021-08-13 15:57:10 +02:00
mafiesto4 487e04e811 Merge branch 'Zbyl-fixing-strigview-gettext-uses' 2021-08-13 14:11:28 +02:00
mafiesto4 151f551bc9 Merge branch 'fixing-strigview-gettext-uses' of git://github.com/Zbyl/FlaxEngine into Zbyl-fixing-strigview-gettext-uses 2021-08-13 13:57:02 +02:00
mafiesto4 2b0b45d2fb Merge branch 'jb-perrier-math-double' 2021-08-13 13:48:35 +02:00
mafiesto4 3c2227dfda Merge branch 'math-double' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-math-double 2021-08-13 13:48:25 +02:00
mafiesto4 2e18db7bb8 Reenable memory allocations profiling in Editor with Tracy 2021-08-13 13:44:48 +02:00
mafiesto4 bc634e9d37 Refactor Tracy source locations to be static
#597
2021-08-13 13:44:29 +02:00
mafiesto4 7fc144b07b Fix some memory leaks 2021-08-13 13:13:12 +02:00
mafiesto4 af22c7e96f Refactor DownloadIndexBuffer to return unsigned data 2021-08-13 10:06:29 +02:00
mafiesto4 f44e5fb2fe Add support for uint as triangle indices for mesh updates API 2021-08-13 10:04:44 +02:00
mafiesto4 4984ba1bb3 Add CookCollision to collision data with triangles as int32 2021-08-13 09:58:57 +02:00
Jean-Baptiste Perrier 284baed1e3 Merge branch 'master' of https://github.com/FlaxEngine/FlaxEngine into double-vectors 2021-08-12 20:49:10 +02:00
Jean-Baptiste Perrier 8f56f7fdfe Merge branch 'math-double' of https://github.com/jb-perrier/FlaxEngine into double-vectors 2021-08-12 20:49:00 +02:00
Jean-Baptiste Perrier 2d9627df33 Tweak docs 2021-08-12 19:00:41 +02:00
mafiesto4 8074bb2fbe Add SuspensionForceOffset to vehicle wheel config 2021-08-12 18:21:46 +02:00
Jean-Baptiste Perrier 8dc864d22f Add Double2 vector implementation 2021-08-12 15:21:11 +02:00
Jean-Baptiste Perrier 2948bfbed0 Backward compatibility (Mathd -> Math), fix and remove warnings. 2021-08-12 14:15:26 +02:00
mafiesto4 6e800ad7bb Increase fog properties limits 2021-08-12 14:04:52 +02:00
mafiesto4 c3b9f61b9f Fix snap to the ground to use scene graph query instead of physics only raycast 2021-08-12 13:59:30 +02:00
Jean-Baptiste Perrier ed6f857ff3 Merge branch 'master' of https://github.com/FlaxEngine/FlaxEngine into math-double 2021-08-12 13:51:19 +02:00
Jean-Baptiste Perrier 2c30f48900 Tweak 2021-08-12 13:51:06 +02:00
Jean-Baptiste Perrier 69aac09be8 Add Mathd.cs implementation 2021-08-12 13:50:34 +02:00
Jean-Baptiste Perrier b91800ad9d Use Mathd for double operation in Variant 2021-08-12 13:50:09 +02:00
Jean-Baptiste Perrier 2799136ccb Remove Double operation from Math.h 2021-08-12 13:49:47 +02:00
Jean-Baptiste Perrier 328027300d Add Mathd implementation. 2021-08-12 13:49:21 +02:00
Jean-Baptiste Perrier 3aecbd75a3 Remove unused include. 2021-08-12 13:48:45 +02:00
mafiesto4 98c43dba42 Fix window focus issue when removing actors 2021-08-12 12:51:20 +02:00
mafiesto4 299d0493b9 Optimize single undo edit action to not use wrapper 2021-08-12 11:48:52 +02:00
mafiesto4 70c729b171 Fix LocalizedString undo bug 2021-08-12 11:48:51 +02:00
mafiesto4 3cf3f58db1 Fix UI with list of null items when layout gets rebuilt at item level 2021-08-12 11:48:51 +02:00
mafiesto4 916c2733f0 Fix some problems with LocalizedString serialization in C# 2021-08-12 11:48:50 +02:00
mafiesto4 921e716715 Add safe lock 2021-08-11 19:38:26 +02:00
mafiesto4 d65a85e30c Add check to prevent double-free from native event in C# 2021-08-11 19:28:53 +02:00
mafiesto4 622951c6be Remove insecure autoInitialize option from scenes loading 2021-08-11 18:55:33 +02:00
mafiesto4 799c4a4f17 Remove whitespaces 2021-08-10 19:33:55 +02:00
mafiesto4 a497ef9d6f Fix timeline background stops drawing to be ore readable
#519
2021-08-10 17:35:27 +02:00
mafiesto4 125d1aa08c Add Zoom value box to timeline view context menu 2021-08-10 17:27:44 +02:00
mafiesto4 9a522615e5 Add support for changing scenes via Editor during play mode 2021-08-10 16:32:24 +02:00
mafiesto4 3115643397 Add option to Scene context menu to unload it 2021-08-10 16:32:00 +02:00
mafiesto4 27f2856e6d Optimize FindObject and TryFindObject in Object 2021-08-10 15:57:22 +02:00
mafiesto4 62c43f9f95 Add helper tooltips for Scene Animation actions UI 2021-08-10 13:54:22 +02:00
mafiesto4 c1b2fc19c1 Add better timeline UI positioning for improved viewport navigation 2021-08-10 13:29:42 +02:00
mafiesto4 94b4c20b35 Add timeline view panning with right mouse button 2021-08-10 13:29:12 +02:00
Zbigniew Skowron bd70e53806 Fixed StringView::GetText() related issued pointed out in review. 2021-08-09 22:21:38 +02:00
mafiesto4 e4bd5c7251 Add Engine.HasGameViewportFocus to C# API 2021-08-09 15:24:39 +02:00
mafiesto4 64813c1c70 Add caching ShowGUI and ShowDebugDraw in Game window 2021-08-09 15:22:29 +02:00
mafiesto4 623f981bc1 Fix car wheel location by applying compression of the suspension spring 2021-08-09 15:22:10 +02:00
mafiesto4 09c11250b4 Add options for vehicle wheel suspension configuration and state 2021-08-09 14:35:22 +02:00
mafiesto4 fd01d37002 Add helper parent actor of missing object logging to HandleObjectDeserializationError 2021-08-09 12:12:56 +02:00
mafiesto4 f68321c9f5 Fix pasting actors if cannot spawn a object (eg. type missing) to still paste valid objects 2021-08-09 12:12:32 +02:00
mafiesto4 9a590ae484 Fix actor renaming on paste to keep previous name if can 2021-08-09 11:59:08 +02:00
Zbigniew Skowron aecc81f5e5 Fixed many invalid uses of StringView::GetText(), where a null-terminated string was required.
Renamed GetText() to GetNonTerminatedText() to reduce chance of same bugs appearing in the future.
2021-08-09 00:29:19 +02:00
honzapatCZ c17d86a134 removal of old XboxOneStuff 2021-07-21 15:10:39 +02:00
3841 changed files with 151114 additions and 44780 deletions
+39
View File
@@ -0,0 +1,39 @@
name: Install Vulkan SDK
description: Downloads and installs Vulkan SDK.
inputs:
vulkan-version:
description: 'Vulkan SDK release version (e.g. 1.2.198.1).'
default: '1.2.198.1'
required: false
runs:
using: "composite"
steps:
- name: Install Vulkan SDK
shell: bash
run: |
export VULKAN_SDK_VER=${{ inputs.vulkan-version }}
echo VULKAN_SDK_VER=$VULKAN_SDK_VER >> $GITHUB_ENV
echo "Downloading Vulkan SDK version $VULKAN_SDK_VER"
case `uname -s` in
Linux)
export VULKAN_SDK_ROOT=`pwd`/../VulkanSDK
wget "https://sdk.lunarg.com/sdk/download/$VULKAN_SDK_VER/linux/vulkan-sdk.tar.gz" --no-verbose -O vulkan-sdk.tar.gz
mkdir $VULKAN_SDK_ROOT
tar -xf vulkan-sdk.tar.gz -C $VULKAN_SDK_ROOT
export VULKAN_SDK=$VULKAN_SDK_ROOT/$VULKAN_SDK_VER/x86_64
;;
Darwin)
export VULKAN_SDK_ROOT=`pwd`/../VulkanSDK
curl -LO "https://sdk.lunarg.com/sdk/download/$VULKAN_SDK_VER/mac/vulkan-sdk.dmg"
hdiutil attach vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
sudo "/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan" --root $VULKAN_SDK_ROOT --accept-licenses --default-answer --confirm-command install
export VULKAN_SDK=$VULKAN_SDK_ROOT/macOS
;;
*) # Windows
curl -L -o vulkan-sdk.exe https://sdk.lunarg.com/sdk/download/$VULKAN_SDK_VER/windows/VulkanSDK-$VULKAN_SDK_VER-Installer.exe
./vulkan-sdk.exe --root "C:\VulkanSDK" --accept-licenses --default-answer --confirm-command install
export VULKAN_SDK="C:\VulkanSDK"
;;
esac
echo VULKAN_SDK=$VULKAN_SDK >> $GITHUB_ENV
echo "Vulkan SDK installed to $VULKAN_SDK"
+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@v2
- 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
+10 -6
View File
@@ -10,16 +10,18 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Install dependencies
run: |
sudo rm -f /etc/apt/sources.list.d/*
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxEditor
@@ -29,11 +31,13 @@ jobs:
name: Game (Linux, Release x64)
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
+38
View File
@@ -0,0 +1,38 @@
name: Build macOS
on: [push, pull_request]
jobs:
# Editor
editor-mac:
name: Editor (Mac, Development x64)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
./Development/Scripts/Mac/CallBuildTool.sh -build -log -arch=x64 -platform=Mac -configuration=Development -buildtargets=FlaxEditor
# Game
game-mac:
name: Game (Mac, Release x64)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
./Development/Scripts/Mac/CallBuildTool.sh -build -log -arch=x64 -platform=Mac -configuration=Release -buildtargets=FlaxGame
+6 -2
View File
@@ -6,10 +6,12 @@ jobs:
# Editor
editor-windows:
name: Editor (Windows, Development x64)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
@@ -21,10 +23,12 @@ jobs:
# Game
game-windows:
name: Game (Windows, Release x64)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Checkout LFS
run: |
git lfs version
+52 -2
View File
@@ -9,7 +9,7 @@ jobs:
# Windows
package-windows-editor:
name: Editor (Windows)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
@@ -17,6 +17,8 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output
@@ -32,7 +34,7 @@ jobs:
path: Output/EditorDebugSymbols.zip
package-windows-game:
name: Game (Windows)
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@v2
@@ -40,6 +42,8 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output
@@ -66,6 +70,8 @@ jobs:
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackageEditor.sh -arch=x64 -platform=Linux -deployOutput=Output
@@ -90,6 +96,8 @@ jobs:
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackagePlatforms.sh -arch=x64 -platform=Linux -deployOutput=Output
@@ -98,3 +106,45 @@ jobs:
with:
name: Linux-Game
path: Output/Linux.zip
# Mac
package-mac-editor:
name: Editor (Mac)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackageEditor.command -arch=x64 -platform=Mac -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Mac-Editor
path: Output/FlaxEditorMac.zip
package-mac-game:
name: Game (Mac)
runs-on: "macos-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Setup Vulkan
uses: ./.github/actions/vulkan
- name: Build
run: |
./PackagePlatforms.command -arch=x64 -platform=Mac -deployOutput=Output
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Mac-Game
path: Output/Mac.zip
+38
View File
@@ -0,0 +1,38 @@
name: Tests
on: [push, pull_request]
jobs:
# Tests
tests-linux:
name: Tests (Linux)
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Install dependencies
run: |
sudo rm -f /etc/apt/sources.list.d/*
sudo cp -f .github/workflows/build_linux_sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libx11-dev libxcursor-dev libxinerama-dev build-essential gettext libtool libtool-bin libpulse-dev libasound2-dev libjack-dev portaudio19-dev
- name: Build
run: |
./GenerateProjectFiles.sh -vs2019
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxTestsTarget
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets=FlaxEditor -BuildBindingsOnly
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets="FlaxEngine.Tests"
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets="Flax.Build.Tests"
- name: Test
run: |
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
+5
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
@@ -19,6 +21,8 @@ Source/*.csproj
*.tlog
*.lastbuilddate
*.opendb
*.DS_Store
*.xcodeproj
# NUNIT
*.VisualState.xml
@@ -146,5 +150,6 @@ bin/
obj/
*.vcxproj.filters
.vscode/
.idea/
*.code-workspace
+6
View File
@@ -38,6 +38,12 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Contribution
Using Flax source code is strictly governed by the Flax Engine End User License Agreement. If you don't agree to those terms, as amended from time to time, you are not permitted to access or use Flax Engine.
We welcome any contributions to Flax Engine development through pull requests on GitHub. Most of our active development is in the master branch, so we prefer to take pull requests there (particularly for new features). We try to make sure that all new code adheres to the Flax coding standards. All contributions are governed by the terms of the [EULA](https://flaxengine.com/licensing/).
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
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.
@@ -374,4 +374,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
@@ -25,7 +25,7 @@ void PS_GBuffer(
#endif
)
{
Light = 0;
Light = float4(0, 0, 0, 1);
#if USE_DITHERED_LOD_TRANSITION
// LOD masking
@@ -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"
@@ -93,9 +97,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)
@@ -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
@@ -76,8 +76,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 +94,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;
};
@@ -694,4 +694,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
@@ -14,6 +14,8 @@ float4x4 WorldMatrix;
float4x4 ViewMatrix;
float4x4 PrevViewProjectionMatrix;
float4x4 PrevWorldMatrix;
float4x4 MainViewProjectionMatrix;
float4 MainScreenSize;
float3 ViewPos;
float ViewFar;
float3 ViewDir;
@@ -43,8 +45,8 @@ 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;
};
@@ -594,7 +596,7 @@ void ClipLODTransition(PixelInput input)
// Pixel Shader function for Depth Pass
META_PS(true, FEATURE_LEVEL_ES2)
void PS_Depth(PixelInput input)
{
{
#if USE_DITHERED_LOD_TRANSITION
// LOD masking
ClipLODTransition(input);
@@ -615,4 +617,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
@@ -458,4 +458,18 @@ void PS_Depth(PixelInput input)
#endif
}
#if _PS_QuadOverdraw
#include "./Flax/Editor/QuadOverdraw.hlsl"
// Pixel Shader function for Quad Overdraw Pass (editor-only)
[earlydepthstencil]
META_PS(USE_EDITOR, FEATURE_LEVEL_SM5)
void PS_QuadOverdraw(float4 svPos : SV_Position, uint primId : SV_PrimitiveID)
{
DoQuadOverdraw(svPos, primId);
}
#endif
@9
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.
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
View File
@@ -2,6 +2,8 @@
Custom fork: [https://github.com/FlaxEngine/mono](https://github.com/FlaxEngine/mono) with custom features for C# assemblies hot-reloading at runtime without domain unload (more: [https://flaxengine.com/blog/flax-facts-16-scripts-hot-reload/](https://flaxengine.com/blog/flax-facts-16-scripts-hot-reload/)).
Startup docs about building mono: [https://www.mono-project.com/docs/compiling-mono/](https://www.mono-project.com/docs/compiling-mono/)
### Notes
Some useful notes and tips for devs:

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