Commit Graph

77 Commits

Author SHA1 Message Date
Wojtek Figat
2dd34b288c Merge remote-tracking branch 'origin/master' into 1.11 2025-07-04 12:05:19 +02:00
Wojtek Figat
7abed93972 Optimize terrain heightmap decoding to use shared code 2025-07-04 11:31:27 +02:00
Wojtek Figat
056fea9a8c Fix forward shading compilation when using fog inside unlit material 2025-07-03 14:48:38 +02:00
Wojtek Figat
4e4d380267 Fix fog to draw Fog Cutoff Distance via a plane, not sphere test
Add support for negative Fog Cutoff Distance on fog to draw it in front of the camera Far Plane, no matter the setup.
Fix hot-reloading Fog shader in Editor.
2025-06-29 20:02:54 +02:00
Wojtek Figat
448eb48c23 Fix fog to draw Fog Cutoff Distance via a plane, not sphere test
Add support for negative Fog Cutoff Distance on fog to draw it in front of the camera Far Plane, no matter the setup.
Fix hot-reloading Fog shader in Editor.
2025-06-29 20:02:24 +02:00
Wojtek Figat
bdd7bae459 Add new Custom Lit shading model for custom lighting in materials (eg. Cel Shading) 2025-06-29 13:51:59 +02:00
Wojtek Figat
fa89e710d8 Fix Terrain shader error when using Position Offset
#3479
2025-06-02 15:05:20 +02:00
Wojtek Figat
30c78350eb Fix incorrect motion vectors for material that uses position offset
#3367
2025-04-15 22:24:12 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
bc4f3668fe Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Core/Math/Vector3.cpp
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h
2025-03-09 09:23:42 +01:00
Wojtek Figat
e760e5cc97 Fix particle sim shader compilation warning on Vulkan
#https://github.com/KhronosGroup/glslang/issues/2066
2025-03-08 13:23:08 +01:00
Wojtek Figat
7ccae0140b Fix regression from #3214 on Deformable shader 2025-02-28 15:18:29 +01:00
Muzz
7885590593 Merge branch 'Muzz-Triplanar-Features' into 1.10 2025-02-28 14:56:45 +01:00
Wojtek Figat
39419787fa Another compilation fix 2025-01-15 08:48:03 +01:00
Wojtek Figat
a1c46d2e6e Add support for up to 4 texture channels when importing meshes
#2667
2025-01-11 22:40:20 +01:00
Wojtek Figat
7f0d852f49 Fix minor shader compilation warnings 2025-01-07 21:55:31 +01:00
Wojtek Figat
6f04231b31 Rename Vertex Shader input semantic ofBLENDWEIGHT to BLENDWEIGHTS 2025-01-04 21:04:18 +01:00
Wojtek Figat
b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
Wojtek Figat
da5570e89f Fix terrain shader compilation regression 2024-09-22 11:28:26 +02:00
Wojtek Figat
591f0ee6a9 Fix regressions after rendering changes 2024-08-23 00:26:42 +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
52b00644c6 Update after merge with master 2024-08-05 20:33:46 +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
08ef7c93ea Refactor draw calls drawing to use single objects buffer and better materials batching 2024-07-02 00:52:22 +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
14ce4d4394 Cleanup and fix typo 2024-06-18 21:40:25 +08:00
ExMatics HydrogenC
9062c04ef0 Complete sdf reflections 2024-06-18 21:25:12 +08:00
ExMatics HydrogenC
5f939430ee Initial commit for forward software reflection 2024-06-17 23:00:48 +08: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
61323f8526 Refactor shadows rendering to use Shadow Map Atlas 2024-04-04 12:54:07 +02: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
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
4a42aa8c44 Fix fog to be usable for transparent materials (if enabled)
#1408
2023-12-26 13:54:12 +01:00
Wojtek Figat
60f21d1a92 Update old copyright headers 2023-03-03 17:14:35 +01:00
Wojtek Figat
752fa64cc3 Add support for 32 bit indices for the terrain chunk geometry 2023-02-14 13:14:04 +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
a219a3d2eb Add **Depth Offset to materials** 2023-01-29 22:09:51 +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
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
20661fc902 Fix custom interpolators register index 2022-11-16 09:56:36 +01:00
Wojtek Figat
eb281a7574 Additional improvements to scene rendering 2022-11-15 22:39:03 +01: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
2104dbc682 Add new **Noise** library for C++/C#/VisualScript/HLSL utilities 2022-07-31 22:20:38 +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
033c5eb188 Update assets 2022-07-21 09:43:18 +02:00