Commit Graph

250 Commits

Author SHA1 Message Date
Wojtek Figat
a93085d6d6 Redo 7d79dbac40 2025-03-09 09:15:49 +01:00
Wojtek Figat
7d79dbac40 Fix shadows sampling error in shader due to incorrect sampler used
#3000
2025-03-08 14:29:17 +01:00
Wojtek Figat
c146e156ec Fix perlin and simplex noises to return normalized value to range 0-1
#3154
2025-02-12 22:13:09 +01:00
Wojtek Figat
6efb015169 Merge code for Perlin Noise impl 2025-02-12 17:21:13 +01:00
Wojtek Figat
21f8dab5de Tweak 58090aa6d6 to secure for incorrect includes and usage 2025-02-11 00:33:08 +01:00
Wojtek Figat
3c091dc214 Fix editor grid gizmo when using Large Worlds 2025-02-11 00:32:04 +01:00
Wojtek Figat
58090aa6d6 Fix triplanar texture mapping when using Large Worlds
#3001
2025-02-11 00:31:37 +01:00
Wojtek Figat
c597c38705 Fix volumetric fog particles after objects instancing refactor 2024-10-01 15:07:32 +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
da5570e89f Fix terrain shader compilation regression 2024-09-22 11:28:26 +02:00
Wojtek Figat
6113af2dc1 Fix custom 2D clipping mask to properly inherit parent container clip mask
2371
2024-09-15 23:57:52 +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
7bc4de4e6b Merge branch 'agx-tonemapping' of https://github.com/GaryMcWhorter/FlaxEngine into GaryMcWhorter-agx-tonemapping 2024-09-12 07:58:01 +02:00
Wojtek Figat
21ed4a2371 Fix Flipbook node bug
#2690
2024-09-10 12:13:28 +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
Muzz
09737023a1 Add **Contrast Adaptive Sharpening (CAS)** filter pass
#2423
2024-08-29 19:01:37 +02:00
Wojtek Figat
0b3835f593 Fix turbulence module in GPU particles far away from world origin
#1944
2024-08-27 15:12:58 +02:00
Wojtek Figat
e7f1afdfaa Fix GlobalSDF tracing artifacts in reflections by using occlusion bias relative to each cascade voxel size
#2743
2024-08-15 12:04:39 +02:00
Wojtek Figat
f025f923ae Increase limit on Global Surface Atlas objects culling to prevent artifacts in dense scenes 2024-08-12 15:35:29 +02:00
Wojtek Figat
63bee0c78d Add IndirectLightingIntensity to Sky for GI intensity control 2024-08-12 15:34:08 +02:00
Wojtek Figat
bcb0200435 Fix GPU-based SDF generation to reject negative distance from far away triangles 2024-08-12 10:55:27 +02:00
Wojtek Figat
ffb760d8f3 Fix GPU particles issues with Global SDF far away from scene geometry 2024-08-05 22:43:00 +02:00
Wojtek Figat
bc313c8630 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 20:00:39 +02:00
Wojtek Figat
23fcfb4eb2 Code cleanup
#2717
2024-08-05 19:44:06 +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
f21b259376 Various fixes after merge with Windows ARM pr 2024-07-25 08:34:51 +02:00
Wojtek Figat
e9144ff834 Fix blending between DDGI cascades on the end of the range 2024-07-24 12:21:50 +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
3f9989ea57 Add utility Packing.hlsl shader for colors and vectors packing 2024-07-19 13:37:09 +02:00
Wojtek Figat
53ca33f301 Add option to sample Global SDF from higher cascade 2024-07-19 00:30:06 +02:00
Wojtek Figat
3945e1416b Add improved Global SDF sampling at empty areas 2024-07-19 00:27:30 +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
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
082a5819cd Optimize GlobalSurfaceAtlasPass by ignoring GBuffer2 properties (diffuse-only surfaces) 2024-07-08 16:40:59 +02:00
Wojtek Figat
ae2b3d361e Fix shader warning 2024-07-08 12:56:31 +02:00
Wojtek Figat
00a9c48fec Optimize probes count multiplication in DDGI shader 2024-07-03 08:51:58 +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
516ed3e9a0 Cleanup some rendering code 2024-06-28 21:21:17 +02:00
ExMatics HydrogenC
a5b00fa718 Resolve problems in code review 2024-06-19 10:58:27 +08:00
ExMatics HydrogenC
9b3ff05af7 Remove debug code 2024-06-18 21:47:11 +08:00
ExMatics HydrogenC
9062c04ef0 Complete sdf reflections 2024-06-18 21:25:12 +08:00
Wojtek Figat
0d48ac8fc2 Add smoother DDGi probe relocation when old position is visible from new position 2024-06-18 15:05:21 +02:00
Wojtek Figat
2c4de9878e Improve DDGI cascade transitions to be smoother 2024-06-18 13:22:10 +02:00
Wojtek Figat
611961cefe Improve DDGI cascade selection by using biased world position 2024-06-18 10:52:28 +02:00
Wojtek Figat
87aa23107d Fix shadow sharpness processing 2024-06-17 18:59:13 +02:00
Wojtek Figat
6e0dd2064a Add nearby probes search to fill cells with missing GI data
#1614
2024-06-17 18:25:11 +02:00