SirLynix
949573636d
Graphics: RegisterDebugDrawPipelinePass
2023-11-06 21:30:49 +01:00
SirLynix
db58921cc4
Graphics/PipelinePassList: Add support for attachment proxy
2023-11-06 21:30:49 +01:00
SirLynix
578240cd6f
Graphics/PipelinePassListLoader: Replace Result by exception to improve readability
2023-11-06 21:30:49 +01:00
SirLynix
886991f86d
Graphics: Add PipelinePassList loader (able to load from a file)
...
Fix compilation
2023-11-06 21:30:49 +01:00
SirLynix
ef0a34b7b1
Graphics: Add FramePipelinePassFlag to fix shadows
2023-11-06 21:30:49 +01:00
SirLynix
8fb6ea728d
Graphics: Add data-driven pipeline passes
...
Fix compilation
2023-11-06 21:30:49 +01:00
SirLynix
4995364418
Graphics/UberShader: Don't set debug level to regular by default
2023-11-04 17:55:26 +01:00
SirLynix
5382dd3ccd
Graphics/UberShader: Hotreload shader when an imported module is modified
2023-11-04 17:55:04 +01:00
SirLynix
fa54f1a3e4
Graphics/Material: Fix error message when module is not init
2023-11-04 17:52:47 +01:00
SirLynix
c80e06226f
Graphics/Graphics: Create default depth texture in preferred depth format
2023-11-04 17:52:27 +01:00
SirLynix
4b8a475bbd
Split error macro into two versions (format vs non-formating) to allow format checking at compile-time
2023-11-02 15:18:03 +01:00
SirLynix
2c6b507e62
Graphics/AbstractViewer: Make Project/Unproject const
2023-10-30 18:36:41 +01:00
SirLynix
6a9177a109
Graphics/ShadowMapping: Replace bias by a position scale
...
Inspired by Godot (see https://github.com/godotengine/godot-proposals/issues/4517 )
2023-10-21 19:31:07 +02:00
SirLynix
b04d7662ce
Graphics/SlicedSprite: Fix UV inversion when texture coordinates don't take the whole texture
2023-10-21 19:26:26 +02:00
SirLynix
ca4f1b49ac
Graphics/Shaders: Adjust PBR ambient
2023-10-14 16:44:36 +02:00
SirLynix
f0d809c22a
Graphics/ForwardFramePipeline: Fix depth-prepass
2023-10-14 16:43:58 +02:00
SirLynix
4fc5f68f3d
Graphics/ViewerInstance: Initialize far and near planes
2023-10-14 14:46:49 +02:00
SirLynix
d92a307fb8
Graphics/Shader: Add light shadow support to PBR
2023-10-14 14:46:49 +02:00
SirLynix
ceedfbabaf
Graphics/Shaders: Move shadow factor to a separate file
2023-10-14 14:46:49 +02:00
SirLynix
d6a99da2ea
Graphics/Graphics: Enable depth-clamp on shadow pass if supported
2023-10-14 14:46:49 +02:00
SirLynix
35414ec5d8
Use Nz::Bitset<> for-range
2023-10-14 14:46:49 +02:00
SirLynix
addbb98671
Graphics/Shaders: Add support for DistanceDepth (aka point-light shadow maps)
2023-10-14 14:46:49 +02:00
SirLynix
b3a43eb5ed
Graphics: Improve directional light stabilization and split
2023-10-14 14:46:49 +02:00
SirLynix
96504a0a21
Graphics/FramePipeline: Fix UpdateViewerRenderMask name (=> RenderOrder)
2023-10-14 14:46:49 +02:00
SirLynix
9aebb4f745
Graphics: Rework shadowing (add cascaded shadow mapping)
...
- Add support for per-viewer shadows
- Add cascaded shadow mapping for directional lights (wip)
- Rework the way lights are sent to the shaders (they are now selected once per viewer)
- Fixes PointLight shadow mapping (using a dedicated pass)
- Lights out of frustum for every viewers are no longer processed (wip)
2023-10-14 14:46:49 +02:00
SirLynix
a08850946a
Graphics/FrameGraph: Fix texture 2D array reuse
2023-10-14 14:46:49 +02:00
SirLynix
e10f15243d
Graphics: Replace runtime structs offsets by compile-time struct offsets
...
now that nzsl::FieldOffsets is constexpr this is possible
2023-10-14 14:46:49 +02:00
SirLynix
929b599337
Graphics/ViewerData: Add near and far plane
2023-10-14 14:46:49 +02:00
SirLynix
2a3da7384d
Graphics/RenderSystem: Add support for external swapchains
2023-10-13 20:17:31 +02:00
SirLynix
55b4e47582
Graphics/MaterialInstanceLoader: Add sRGB parameter
2023-10-13 19:56:07 +02:00
SirLynix
c2e47501e4
Graphics: Embed new NZSL modules
2023-10-13 19:56:07 +02:00
SirLynix
d40b8af68d
Graphics: Add gamma correction
2023-10-13 19:56:07 +02:00
SirLynix
b09b4d2419
Graphics: Add a way to set which passes are enabled in a frame pipeline
...
This will be replaced soon with a better system
2023-10-08 23:44:24 +02:00
SirLynix
98fe974fc8
Fix some Vulkan errors
...
Depth buffers were not tagged as output on passes writing on it
Handle holes in clear values
2023-10-08 13:47:15 +02:00
SirLynix
4723c92a65
Graphics/FrameGraph: Reuse memory when building physical passes
2023-09-10 14:46:09 +02:00
SirLynix
85d13ae436
Fix wrong commit
2023-09-08 09:14:13 +02:00
SirLynix
1009b296a1
Update for latest nazarautils
2023-09-08 09:10:22 +02:00
SirLynix
07d3ccd75d
Graphics/UberShader: Log uber-shader compilation errors
2023-09-06 13:23:49 +02:00
SirLynix
7e93666224
Graphics: Give debug names to buffers
2023-09-06 13:23:07 +02:00
SirLynix
1b9c19fd78
Minor fixes
2023-08-31 18:01:59 +02:00
SirLynix
b1487a04fd
Graphics/FrameGraph: Add support for texture arrays
2023-08-31 18:00:58 +02:00
SirLynix
51e0876bed
Renderer/RenderDeviceInfo: Ensure storage/uniform buffer alignment is a power of two
2023-08-31 17:55:15 +02:00
SirLynix
a741672a51
Allow error message to be formatted
2023-08-15 01:10:01 +02:00
SirLynix
a6fbf3c622
Fix previous commit
2023-08-08 18:26:53 +02:00
SirLynix
cf6fdf258f
Graphics: Add new functions to get default material types/presets
2023-08-08 18:17:58 +02:00
SirLynix
fd73d62adf
Graphics/RenderSystem: Fix skeleton not being used when added after graphics component
2023-08-06 10:14:01 +02:00
SirLynix
62adfdd26c
Graphics: Fix warning
2023-08-04 12:24:29 +02:00
SirLynix
816d9d1174
Allow to setup/override module configuration from commandline
2023-07-30 12:44:43 +02:00
SirLynix
4db5b59ec9
Renderer: Refactor transient resources (allow access at any time)
2023-07-21 12:12:10 +02:00
SirLynix
cbe055d412
Core/AppFilesystemComponent: Use hash as key for resource parameters
2023-07-17 19:07:45 +02:00