mafiesto4
bc36168318
Optimize Animated Model rendering with hardware instancing
...
All models are using the same global buffer for skinned bones which allows to share shader binding for instancing.
Refactor draw call for batching skinned mesh draws.
Remove `SkinnedMeshDrawData` and merge it into `AnimatedModel` internals.
2026-06-15 17:59:41 +02:00
mafiesto4
0f38fca0b1
Minor fixes
2026-05-30 14:28:28 +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
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
650fa781d3
Simplify shader code for point/spot lights to use permutations instead
2026-05-06 12:59:35 +02:00
mafiesto4
9c5daf419b
Fix default shadow depth bias values and control them based on shadow resolution/quality mix
2026-05-06 12:39:15 +02:00
mafiesto4
aac399c6a1
Add CascadeBlendSize to Directional Light and fix sun shadow fade at distance
2026-05-04 23:41:00 +02:00
mafiesto4
83de99877c
Fix directional light cascaded shadow maps rendering stability
2026-05-04 08:46:43 +02:00
mafiesto4
4d5bf4ec0c
Fix SSR with HiZ on WebGPU on Android device when R32_Float cannnot be sampled
2026-03-24 00:26:47 +01:00
mafiesto4
b408a8ce21
Fix WebGPU in non-Debug builds
2026-03-06 14:45:00 +01:00
mafiesto4
b191d3918e
Fix rendering various visuals on WebGPU
2026-03-02 20:36:33 +01:00
mafiesto4
f12ad5c874
Add **Web platform with Emscripten**
2026-02-14 00:07:21 +01:00
mafiesto4
877d57681d
Optimize reflection probes, lights and shadow projections rendering with depth bounds test
2026-01-19 22:14:59 +01:00
mafiesto4
87e2c4c4d5
Merge remote-tracking branch 'origin/master' into 1.11
...
# Conflicts:
# Content/Editor/DebugMaterials/DDGIDebugProbes.flax
# Source/Editor/Windows/OutputLogWindow.cs
# Source/Engine/Level/Actor.cpp
2025-09-24 18:18:27 +02:00
mafiesto4
1c581bceaf
Fix sun shadows when direction is perfectly vertical
...
#3614
2025-09-20 23:52:04 +02:00
mafiesto4
c57e128ff1
Merge remote-tracking branch 'origin/master' into 1.11
...
# Conflicts:
# Source/Engine/Level/Scene/SceneRendering.cpp
# Source/Engine/Physics/Colliders/Collider.cpp
# Source/Engine/Physics/Colliders/Collider.h
2025-09-02 22:23:45 +02:00
mafiesto4
eff5f84185
Improve shadow maps sharing in nested scene rendering
2025-09-02 22:14:07 +02:00
mafiesto4
826009c1b4
Merge remote-tracking branch 'origin/master' into 1.11
...
# Conflicts:
# Content/Editor/DebugMaterials/DDGIDebugProbes.flax
# Source/Engine/Scripting/Scripting.cpp
2025-08-25 23:48:08 +02:00
mafiesto4
6307ad7979
Fix shadow bias artifacts on Low shadows quality
2025-07-30 23:46:17 +02:00
mafiesto4
f37b75df7b
Add support for using shadow maps from linked scene rendering (eg. for 1p weapons)
2025-07-25 19:59:58 +02:00
mafiesto4
6132e45e25
Fix shadow lights checking loop if shadows are disabled
2025-07-25 16:00:44 +02:00
mafiesto4
3dc7546dd4
Fix crash when constant buffer is unused by shader but still exists
2025-06-27 19:06:25 +02:00
mafiesto4
9c3fd052cd
Remove copyright year from source files and update to 2025
2025-04-07 19:22:21 +02:00
mafiesto4
98834131f1
Add smooth shadows blending between directional light cascades
...
It was deprecated in 1.9 in favor for dithering between cascades. Bing back that option for games that don't use TAA.
2025-03-27 10:48:35 +01:00
mafiesto4
897e451ab6
Restore shadows on Switch after refactor into Shadow Atlas
2025-03-10 21:00:49 +01:00
mafiesto4
61a731704d
Fix const-correctness in dictionary iterator access
2025-01-23 21:40:52 +01:00
mafiesto4
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
mafiesto4
756ba0a533
Fix crash on shadows when using D3D10
2025-01-09 21:46:41 +01:00
mafiesto4
fa8f50ead1
Fix crash on incorrect light shadow state after shadowmap resizing failure
...
#3106
2024-12-16 22:52:05 +01:00
ExMatics HydrogenC
3f78e47918
Fix for shadow atlas not being cleared correctly
2024-10-10 22:13:43 +08:00
ExMatics HydrogenC
7b4a9f1a63
Fix depth function
2024-10-10 21:15:46 +08:00
mafiesto4
79471af0c1
Fix bug in new shadows rendering when there are too many lights
2024-10-10 11:19:06 +02:00
mafiesto4
5f19538455
Add UpdateFlags to ISceneRenderingListener::UpdateActor for more contextual control overdirtying actors state in renderer data
...
Fixes issue of static shadow maps not refreshing when changing static flags of the model.
2024-09-29 22:03:46 +02:00
mafiesto4
ca62a6c4bf
Fix directional lights shadows jittering when using TAA
2024-08-08 14:05:57 +02:00
mafiesto4
2b9c050911
Add Graphics.ShadowUpdateRate to control global shadows atlas update rate
2024-08-07 23:46:18 +02:00
mafiesto4
28ce224caa
Reduce shadow atlas fragmentation to favor bigger tile sizes
2024-08-07 17:14:31 +02:00
mafiesto4
15d6f9861c
Fix shadow atlas resizing bug
2024-08-07 17:14:06 +02:00
mafiesto4
b2e228c090
Fix shadows rendering in reflection probes
2024-07-24 13:43:53 +02:00
mafiesto4
fe33f09f1d
Update shader
2024-07-19 00:32:14 +02:00
mafiesto4
ee02aa394a
Fix potential error in new shadows atlas rendering
2024-07-18 00:17:33 +02:00
mafiesto4
08ef7c93ea
Refactor draw calls drawing to use single objects buffer and better materials batching
2024-07-02 00:52:22 +02:00
mafiesto4
c119750896
Fix RectAtlas regression
2024-06-21 16:24:47 +02:00
mafiesto4
8e49a35e0e
Refactor RectPack into new RectPackNode and RectPackAtlas that uses more optimized memory allocations
2024-06-20 15:26:58 +02:00
mafiesto4
9c161121b3
Add Graphics::SpreadWorkload to disable graphics workloads amortization over several frames when debugging graphics perf
2024-06-19 14:03:55 +02:00
mafiesto4
1e86eff2d3
Improve GPU constant buffers structures definitions to properly align on new Clang
2024-06-02 09:52:10 +02:00
mafiesto4
1481d1a1e9
Add ShadowsResolution for manually specified shadowmap resolution for lights
2024-05-23 14:47:16 +02:00
mafiesto4
206ff89587
Add constant buffers alignment for data structures (16-byte boundaries)
2024-05-23 13:58:46 +02:00
mafiesto4
cf23892bd4
Fix sun shadows invalidate when view rotates
2024-04-14 23:51:20 +02:00