Compare commits

...

643 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 07760f7acd Add DynamicStructuredBuffer utility 2022-02-27 13:32:05 +01:00
mafiesto4 748b857e57 Add ability to use ModelTool module in game build 2022-02-27 13:31:32 +01:00
mafiesto4 8271a2b718 Add MeshAccelerationStructure utility for robust triangles geometry queries 2022-02-27 13:29:58 +01:00
mafiesto4 3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +01:00
mafiesto4 8c075c78cb Add LineHitBox to Collisions.hlsl 2022-02-21 20:15:07 +01:00
mafiesto4 8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
Scott Longley 1fa06546f4 add CursorLockMode.Clipped 2022-02-18 22:44:16 +10:00
Scott Longley 749895f2ca typo fixes 2022-02-18 21:58:46 +10:00
Scott Longley 8db4c3cfff Add ClipCursor (Windows only) 2022-02-18 21:14:08 +10:00
mafiesto4 5d4c168e1e Add Vector3::Clamp for easier inline in optimized builds 2022-02-15 12:14:31 +01:00
mafiesto4 a857e6daa0 Fix memory leak in RenderTargetPool on texture init fail 2022-02-15 12:14:02 +01:00
mafiesto4 6b3e911b40 Remove old log for drag&drop on Windows 2022-02-14 14:37:22 +01:00
mafiesto4 311b95b9fc Add support for using mipmaps with 3D textures 2022-02-14 14:37:04 +01:00
mafiesto4 7979831f5c Add JobSystem.Execute utility for quick jobs running 2022-02-14 14:34:43 +01:00
mafiesto4 9dc49f7165 Optimize Vector3 method to be inlined more often 2022-02-14 11:46:48 +01:00
mafiesto4 788b1a7531 Add Distance to box/point for Bounding Box 2022-02-14 10:15:38 +01:00
mafiesto4 79cacbf36e Add GetNormal to Triangle 2022-02-14 10:15:05 +01:00
mafiesto4 1168176016 Optimize texture data async upload during rendering 2022-02-09 10:01:21 +01:00
mafiesto4 9a4aa20bbb Add Windows 11 detection 2022-02-09 09:23:44 +01:00
mafiesto4 88879e441e Add some missing changes 2022-02-08 18:06:56 +01:00
mafiesto4 70ca42794a Add ClearUA to GPUContext to clear texture with float values 2022-02-08 18:06:02 +01:00
mafiesto4 9a3a6c8a72 Fix depth pitch in UpdateTexture on D3D11 for volume textures 2022-02-08 18:05:20 +01:00
mafiesto4 f67371d524 Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 18:04:44 +01:00
mafiesto4 7e2e764e1e Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 17:56:45 +01:00
1494 changed files with 56008 additions and 30849 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Build Android
on: [push, pull_request]
jobs:
# Game
game-windows:
name: Game (Android, Release ARM64)
runs-on: "windows-2019"
steps:
- name: Checkout repo
uses: actions/checkout@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
+5 -1
View File
@@ -29,6 +29,10 @@ jobs:
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Debug -buildtargets="Flax.Build.Tests"
- name: Test
run: |
Binaries/Tests/Linux/x64/Development/FlaxTests
Binaries/Editor/Linux/Development/FlaxTests
mono Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tools/FlaxEngine.Tests.dll --framework=mono-4.0
mono Source/Platforms/DotNet/NUnit/nunit3-console.exe Binaries/Tools/Flax.Build.Tests.dll --framework=mono-4.0
- name: Test UseLargeWorlds
run: |
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Development -buildtargets=FlaxTestsTarget -UseLargeWorlds=true
Binaries/Editor/Linux/Development/FlaxTests
+3
View File
@@ -10,6 +10,8 @@ Source/*.csproj
/Package_*/
!Source/Engine/Debug
/Source/Platforms/Editor/Linux/Mono/etc/mono/registry
PackageEditor_Cert.bat
PackagePlatforms_Cert.bat
# User-specific files
*.suo
@@ -148,5 +150,6 @@ bin/
obj/
*.vcxproj.filters
.vscode/
.idea/
*.code-workspace
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.
@@ -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;
};
@@ -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;
};
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:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 KiB

After

Width:  |  Height:  |  Size: 263 KiB

+7 -3
View File
@@ -2,11 +2,15 @@
"Name": "Flax",
"Version": {
"Major": 1,
"Minor": 3,
"Build": 6228
"Minor": 4,
"Build": 6334
},
"Company": "Flax",
"Copyright": "Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.",
"GameTarget": "FlaxGame",
"EditorTarget": "FlaxEditor"
"EditorTarget": "FlaxEditor",
"Configuration": {
"UseCSharp": true,
"UseLargeWorlds": false
}
}
+4
View File
@@ -237,6 +237,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=Ackermann/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=analytics/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Antialiasing/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ascender/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=backbuffer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=backbuffers/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=backends/@EntryIndexedValue">True</s:Boolean>
@@ -254,6 +255,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=comperand/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=coord/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=cubemap/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=defragmentation/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Delaunay/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Defocus/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Deinitialize/@EntryIndexedValue">True</s:Boolean>
@@ -340,6 +342,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=subresource/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=subresources/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=taskbar/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Teleport/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=texcoord/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=texcoords/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=texel/@EntryIndexedValue">True</s:Boolean>
@@ -360,6 +363,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=Upgrader/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=upgraders/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Visject/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=voxel/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=voxels/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=vsync/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=vtable/@EntryIndexedValue">True</s:Boolean>
+1 -1
View File
@@ -18,9 +18,9 @@ This repository contains full source code of the Flax Engine (excluding NDA-prot
# Screenshots
![pbr-rendering](Development/Images/flax-pic-2.jpg "PBR Rendering and Global Illumination")
![rendering](Development/Images/flax-pic-1.jpg "Rendering")
![performance](Development/Images/flax-pic-3.jpg "High Performance")
![pbr-rendering](Development/Images/flax-pic-2.jpg "PBR Rendering")
# Getting started
+5
View File
@@ -18,6 +18,11 @@ indent_size = 4
indent_style = space
indent_size = 4
# Shader files
[*.{hlsl,shader,glsl}]
indent_style = space
indent_size = 4
# XAML files
[*.xaml]
indent_style = space
+1 -1
View File
@@ -73,7 +73,7 @@ void EditorAnalytics::StartSession()
}
if (ScreenResolution.IsEmpty())
{
const Vector2 desktopSize = Platform::GetDesktopSize();
const auto desktopSize = Platform::GetDesktopSize();
ScreenResolution = StringAnsi(StringUtils::ToString((int32)desktopSize.X)) + "x" + StringAnsi(StringUtils::ToString((int32)desktopSize.Y));
}
if (UserLanguage.IsEmpty())
@@ -84,7 +84,7 @@ namespace FlaxEditor.Content.Create
_settingsEditor = new CustomEditorPresenter(null);
_settingsEditor.Panel.Parent = panel;
_dialogSize = new Vector2(TotalWidth, panel.Bottom);
_dialogSize = new Float2(TotalWidth, panel.Bottom);
_settingsEditor.Select(_entry.Settings);
}
@@ -102,7 +102,7 @@ namespace FlaxEditor.Content.Create
{
base.SetupWindowSettings(ref settings);
settings.MinimumSize = new Vector2(300, 400);
settings.MinimumSize = new Float2(300, 400);
settings.HasSizingFrame = true;
}
}
@@ -66,7 +66,7 @@ namespace FlaxEditor.Content.GUI
}
/// <inheritdoc />
public override DragDropEffect OnDragEnter(ref Vector2 location, DragData data)
public override DragDropEffect OnDragEnter(ref Float2 location, DragData data)
{
base.OnDragEnter(ref location, data);
@@ -80,7 +80,7 @@ namespace FlaxEditor.Content.GUI
}
/// <inheritdoc />
public override DragDropEffect OnDragMove(ref Vector2 location, DragData data)
public override DragDropEffect OnDragMove(ref Float2 location, DragData data)
{
base.OnDragMove(ref location, data);
@@ -97,7 +97,7 @@ namespace FlaxEditor.Content.GUI
}
/// <inheritdoc />
public override DragDropEffect OnDragDrop(ref Vector2 location, DragData data)
public override DragDropEffect OnDragDrop(ref Float2 location, DragData data)
{
var result = DragDropEffect.None;
base.OnDragDrop(ref location, data);
@@ -13,7 +13,7 @@ namespace FlaxEditor.Content.GUI
private DragActors _dragActors;
/// <inheritdoc />
public override DragDropEffect OnDragEnter(ref Vector2 location, DragData data)
public override DragDropEffect OnDragEnter(ref Float2 location, DragData data)
{
var result = base.OnDragEnter(ref location, data);
if (result != DragDropEffect.None)
@@ -50,7 +50,7 @@ namespace FlaxEditor.Content.GUI
}
/// <inheritdoc />
public override DragDropEffect OnDragMove(ref Vector2 location, DragData data)
public override DragDropEffect OnDragMove(ref Float2 location, DragData data)
{
_validDragOver = false;
var result = base.OnDragMove(ref location, data);
@@ -72,7 +72,7 @@ namespace FlaxEditor.Content.GUI
}
/// <inheritdoc />
public override DragDropEffect OnDragDrop(ref Vector2 location, DragData data)
public override DragDropEffect OnDragDrop(ref Float2 location, DragData data)
{
var result = base.OnDragDrop(ref location, data);
if (result != DragDropEffect.None)

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