447 Commits

Author SHA1 Message Date
2c7b11a691 Remove texturereferences in default materials 2025-02-26 20:09:30 +02:00
Wojtek Figat
aa8add7b38 Fix large worlds rendering of meshes
Add `Double4x4` for higher precision matrices operations

#2985
2025-02-11 13:01:48 +01:00
Wojtek Figat
fa8f50ead1 Fix crash on incorrect light shadow state after shadowmap resizing failure
#3106
2024-12-16 22:52:05 +01:00
Wojtek Figat
e2ed618056 Fix regression from 07aafea5af 2024-11-27 23:28:22 +01:00
Wojtek Figat
d4b663cd1a Fix crash when CAS shader is missing 2024-11-20 23:08:32 +01:00
Mateusz Karbowiak
9c448f75d8 Collections const correctness fix (style) 2024-10-31 00:29:38 +01:00
Mateusz Karbowiak
5439efc559 Collections implicit cast constructor fix
This one prohibits annoying casts. It is also important for future context injection and follows STL practice.
2024-10-30 22:30:55 +01:00
Mateusz Karbowiak
f77f551b72 Collections type aliasing fix
This one is debatable. It follows modern C++.
2024-10-30 22:30:54 +01:00
Mateusz Karbowiak
a55866d558 Collections casts fix 2024-10-30 22:18:47 +01:00
Mateusz Karbowiak
02db7d02f2 Collections const-correctness fix 2024-10-30 21:06:16 +01:00
Wojtek Figat
79471af0c1 Fix bug in new shadows rendering when there are too many lights 2024-10-10 11:19:06 +02:00
Wojtek Figat
c597c38705 Fix volumetric fog particles after objects instancing refactor 2024-10-01 15:07:32 +02:00
Wojtek Figat
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
Wojtek Figat
2ad9c7f4d5 Fix Skybox rendering regression
#2943
2024-09-24 23:01:13 +02:00
Wojtek Figat
3b3be75d94 Fix DDGI probes debug when using very large amount of probes 2024-09-23 20:31:54 +02:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
f983be6104 Fix realtime environment probes updating
#2191
2024-09-19 23:46:04 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
33ccdea761 Fixes and shader update
#2673
2024-09-12 09:02:48 +02:00
Wojtek Figat
545e59aba5 Fix lightmap uvs density view to handle scale in lightmap and outline non-static objects
#2080
2024-09-09 05:59:17 +02:00
Wojtek Figat
6a4d9877e6 Remove unsured variable 2024-08-29 19:34:17 +02:00
Muzz
09737023a1 Add **Contrast Adaptive Sharpening (CAS)** filter pass
#2423
2024-08-29 19:01:37 +02:00
Wojtek Figat
499ef51875 Fix draw calls sorting to favor distance over geometry and material
#2271 #2306
2024-08-27 16:01:46 +02:00
Wojtek Figat
fb2af0e0e7 Fix regression in Sort Key usage 2024-08-22 18:49:03 +02:00
Wojtek Figat
bb00653645 Fix regression in shadow maps rendering batching to ignore transparent materials due to opacity usage 2024-08-22 17:49:12 +02:00
Wojtek Figat
63bee0c78d Add IndirectLightingIntensity to Sky for GI intensity control 2024-08-12 15:34:08 +02:00
Wojtek Figat
ca62a6c4bf Fix directional lights shadows jittering when using TAA 2024-08-08 14:05:57 +02:00
Wojtek Figat
2b9c050911 Add Graphics.ShadowUpdateRate to control global shadows atlas update rate 2024-08-07 23:46:18 +02:00
Wojtek Figat
28ce224caa Reduce shadow atlas fragmentation to favor bigger tile sizes 2024-08-07 17:14:31 +02:00
Wojtek Figat
15d6f9861c Fix shadow atlas resizing bug 2024-08-07 17:14:06 +02:00
Wojtek Figat
bc313c8630 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 20:00:39 +02:00
Wojtek Figat
a49fc1c5d1 Merge branch 'forward-software-refl' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-forward-software-refl 2024-08-05 19:04:28 +02:00
Wojtek Figat
117178f547 Fix shader resource usage warning when drawing grid gizmo after selection outline
#2808
2024-08-05 18:18:02 +02:00
Wojtek Figat
305bf653cf Add todo comments for future improvements to DDGI 2024-07-24 16:39:37 +02:00
Wojtek Figat
b2e228c090 Fix shadows rendering in reflection probes 2024-07-24 13:43:53 +02:00
Wojtek Figat
6f3d1cdd0a Optimize Global Surface Atlas objects culling with shared thread group pre-cull 2024-07-24 11:46:20 +02:00
Wojtek Figat
fe33f09f1d Update shader 2024-07-19 00:32:14 +02:00
Wojtek Figat
3aa8e67551 Add option for smooth DDGI cascades blending 2024-07-18 23:51:03 +02:00
Wojtek Figat
03898a064a Optimize DDGI probes border pixels to be copied within probe update, rather than via separate dispatch 2024-07-18 19:51:01 +02:00
Wojtek Figat
aeff147b6d Optimize and refactor DDGI to use linear attention per-probe to dynamically control ray count and blend speed
Probes will use lower ray count when behind the camera or not correlated with the view direction or far from geometry.
Probes nearby camera or with high instability in irradiance will maintain higher ray count.
Probes that use less rays will have slower blending to reduce artifacts.
Added probe instability, attention and stats debugging for devs.
2024-07-18 08:38:23 +02:00
Wojtek Figat
ee02aa394a Fix potential error in new shadows atlas rendering 2024-07-18 00:17:33 +02:00
Wojtek Figat
352913ba14 Add random per-probe rotation for rays tracing in DDGI 2024-07-11 14:48:24 +02:00
Wojtek Figat
6b06f1dbcf Optimize Global SDF to use 8-bit storage (50% less memory usage) 2024-07-10 13:22:25 +02:00
Wojtek Figat
d5dd8e7ecf Optimize GlobalSurfaceAtlasPass tiles by sorting by size before inserting them into atlas 2024-07-08 16:43:26 +02:00
Wojtek Figat
082a5819cd Optimize GlobalSurfaceAtlasPass by ignoring GBuffer2 properties (diffuse-only surfaces) 2024-07-08 16:40:59 +02:00
Wojtek Figat
00a9c48fec Optimize probes count multiplication in DDGI shader 2024-07-03 08:51:58 +02:00
Wojtek Figat
6fbf4a6aac Optimize draw calls sorting and objects buffer building to be async 2024-07-02 16:07:09 +02:00
Wojtek Figat
567d5f70ab Merge remote-tracking branch 'origin/1.9' into 1.9 2024-07-02 00:58:25 +02:00
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
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