Commit Graph

179 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 d2cdb85678 Fix reference on font asset unload 28ea7f134d
#4059
2026-04-18 23:51:56 +02:00
fibref 28ea7f134d fix fallback font broken when using MSDF 2026-04-18 23:50:21 +02: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 88587fb6a4 Add utility function to GUICommon.hlsl for MSDF fonts sampling in shaders
#3944
2026-03-12 20:24:03 +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 1cf69361a1 fix MSDF font alignment 2026-02-28 10:13:03 +08:00
fibref 0f49503abd add native MSDF font support for Render2D 2026-02-19 15:41:48 +08:00
fibref be4e1edc3e fix flipped color of MSDF fonts 2026-02-19 15:12:25 +08:00
fibref 0612b923e1 fix msdf font layout issue 2026-02-16 19:52:12 +08:00
fibref 75a1b14beb initial support for MSDF font 2026-02-14 22:12:26 +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
fibref 3cef8cfd61 Merge branch 'FlaxEngine:master' into flax-msdf-font 2025-10-26 14:37:20 +08:00
mafiesto4 d426c5b0d9 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Source/Engine/Physics/Colliders/Collider.h
2025-10-11 00:16:10 +02:00
mafiesto4 deb2ad7c8f Fix font hit test on multi-line text past the line end character
#3503
2025-10-08 16:36:34 +02:00
frank 18a0e8d612 add msdfgen for windows 2025-10-07 16:15:07 +08: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 5d3da8a8d0 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/SceneGraph/Actors/StaticModelNode.cs
#	Source/Engine/Graphics/Models/Mesh.cs
#	Source/Engine/Graphics/Models/ModelData.h
2025-03-13 11:23:01 +01:00
xxSeys1 862c2db11a fix some typos 2025-03-11 21:18:23 +01:00
mafiesto4 1e2e613a78 Fix rich textbox carret placement regressions
#3118 #2964
2025-03-08 23:49: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 8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +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 668f3fa68d Update read and write streaming api to use the newest format 2024-12-29 23:00:40 +01:00
mafiesto4 8eaa906e0c Remove some redundant code 2024-12-18 18:39:58 +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
Tryibion 7b9da3786d Fix carrot position when no text but text alignment 2024-09-23 15:57:21 -05: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 d9aa123bce Add custom grid snapping value for translation
#1823
2024-09-20 18:33:08 +02:00
mafiesto4 262c536d7f Fix Label auto sizing to be relative to pivot and sync layout when editing
#2496
2024-09-18 22:21:56 +02:00
mafiesto4 f7f4c15e82 Fix TextBox caret and selection when using text alignment options
#2653
2024-09-18 12:00:41 +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 559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00