Commit Graph

107 Commits

Author SHA1 Message Date
Wojtek Figat
08ef7c93ea Refactor draw calls drawing to use single objects buffer and better materials batching 2024-07-02 00:52:22 +02:00
Wojtek Figat
e265b760c1 USe local var to simplify code and fix MaterialShaderDataPerView struct to use new alignment for constant buffers data 2024-06-28 08:50:14 +02:00
Wojtek Figat
a232dac196 Fix GlobalSDF sampling in materials to properly read far cascades 2024-06-06 12:10:44 +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
568a69081d Fix animated model skinning precision issues
#2460
2024-04-22 13:18:52 +02:00
Wojtek Figat
4e65b76b8c Optimize BoundingSphere.Intersects to be inlined by the compiler 2024-04-11 15:58:34 +02:00
Wojtek Figat
b4547ec4d2 Minor fixes 2024-04-10 11:03:33 +02:00
Wojtek Figat
7d92779e99 Merge remote-tracking branch 'origin/master' into 1.9 2024-04-05 21:50:42 +02:00
Wojtek Figat
61323f8526 Refactor shadows rendering to use Shadow Map Atlas 2024-04-04 12:54:07 +02:00
Wojtek Figat
369c19bd5d Add statically disabled tessellation on macOS/iOS 2024-03-30 18:46:37 +01:00
Wojtek Figat
f7470af42d Optimize depth pass rendering to batch simple materials together 2024-03-26 18:04:08 +01:00
Wojtek Figat
55af307c43 Optimize env probes data storage in renderer 2024-03-26 15:01:12 +01:00
Wojtek Figat
4ab572426d Various renamings 2024-03-26 14:27:10 +01:00
Wojtek Figat
01d91bf102 Optimize decals rendering 2024-03-26 14:05:24 +01:00
Wojtek Figat
2dfb1058b2 Optimize world matrix storage for drawable objects to use Matrix3x4 instead of full matrix 2024-03-26 11:29:01 +01:00
Wojtek Figat
cdbb2cc813 Refactor shader structures naming with a prefix 2024-03-25 17:52:48 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
eaafb72ca9 Optimize some includes and use automatic serializers for platform settings 2023-11-13 23:54:07 +01:00
Wojtek Figat
710b9275fd Fix minor typos https://github.com/FlaxEngine/FlaxDocs/pull/123 2023-11-09 09:13:40 +01:00
Wojtek Figat
fdd6b171bb Stability fixes 2023-10-12 23:12:53 +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
b0966c9114 Add logging PixelFormat as string instead of integer value for better readability 2023-04-13 10:31:40 +02:00
Wojtek Figat
9e5a48af4b Fix bug when using material instance of material that uses GlobalSDF 2023-04-12 16:59:59 +02:00
Wojtek Figat
e644b65289 Fix potential rare issues with material shader constants containing invalid data 2023-02-18 18:25:40 +01:00
Wojtek Figat
aa8d6f7c79 Fix ribbon particles triangle indices ordering to prevent artifacts 2023-02-03 13:30:48 +01:00
Wojtek Figat
0709288eac Revert Depth Offset (wrong impl, can be done later) 2023-01-31 14:22:37 +01:00
Wojtek Figat
c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
Wojtek Figat
a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +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
1cf6c5233e Refactor DDGI probes to use variable ray count depending on the probe location relative to the view frustum 2022-12-15 17:33:44 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojtek Figat
835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
Wojtek Figat
bdb27fef1b Minor optimizations 2022-11-26 12:08:53 +01:00
Wojtek Figat
62cf8bebd0 Bump up materials version after merge of two upgrades 2022-11-22 20:09:59 +01:00
Wojtek Figat
2ad6eb0c72 Merge branch 'master' into 1.5 2022-11-22 19:58:53 +01:00
Wojtek Figat
c55d38534d Add WorldPosition to postfx material scene textures for world-space position sampling at uv 2022-11-21 23:45:13 +01:00
Wojtek Figat
eb281a7574 Additional improvements to scene rendering 2022-11-15 22:39:03 +01:00
Wojtek Figat
ea5e38fdd1 Fixes for overriden draw calls material in debug views 2022-11-10 00:22:23 +01:00
Wojtek Figat
e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojciech Figat
6a1378ebdb Fix Global Surface Atlas drawing of objects that are hidden in GBuffer pass but should be visible for GI 2022-08-09 14:37:29 +02:00
Wojtek Figat
a6e9abfceb Add UseAlpha to RenderBuffers for pass-though renderer with alpha channel 2022-08-01 22:58:22 +02:00
Wojtek Figat
6cf91b1da4 Add support for main view information in Surface materials during subpass rendering (eg. shadow depth) 2022-07-29 16:58:33 +02:00
Wojciech Figat
2a53143bc4 Add new mode to Screen Space Reflections for DDGI Scene tracing 2022-07-21 09:41:38 +02:00
Wojciech Figat
60f868a08b Add real-time environment probes support 2022-07-18 14:50:41 +02:00
Wojciech Figat
0d8ebd332e Add Global Illumination sampling option to transparent materials (eg. particles) 2022-07-14 14:28:42 +02:00
Wojciech Figat
85f351663b Add Transparent Lighting Modes for material with option to use non-directional shading 2022-07-14 09:22:32 +02:00