Commit Graph

72 Commits

Author SHA1 Message Date
559d17e6c3 Reduce allocations in text rendering related functions 2025-05-04 15:05:46 +03:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
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
Wojtek Figat
68967de1f5 Fix custom GUI material writing depth when it's not needed
#3294
2025-03-18 10:57:12 +01:00
Wojtek Figat
2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
Wojtek Figat
afc4158dd3 Fix sprite and texture 9-slice rendering brush to properly calculate border size 2025-02-24 14:19:51 +01:00
Wojtek Figat
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
Wojtek Figat
7ac2376231 Simplify code 2025-01-12 23:57:52 +01:00
Wojtek Figat
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
Wojtek Figat
09414f9002 Add blend space drawing in Multi Blend 2D editor
#1980
2024-12-10 10:42:40 +01:00
Wojtek Figat
57628c3d5f Refactor Bezier splines drawing and editing to property evaluate value and match curve evaluation
#3051
2024-12-02 19:10:28 +01:00
Wojtek Figat
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
Wojtek Figat
6113af2dc1 Fix custom 2D clipping mask to properly inherit parent container clip mask
2371
2024-09-15 23:57:52 +02:00
Wojtek Figat
a18565fd61 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-23 00:05:00 +02:00
Wojtek Figat
23f60da40d Fix various code issues found using PVS-Studio 2024-08-22 20:24:52 +02:00
Wojtek Figat
e0028d5f94 Merge remote-tracking branch 'origin/master' into 1.9 2024-06-17 21:53:49 +02:00
Chandler Cox
488485e23e Fix borders not tinting. 2024-06-14 14:06:49 -05:00
Wojtek Figat
1e86eff2d3 Improve GPU constant buffers structures definitions to properly align on new Clang 2024-06-02 09:52:10 +02:00
Wojtek Figat
206ff89587 Add constant buffers alignment for data structures (16-byte boundaries) 2024-05-23 13:58:46 +02:00
97454fc82e Fix drawing an extra character with Render2D.DrawText 2024-05-07 20:10:05 +03:00
Wojtek Figat
261faad93e Fix incorrect View Size for 2d character font material 2024-04-17 16:41:19 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
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
Wojtek Figat
c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
Wojciech Figat
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
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojciech Figat
044e141848 Add Render2D.DrawTexturedTriangles with index buffer 2022-10-25 15:06:52 +02:00
Wojciech Figat
4c280ef015 Fix drawing single character text format 2022-08-04 14:42:52 +02:00
Wojtek Figat
7c923198e0 Minor tweaks to #716 2022-06-14 19:56:58 +02:00
b89e3bb0ff Add "View Size" node for GUI materials 2022-06-13 22:25:55 +03:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
3d7d52e779 Fix Vulkan crash when using Blur Panel in Screen Space canvas 2022-05-13 20:17:06 +02:00
9a0d4ae53b Improve font rendering and alignment with custom DPI 2022-03-27 01:51:20 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
7ed3c61b53 Tweaks 2021-09-01 16:04:10 +02:00
Jean-Baptiste Perrier
19ee939c5d Add Render2D::DrawTexturedTriangles variations 2021-09-01 06:57:41 +02:00
Wojtek Figat
72599b18ce Fix crash with too big blur strength used in Render2D
#558
2021-06-30 11:56:42 +02:00
Wojtek Figat
44433bf3b4 Add 9-slicking support for UI to draw sprites and textures
#155
2021-05-29 13:48:00 +02:00
Wojtek Figat
9a617c630b Fix api error 2021-05-16 18:54:40 +02:00
Wojtek Figat
dbb42e9805 Fix minor warnings in shaders 2021-05-15 14:19:40 +02:00
Wojtek Figat
42461f1b4a Fix crash when drawing 2d sprite with invalid atlas specified 2021-05-14 11:02:42 +02:00