Commit Graph

6730 Commits

Author SHA1 Message Date
mafiesto4 9fc31b1021 Run Web main loop at vsync to avoid browser throttling
This could be customized in future (depending on VSync usage).
2026-02-20 23:51:05 +01:00
mafiesto4 366a5162b7 DIsable screensaver blocking via SDL in Editor 2026-02-20 23:50:13 +01:00
mafiesto4 6fd58c418e Fixes and updates to graphics api 2026-02-20 23:49:49 +01:00
mafiesto4 08d9ae0ae6 Add callstack capturing on Web platform 2026-02-20 23:47:30 +01:00
mafiesto4 27eb53e1a1 Fix web window to maintain canvas size on start 2026-02-20 23:47:01 +01:00
mafiesto4 31b5685251 Add GPU_ENABLE_PRELOADING_RESOURCES and use it on Web/Android/iOS to reduce engine resources preloading 2026-02-20 23:45:56 +01:00
mafiesto4 5b3079acde Fix texture GPU resource debug name in non-Release game builds to match the path in project 2026-02-20 23:43:29 +01:00
mafiesto4 1982694ef0 Fix Release build for Web 2026-02-17 19:07:43 +01:00
mafiesto4 8b475e9f54 Restore profiler for Web for engine stats in non-Release builds 2026-02-17 18:50:24 +01:00
mafiesto4 2b546eb4b3 Add OpenAL audio to Web 2026-02-17 18:43:52 +01:00
mafiesto4 69cefb6822 Fix miliseconds in date on Emscripten and skip SDL create process (unsupported) 2026-02-17 15:07:42 +01:00
mafiesto4 9772227146 Add shared libraries support for Web to load game module (C++) 2026-02-17 15:07:11 +01:00
mafiesto4 34bddc7db1 Minor fix 2026-02-17 13:43:54 +01:00
mafiesto4 6e7a7c9350 Fix Screen.CursorLock in Editor to skip when viewport is unfocused 2026-02-17 11:46:20 +01:00
mafiesto4 2a9c6bbd1d Refactor engine main loop to allow external stepping in Web 2026-02-16 22:32:02 +01:00
mafiesto4 0835a6559c Fix Web build issues 2026-02-16 21:31:12 +01:00
mafiesto4 489c4a3661 Add packaging game files and bundling them into final Web app 2026-02-16 17:41:43 +01:00
mafiesto4 43dca143fa Add env vars impl to Web platform 2026-02-16 16:11:12 +01:00
mafiesto4 6bd13feba6 Add various fixes 2026-02-16 16:11:00 +01:00
mafiesto4 d1557e5292 Add support for running engine with a single-thread only (content, jobs, drawing, physics) 2026-02-16 16:10:31 +01:00
mafiesto4 4ccf969f7a Add various fixes for Web 2026-02-16 11:59:44 +01:00
mafiesto4 3d206e06d0 Fix ThreadLocal when thread count limit is low on a target platform or if it's only main-thread 2026-02-16 11:59:12 +01:00
mafiesto4 25e90deed6 Fix Web (and consoles) to run without exceptions throw/catch support 2026-02-16 11:50:52 +01:00
mafiesto4 7bc687194f Fix Web to run without dotnet 2026-02-16 11:49:34 +01:00
mafiesto4 8a760dc1e2 Fix typo 2026-02-14 00:07:41 +01:00
mafiesto4 fc0b885a14 Fix missing Length in Vector4 2026-02-14 00:07:34 +01:00
mafiesto4 f12ad5c874 Add **Web platform with Emscripten** 2026-02-14 00:07:21 +01:00
mafiesto4 fd0584b406 Fix build regression from 865a26cbbe 2026-02-12 22:03:13 +01:00
mafiesto4 865a26cbbe Remove deprecated CommonValue
Deprecated on 31th July 2020
2026-02-12 18:26:08 +01:00
mafiesto4 1df608e902 Remove deprecated NetworkDriverType 2026-02-12 16:43:01 +01:00
mafiesto4 2a6e38e020 Fix Editor floating windows to have link to the main window while still be in taskbar
#2800
2026-02-12 16:23:42 +01:00
mafiesto4 cc69e5d966 Minor fixes 2026-02-12 16:22:51 +01:00
mafiesto4 d68969dbe2 Move SupportsNativeDecorations/SupportsNativeDecorationDragging to SDLPlatform
#2800
2026-02-12 09:24:48 +01:00
mafiesto4 c4d20f06ee Move GetDisplayServer to LinuxPlatform (add support for custom platform scripting api)
#2800
2026-02-12 09:24:11 +01:00
mafiesto4 d4a7b3074e Fix old windows code to use new window type
#2800
2026-02-11 23:29:13 +01:00
mafiesto4 a3492e59ef Use CreateWindow/GetBatteryInfo/GetUserLocaleName from Windows instead of SDL for now
#2800
2026-02-11 23:28:44 +01:00
mafiesto4 515ad56fa2 Silence warning in game builds 2026-02-11 18:06:07 +01:00
mafiesto4 ebd20dd816 Fix Android compilation since .c files are now compiled 2026-02-11 18:05:56 +01:00
mafiesto4 019a9f6089 Merge ScreenUtilities into Platform for simplicity and make it Editor-only
#2800
2026-02-11 17:59:11 +01:00
mafiesto4 273b110db4 Code style formatting and minor tweaks
#2800
2026-02-11 17:15:15 +01:00
mafiesto4 ee22b9dc25 Merge branch 'sdl_platform' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-sdl_platform
# Conflicts:
#	Source/Editor/GUI/Dialogs/ColorPickerDialog.cs
#	Source/Editor/Modules/UIModule.cs
2026-02-11 14:08:57 +01:00
mafiesto4 a1096aaf92 Fix crash when MultiScaler shader is not yet loaded on first frame 2026-02-11 13:32:41 +01:00
mafiesto4 f045b5b6b6 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Editor/Camera/M_Camera.flax
#	Content/Editor/CubeTexturePreviewMaterial.flax
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Content/Editor/DebugMaterials/SingleColor/Decal.flax
#	Content/Editor/DebugMaterials/SingleColor/Particle.flax
#	Content/Editor/DebugMaterials/SingleColor/Surface.flax
#	Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
#	Content/Editor/DebugMaterials/SingleColor/Terrain.flax
#	Content/Editor/DefaultFontMaterial.flax
#	Content/Editor/Gizmo/FoliageBrushMaterial.flax
#	Content/Editor/Gizmo/Material.flax
#	Content/Editor/Gizmo/MaterialWire.flax
#	Content/Editor/Gizmo/SelectionOutlineMaterial.flax
#	Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
#	Content/Editor/Highlight Material.flax
#	Content/Editor/Icons/IconsMaterial.flax
#	Content/Editor/IesProfilePreviewMaterial.flax
#	Content/Editor/MaterialTemplates/Features/ForwardShading.hlsl
#	Content/Editor/Particles/Particle Material Color.flax
#	Content/Editor/Particles/Smoke Material.flax
#	Content/Editor/SpriteMaterial.flax
#	Content/Editor/Terrain/Circle Brush Material.flax
#	Content/Editor/Terrain/Highlight Terrain Material.flax
#	Content/Editor/TexturePreviewMaterial.flax
#	Content/Editor/Wires Debug Material.flax
#	Content/Engine/DefaultDeformableMaterial.flax
#	Content/Engine/DefaultMaterial.flax
#	Content/Engine/DefaultRadialMenu.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Flax.flaxproj
#	Source/Engine/Graphics/Materials/MaterialShader.h
#	Source/Engine/Graphics/Materials/MaterialShaderFeatures.cpp
#	Source/Engine/Renderer/RenderList.h
#	Source/Shaders/Reflections.shader
#	Source/Shaders/ReflectionsCommon.hlsl
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2026-02-11 00:20:38 +01:00
mafiesto4 ef551c36ae Fix Forward shading to match Deferred in fog and reflections rendering
#3717
2026-02-11 00:06:44 +01:00
Ari Vuollet 0084bc051c Merge branch 'master' into sdl_platform 2026-02-10 23:05:19 +02:00
mafiesto4 6d02f5d9da Merge branch 'network-replication-fix-1' of https://github.com/Menotdan/FlaxEngine into Menotdan-network-replication-fix-1 2026-02-10 15:50:01 +01:00
mafiesto4 1f9f281c31 Fix regression from 7b7a92758f for Visual Scripts 2026-02-10 15:02:05 +01:00
mafiesto4 55f73b6cf7 Optimize Animated Models bones updating with a batches memory pass and manual resource transitions batch
#3917 #3827
2026-02-09 23:03:25 +01:00
mafiesto4 0f6c1aea62 Fix various material nodes to work on D3D12 2026-02-09 18:40:39 +01:00
mafiesto4 d2ee61ef8d Fix GetNodesPose issue when 2 threads call it at once 2026-02-09 18:06:57 +01:00