Commit Graph

82 Commits

Author SHA1 Message Date
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
3e344e789a Optimize terrain debug shape drawing by caching lines into a vertex buffer
#2841
2024-12-09 18:26:53 +01:00
xxSeys1
fceb47f2af fix context not implemented 2024-10-17 18:47:48 +02:00
xxSeys1
283ee2af6f add debug draw clear method 2024-10-15 18:55:03 +02:00
Wojtek Figat
20456d95e8 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-22 17:33:20 +02:00
Wojtek Figat
e6745e43ec Fix drawing physics colliders in debug view mode
#2622 #2833
2024-08-21 23:28:44 +02:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Wojtek Figat
c67385ef80 Merge branch 'prefab-physics-draw' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-physics-draw 2024-08-15 15:26:19 +02:00
f759f94cfa Use CHECK_DEBUG over ASSERT in normalized direction checks 2024-08-07 21:18:09 +03:00
Chandler Cox
3140865780 Add physics and lights debug drawing in prefabs when enabled. 2024-08-06 17:06:23 -05:00
Wojtek Figat
bc313c8630 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 20:00:39 +02:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00
Chandler Cox
649559a917 Fix missing debug draw from prefabs 2024-07-28 13:48:54 -05:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03: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
Wojtek Figat
8144db8e13 Fix various issues found with adrress sanitizer on macOS 2024-04-13 19:20:49 +02:00
Wojtek Figat
71dad84908 Fix Z-fighting issues in Debug Draw when using TAA 2024-03-19 17:53:14 +01:00
Wojtek Figat
388b64a46d Add support for hot-reloading Debug Draw shader 2024-03-19 16:03:19 +01:00
Wojtek Figat
cf3145273f Fix TAA jitter in post-resolve passes such as editor primitives and debug gizmos 2024-03-19 16:02:50 +01:00
Wojtek Figat
22a3f9565f Add old DrawRay api 2024-02-28 13:26:24 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
c1400748b0 Fix debug draw lists allocation
#2259
2024-02-19 20:36:41 +01:00
Wojtek Figat
7e10baf5ea Fixes to code 2024-02-19 14:53:34 +01:00
Wojtek Figat
d2b8d14ca7 Merge branch 'Debug' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-Debug
# Conflicts:
#	Source/Engine/Debug/DebugDraw.h
2024-02-19 14:28:28 +01:00
Mr. Capybara
3c19262574 Add parameter to change arrow cap size 2023-12-17 10:15:41 -04:00
Wojtek Figat
ae85a94261 Fix memory leak while doing drag&drop with Debug Draw in use
#1723
2023-11-06 17:18:20 +01:00
NoriteSC
809b9e3a7a added safeguards 2023-10-01 16:47:33 +02:00
NoriteSC
f71f214f36 bug fix macro added extra macros 2023-09-13 02:53:20 +02:00
NoriteSC
d107947ba9 Update DebugDraw.cpp 2023-09-12 11:19:19 +02:00
NoriteSC
3bfa37019e DebugDraw extra
fixes
ray direction was dictating the length of ray
now ray is normalized and multiplied by length
added default vaule for
Color& color to be Color::White
[info] c# because
Color color = Color.White
is not valid think to do on c# side the default value is not genereted
[to do] generate extra overload binding in c#
2023-09-12 11:01:56 +02:00
Wojtek Figat
fb488cbaf7 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-11 22:43:46 +02:00
Ruan Lucas
317384ed28 add debugdraw::drawray 2023-09-08 22:19:09 -04:00
Wojtek Figat
c6a82b8c36 Add DebugDraw::DrawLine with separate start/end colors 2023-07-13 13:08:53 +02:00
Wojtek Figat
e4c3461053 Merge remote-tracking branch 'origin/master' into 1.7 2023-07-03 22:01:50 +02:00
Wojtek Figat
64a7985376 Fix GridGizmo to render before transparency in Editor viewport
#1196
2023-06-20 21:59:36 +02:00
Wojtek Figat
a6353c0bb9 Rename GPUPipelineState::Description::PrimitiveTopologyType to PrimitiveTopology 2023-06-19 11:53:40 +02:00
Wojtek Figat
5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
Wojtek Figat
713cf0d4b2 Improve #1077 to use a single pixel shader with permutations 2023-05-07 11:01:30 +02:00
Wiktor Kocielski
42a9eaf72e Make DebugDraw render lines with unlit PS 2023-05-05 16:29:12 +03:00
Wojtek Figat
ba319d8499 Add scale parameter to DebugDraw text drawing to rescale text without reducing font size 2023-04-29 12:09:36 +02: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
Wojtek Figat
e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Wojtek Figat
33513834df Add support for Large Worlds in more engine systems 2022-07-02 20:07:04 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
f82e370392 Refactor Vector types to support 64-bit precision via define switch 2022-05-25 20:04:33 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
7ca83858ab Optimize vertex buffer writing in Debug Draw 2021-10-27 11:03:08 +02:00