849 Commits

Author SHA1 Message Date
mafiesto4 92a0a40d16 Add Global SDF Overdraw debug mode for content optimizations 2026-05-20 16:20:45 +02:00
mafiesto4 5dac5d3f2d Refactor GPU Debug Layers to be manually activated with -gpudebug
Debug builds don't activate it by default. Can be sued in both Debug and Development builds.
`GPU_ENABLE_DIAGNOSTICS` renamed to `GPU_ENABLE_DEBUG_LAYER`
`GPU_ENABLE_WINDOW_SRV` renamed to `GPU_ENABLE_WINDOW_SRV`
`GPU_USE_SHADERS_DEBUG_LAYER` renamed to `GPU_ENABLE_SHADERS_DEBUG_LAYER`
2026-05-19 15:26:01 +02:00
mafiesto4 d9c787a661 Merge remote-tracking branch 'origin/master' into 1.13
# Conflicts:
#	Source/Editor/SceneGraph/GUI/ActorTreeNode.cs
#	Source/Engine/Graphics/Graphics.h
#	Source/Engine/Renderer/ShadowsPass.cpp
2026-05-13 16:03:53 +02:00
mafiesto4 97bcdacd9a Fix minor doc issues 2026-05-13 15:43:44 +02:00
mafiesto4 5739c0bef4 Fix assertion on shader load failure
#2702
2026-05-12 22:53:29 +02:00
mafiesto4 d697bd7402 Update old API usage
#4080 #4081
2026-05-12 18:40:21 +02:00
mafiesto4 0c1af2f243 Fix various rendering elements with Reversed Z enabled and simplify code
#2684
2026-05-11 18:26:21 +02:00
mafiesto4 7f2ba7a81e Fix shaders cache to be invalidated when changing ReverseZ option
#2684
2026-05-08 10:53:40 +02:00
mafiesto4 fb21ffd3be Rename FLAX_REVERSE_Z macro to REVERSE_Z
#2684
2026-05-08 10:52:46 +02:00
mafiesto4 7127ccda37 Fix depth bounds in reversed Z
#2684
2026-05-08 09:02:17 +02:00
mafiesto4 241441d5b9 Merge branch 'reverse-z' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-reverse-z
# Conflicts:
#	Source/Engine/Graphics/GPUDevice.cpp
#	Source/Engine/Graphics/Materials/DeferredMaterialShader.cpp
#	Source/Engine/Graphics/Materials/ForwardMaterialShader.cpp
#	Source/Engine/Graphics/Materials/TerrainMaterialShader.cpp
#	Source/Engine/Renderer/LightPass.cpp
#	Source/Engine/Renderer/ReflectionsPass.cpp
#	Source/Engine/Renderer/ShadowsPass.cpp
#	Source/Shaders/SSR.hlsl
#	Source/Shaders/ShadowsSampling.hlsl
#	Source/Shaders/Sky.shader
2026-05-07 19:55:03 +02:00
mafiesto4 14b0fb355a Fix compilation with Large Worlds 2026-05-07 18:27:36 +02:00
mafiesto4 c17a9f653e Add minor improvements and adjust 3rd DDGI cascade for better world coverage 2026-05-07 16:38:15 +02:00
mafiesto4 1079791bed Add rendering stats for Data Upload 2026-05-07 00:02:33 +02:00
mafiesto4 650fa781d3 Simplify shader code for point/spot lights to use permutations instead 2026-05-06 12:59:35 +02:00
mafiesto4 000d786d49 Add Temporal Antialiasing as default AA method 2026-05-06 12:39:49 +02:00
mafiesto4 9a85ae7142 Add soft PCSS shadows on Ultra quality
Add new `SourceAngle` property to Directional light that controls PCSS penumbra size
2026-05-06 12:37:42 +02:00
mafiesto4 cbcfa4013b Add Graphics::MotionVectors::MinObjectScreenSize to skip too small objects from drawing motion vectors 2026-05-04 17:29:58 +02:00
mafiesto4 6cc0edf0eb Optimize shadows and depth rendering with instancing support for transparent shaders 2026-05-04 15:12:40 +02:00
mafiesto4 8e76d0d9d8 Fix GPUTexture.DownloadData to use correct bindings api 2026-04-28 00:24:34 +02:00
mafiesto4 4fd7f51fdf Optimize LightmapUVs to be stored already as Half4 to avoid runtime conversions during rendering 2026-04-27 21:53:11 +02:00
mafiesto4 caef258e1a Fix missing ChannelMask parameter type clone for Material Instance
#4070
2026-04-27 16:39:15 +02:00
mafiesto4 b1c76ec7f9 Merge remote-tracking branch 'origin/1.12' into 1.13 2026-04-25 10:31:41 +02:00
mafiesto4 e6c0836b09 Revert "Fix Blend Mode on Terrain materials to be unenviable due to not implemented"
This reverts commit 641f70d4ac.

Transparent material on terrain is used by terrain brushes and terrain highlight tools in editor.
2026-04-25 10:31:21 +02:00
mafiesto4 c782f07b76 Add GetTextureData function to texture API in C# 2026-04-24 11:21:18 +02:00
mafiesto4 49943e13de Fix various API issues 2026-04-24 11:20:45 +02:00
mafiesto4 804315bb3e Add VSync support to Vulkan 2026-04-23 20:25:36 +02:00
mafiesto4 7437b69d52 Add GPUMemoryStats for GPU video memory stats
Add new `Total/GPU` category to memory profiler.
Implement for D3D12 and Vulkan with allocators.
2026-04-23 18:38:47 +02:00
mafiesto4 84b53bb9c8 Optimize various rendering effects with GPUDrawPass 2026-04-23 14:30:02 +02:00
mafiesto4 f41d01f4a9 Optimize Vulkan render passes with a new GPUDrawPass to manually control attachment operations in higher-level API 2026-04-23 10:18:13 +02:00
mafiesto4 0ba611e57f Fix compilation 2026-04-20 10:42:20 +02:00
mafiesto4 c474f2e522 Add GPUDevice.DumpResources command and fix output to be sorted by size and cleaner to read 2026-04-20 09:46:43 +02:00
mafiesto4 635ef0ad66 Fix drawing editor thumbnails when texture used by asset is using dynamic streaming 2026-04-19 22:37:58 +02:00
mafiesto4 54e5e6895d Fix material instance parameters order in editor to match from base material 2026-04-19 10:22:35 +02:00
mafiesto4 641f70d4ac Fix Blend Mode on Terrain materials to be unenviable due to not implemented
#4056
2026-04-18 23:44:21 +02:00
mafiesto4 cb2f2bf644 Fix drawing incorrect LOD transition when using 2 cameras in a scene at once
#4055
2026-04-16 23:24:53 +02:00
mafiesto4 9350a4a706 Refactor model LOD transition to run only when any material uses Dithered LOD Transition
#4055
2026-04-16 23:23:36 +02:00
mafiesto4 591706d7fd Fix environment probe selection to use closest one to the object 2026-04-15 09:59:17 +02:00
mafiesto4 cdf82df326 Add docs about conditional features in public API 2026-04-14 16:55:43 +02:00
mafiesto4 f4cf822b3c Fix async rendering when Job System is disabled 2026-04-14 09:09:42 +02:00
mafiesto4 1d3d20e6c5 Add option to disable shadows on transparent material 2026-04-09 14:47:39 +02:00
mafiesto4 963b2f327f Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Source/Engine/Platform/Windows/WindowsPlatform.h
2026-04-08 13:24:29 +02:00
mafiesto4 737cac559c Fix postfx material flicker due to lost asset reference 2026-04-08 09:27:31 +02:00
mafiesto4 0e161c6ec1 Fixes for Web 2026-04-03 16:45:16 +02:00
mafiesto4 2fc95bdf57 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Editor/MaterialTemplates/Deformable.shader
#	Flax.flaxproj
#	Source/Engine/Content/Content.h
#	Source/Engine/Serialization/JsonTools.cpp
2026-04-01 17:14:21 +02:00
mafiesto4 258ba233d5 Attempt to fix time precision issue in long game run
#3865
2026-03-27 23:52:11 +01:00
mafiesto4 54202eeb8a Merge remote-tracking branch 'origin/1.12' into 1.12 2026-03-27 11:22:32 +01:00
mafiesto4 eab7794e3b Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Source/Engine/Content/Storage/FlaxStorage.cpp
#	global.json
2026-03-26 23:44:33 +01:00
mafiesto4 7531b1fdbd Fix rendering crash when D24_8Stencil format is not supported (lol) 2026-03-26 19:12:58 +01:00
mafiesto4 09a0573932 Fix MeshAccessor.Stream count for items not aligned to buffer start 2026-03-26 17:14:14 +01:00