Commit Graph

85 Commits

Author SHA1 Message Date
mafiesto4 1915aa3c06 Merge remote-tracking branch 'origin/master' into 1.13
# Conflicts:
#	Content/Shaders/DepthOfField.flax
#	Source/Engine/Content/Asset.cpp
2026-06-30 10:06:55 +02:00
mafiesto4 11a226952c Update graphics API 2026-06-24 23:32:16 +02:00
luchu1993 c7468ffe54 Fix Render2D line thickness scaling
Use transformed 2D basis vector lengths instead of diagonal matrix entries when scaling line thickness. This keeps Render2D.DrawLine and rectangle outlines stable under rotation while preserving scale transforms.

Fixes #4140.
2026-06-20 00:25:56 +08:00
mafiesto4 3baec506e2 Optimize various initial pre-allocs to happen within memory tracing 2026-03-23 18:25:05 +01:00
mafiesto4 45a8d82a83 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GUI.flax
#	Flax.flaxproj
#	Source/Editor/Windows/AboutDialog.cs
#	Source/Engine/Serialization/Stream.cpp
#	Source/Shaders/GUICommon.hlsl
2026-03-13 08:09:16 +01:00
mafiesto4 d784fddf95 Code style cleanup for #3944 2026-03-12 17:22:43 +01:00
mafiesto4 fc7abbf541 Merge branch 'flax-msdf-font' of https://github.com/fibref/FlaxEngine into fibref-flax-msdf-font 2026-03-12 16:25:55 +01:00
mafiesto4 7fa40eba83 Fix Render2D.DrawRectangle to avoid alpha overdraw on the corners when thickness is large 2026-03-12 10:10:47 +01:00
fibref 0f49503abd add native MSDF font support for Render2D 2026-02-19 15:41:48 +08:00
mafiesto4 223d4f64eb Add GammaColorSpace to Graphics for simplicity 2026-01-12 18:49:10 +01:00
mafiesto4 b834dddb11 **Refactor sRGB import option on textures** to actually handle image contents with gamma 2026-01-12 15:50:24 +01:00
mafiesto4 f1c4fd464a Optimize GPU textures and buffers uploads with a batched memory barrier 2025-09-03 22:11:26 +02:00
mafiesto4 c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
Ari Vuollet 559d17e6c3 Reduce allocations in text rendering related functions 2025-05-04 15:05:46 +03:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 7e145c56fd Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/Windows/Profiler/Memory.cs
2025-03-25 13:37:15 +01:00
mafiesto4 68967de1f5 Fix custom GUI material writing depth when it's not needed
#3294
2025-03-18 10:57:12 +01:00
mafiesto4 2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
mafiesto4 afc4158dd3 Fix sprite and texture 9-slice rendering brush to properly calculate border size 2025-02-24 14:19:51 +01:00
mafiesto4 addc6d5216 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Content/Editor/Gizmo/Material.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Source/Editor/Windows/Assets/ModelWindow.cs
#	Source/Editor/Windows/Assets/SkinnedModelWindow.cs
#	Source/Engine/Core/Types/Variant.cpp
2025-01-13 18:07:54 +01:00
mafiesto4 7ac2376231 Simplify code 2025-01-12 23:57:52 +01:00
mafiesto4 b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
mafiesto4 09414f9002 Add blend space drawing in Multi Blend 2D editor
#1980
2024-12-10 10:42:40 +01:00
mafiesto4 57628c3d5f Refactor Bezier splines drawing and editing to property evaluate value and match curve evaluation
#3051
2024-12-02 19:10:28 +01:00
mafiesto4 18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
mafiesto4 6113af2dc1 Fix custom 2D clipping mask to properly inherit parent container clip mask
2371
2024-09-15 23:57:52 +02:00
mafiesto4 a18565fd61 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-23 00:05:00 +02:00
mafiesto4 23f60da40d Fix various code issues found using PVS-Studio 2024-08-22 20:24:52 +02:00
mafiesto4 e0028d5f94 Merge remote-tracking branch 'origin/master' into 1.9 2024-06-17 21:53:49 +02:00
Tryibion 488485e23e Fix borders not tinting. 2024-06-14 14:06:49 -05:00
mafiesto4 1e86eff2d3 Improve GPU constant buffers structures definitions to properly align on new Clang 2024-06-02 09:52:10 +02:00
mafiesto4 206ff89587 Add constant buffers alignment for data structures (16-byte boundaries) 2024-05-23 13:58:46 +02:00
GoaLitiuM 97454fc82e Fix drawing an extra character with Render2D.DrawText 2024-05-07 20:10:05 +03:00
mafiesto4 261faad93e Fix incorrect View Size for 2d character font material 2024-04-17 16:41:19 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 a2b8312fba Cleanup stuff in #2019 2024-02-18 19:48:43 +01:00
ExMatics HydrogenC 23b71e7d3e Make font fallbacking the default option 2023-12-03 15:11:47 +08:00
ExMatics HydrogenC 29eb3954c5 Create global settings for font fallback 2023-12-02 17:48:51 +08:00
ExMatics HydrogenC d3840bb1f3 Refractor C++ code structure 2023-11-30 16:25:32 +08:00
ExMatics HydrogenC 41bbce56f6 Add multifont rendering to editor 2023-11-30 13:41:45 +08:00
ExMatics HydrogenC a3bc394e4e Fix a bunch of rendering bugs 2023-11-29 15:04:29 +08:00
ExMatics HydrogenC 47a25c7828 Add font fallback
Note: All the `First()` in the code are temperary workarounds to make it work and require refractoring
2023-11-28 07:17:46 +08:00
mafiesto4 c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
mafiesto4 a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
mafiesto4 98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
mafiesto4 044e141848 Add Render2D.DrawTexturedTriangles with index buffer 2022-10-25 15:06:52 +02:00
mafiesto4 4c280ef015 Fix drawing single character text format 2022-08-04 14:42:52 +02:00
mafiesto4 7c923198e0 Minor tweaks to #716 2022-06-14 19:56:58 +02:00