Commit Graph

148 Commits

Author SHA1 Message Date
Wojtek Figat
78f3248ac9 Refactor SortOrder to use int8 instead of int16 due to performance reasons (more efficent sort keys packing in rendering) 2024-06-29 13:54:02 +02:00
Wojtek Figat
e1bede1bf6 Merge remote-tracking branch 'origin/master' into 1.9 2024-06-13 17:07:37 +02:00
Wojtek Figat
5b71591998 Add option to disable particles preview in scene view and play only looping effects
#1767
2024-06-11 11:37:49 +02:00
Wojtek Figat
1e86eff2d3 Improve GPU constant buffers structures definitions to properly align on new Clang 2024-06-02 09:52:10 +02:00
dedb3d57fd Fix Variant getters returning already freed managed handles 2024-06-01 20:22:16 +03:00
Wojtek Figat
0cee4ac973 Add SpawnParticles utility to Particle Effect 2024-05-25 09:52:09 +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
12cf7f0f92 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Flax.flaxproj
2024-05-22 16:15:14 +02:00
Wojtek Figat
9b01229e58 Fix regression in GPU Particle collisions in editor 2024-05-20 18:12:35 +02:00
Wojtek Figat
97be8ee8cc Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Content/Storage/FlaxStorage.cpp
#	Source/Engine/Renderer/GBufferPass.cpp
2024-05-15 23:49:05 +02:00
Wojtek Figat
2edb9cc4d8 Fix compilation warnings when using 64-bit coords 2024-05-08 23:24:23 +02:00
Wojtek Figat
66b828ae92 Refactor Asset::GetReferences to support file path references 2024-05-08 15:54:37 +02:00
Wojtek Figat
cdeb9a3b15 Merge remote-tracking branch 'origin/master' into 1.9
# 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/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/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Source/Engine/Graphics/Materials/MaterialShader.h
2024-04-23 10:30:01 +02:00
Wojtek Figat
71fe280464 Refactor Visject Graph nodes data for unlimited size 2024-04-19 12:22:04 +02:00
Wojtek Figat
e53ab10145 Add Engine::UpdateCount to sync gameplay logic updates with game loop rather than draw frames 2024-04-17 13:31:12 +02:00
Wojtek Figat
708fba5136 Add variable rate update for shadow maps atlas based on distance to light 2024-04-08 00:04:57 +02:00
Wojtek Figat
61323f8526 Refactor shadows rendering to use Shadow Map Atlas 2024-04-04 12:54:07 +02:00
Wojtek Figat
0e00f1e0eb Refactor lights data in renderer storage 2024-03-25 17:13:40 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
468c93949e Fix crash when creating empty particle emitter 2023-10-28 14:01:44 +02:00
Chandler Cox
78aae0da5a Better handling stopping/resetting non-looping effect. 2023-10-21 17:22:02 -05:00
Chandler Cox
7d9991999d Better fix. 2023-10-21 14:08:23 -05:00
Chandler Cox
ad15c5b2fc Fix particles effect not being able to just call play if islooped is false. 2023-10-21 13:36:39 -05:00
Wojtek Figat
4e9a739a52 Update GPU particle emitter graph version after recent changes 2023-10-20 00:28:13 +02:00
Wojtek Figat
d92c7af2cf Fix debug file access race-conditions when importing many materials at once 2023-10-17 09:53:06 +02:00
Wojtek Figat
84d615935e Fix crash when updating GPU particle system without view buffers allocated
#1683
2023-10-12 23:39:39 +02:00
Wojtek Figat
2414abf183 Fix particle attributes usage in GPU emitter function
#1640
2023-10-12 20:01:30 +02:00
Wojtek Figat
d52412c5c3 Fix particle emitter function cache clearing for GPU shader generation
#1640
2023-10-12 19:55:50 +02:00
Wojtek Figat
5b5f43714e Fix invalid particle attributes access inside emitter function
#1640
2023-10-12 17:55:49 +02:00
Wojtek Figat
8af2f458d7 Fix missing particle layout attributes when using Particle Emitter Function
#1640
2023-10-12 17:39:42 +02:00
36b1dc1452 Fix particle effects not working properly at high framerate 2023-10-03 17:38:21 +03:00
Wojtek Figat
b00156f519 Add some improvements to particles editing
#1395
2023-09-27 13:04:44 +02:00
Wojtek Figat
8cd8ae93c3 Add ObjectRadius to DrawCall to properly cull local lights and env probes in Forward Shading 2023-09-20 15:01:02 +02:00
Wojtek Figat
fb27606541 Add missing Particle Scale getter node to Particle Emitter graph
#1343
2023-09-11 13:54:44 +02:00
Wiktor Kocielski
f44156eb80 Remove another unnecessary exposed CommonValue.h 2023-08-13 09:02:43 +03:00
Wiktor Kocielski
47c6e54406 Fix exposed public CommonValue inclusion 2023-08-08 08:45:14 +03:00
Wojtek Figat
872509df2a Fix incorrect Transform Position To Screen UV in particles graph in CPU code path 2023-07-18 18:13:19 +02:00
Wojtek Figat
cd7ad4e5f8 Fix crash in particle effect
#1194
2023-06-20 15:17:46 +02:00
Wojtek Figat
a8f670a9c9 Simplify changes from #924 and properly update after unpausing effect 2023-05-12 14:39:25 +02:00
Wojtek Figat
cde4415052 Merge branch 'particle-effect-helpers' of https://github.com/Tryibion/FlaxEngine into Tryibion-particle-effect-helpers 2023-05-12 14:19:51 +02:00
Wojtek Figat
1a3c6bfc73 Merge branch 'random-range-visject' of https://github.com/Tryibion/FlaxEngine into Tryibion-random-range-visject 2023-05-05 16:22:46 +02:00
Chandler Cox
12a2a69ad7 Change to TryGetBox 2023-05-05 09:18:44 -05:00
Chandler Cox
86044fcc05 Change logic for Random Rang particle nodes 2023-05-05 08:17:07 -05:00
Wojtek Figat
285a824858 Fix crash when removing particle emitter from system that has old parameter override
#1044
2023-05-05 15:08:53 +02:00
Wojtek Figat
679757942f Fix GPU Buffer Map/Unmap pair to prevent stall if map fails on DX11
#942
2023-02-17 16:28:48 +01:00
Wojtek Figat
57178b8a5b Add dev-only name to spawned Particle System 2023-02-10 14:43:24 +01:00
Wojtek Figat
c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Wojtek Figat
ea153d4cf6 Minor adjustment to inline function in more places for CPU particles perf 2023-02-05 12:49:43 +01:00