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
SirLynix
6308553886
Graphics/TextSprite: Fix AABB when scale is used
2023-07-14 14:18:44 +02:00
SirLynix
4f3542356d
Graphics/RenderSystem: Handle visibility immediatly
...
This fixes an issue when rendermask/scissor box is updated right after making an entity visible (e.g. widgets)
2023-07-02 14:04:00 +02:00
SirLynix
fff4029047
Graphics/ForwardFramePipeline: Fix crash when removing a viewer
2023-07-02 14:02:11 +02:00
SirLynix
b66c50a5da
Graphics/ForwardFramePipeline: Fix light frustum culling
2023-06-28 17:44:34 +02:00
SirLynix
96618cbb5b
Fix some warnings
2023-06-27 19:31:24 +02:00
SirLynix
b01ee18eaf
Graphics/ForwardFramePipeline: Fix frustum test
2023-06-25 10:02:20 +02:00
SirLynix
6778d6ea33
Fix warning
2023-06-21 19:50:09 +02:00
SirLynix
caf8446707
Math: Remove Algorithm file and move string functions to StringExt
2023-06-06 08:59:58 +02:00
SirLynix
b9c1559d97
Random code cleanup
2023-06-05 18:05:16 +02:00
Jérôme Leclercq
1a55b550fb
Improve math module ( #396 )
...
* Improve math module
- Mark almost everything constexpr
- Equality (a == b) is now exact, down to the bit level. If you want approximate equality use the new ApproxEqual method/static method
- Rename Nz::Extend to Nz::Extent
- Removed Make[] and Set[] methods in favor of their static counterpart and operator=
2023-06-02 22:30:51 +02:00
SirLynix
2886a2e0c0
Rename EnumMap to EnumArray after nazarautils update
2023-05-30 13:49:19 +02:00
SirLynix
cff918f6a3
Graphics/ForwardFramePipeline: Fix unregister + register the same renderable pointer not invalidating rendering
...
This can happen with ECS components which are mostly stable in memory, when destroying a graphics entity and recreating it (even with a different mesh) its pointer may not change due to memory recycling, especially on simple scenes.
A UInt8 generation counter helps prevents this
2023-05-30 13:34:41 +02:00
SirLynix
0c7efa05e2
Fix a bunch of warnings
2023-05-30 12:34:38 +02:00
SirLynix
dfe6b2ddcf
Make use of the new EnumMap class
2023-05-30 12:32:37 +02:00
SirLynix
14c9c7fffd
Graphics/GuillotineTextureAtlas: Disable mipmaps for now
2023-05-15 19:02:17 +02:00
SirLynix
1d32af53c5
Renderer: Add mipmaps generation support
2023-05-14 18:55:41 +02:00
SirLynix
e1d38abc04
Graphics/ForwardFramePipeline: Fix crash with multiple viewers
2023-05-12 19:14:18 +02:00
SirLynix
bbbd3f88c1
Core: Add DisabledComponent (to temporary disable an entity)
2023-05-07 22:43:48 +02:00
SirLynix
0c64c3d68b
Graphics/ForwardFramePipeline: Use camera viewport
2023-05-01 18:36:29 +02:00
SirLynix
a578b061b4
Graphics/FrameGraph: Fix bug introduced in 97f1c2c56c
2023-05-01 17:05:07 +02:00
SirLynix
97f1c2c56c
Refactor xmake.lua and make some warnings as errors
2023-04-30 21:11:30 +02:00
SirLynix
2f5db80183
Remove empty source files
2023-04-11 13:51:11 +02:00
SirLynix
2c6191987f
Graphics/PhongMaterial: Add option to disable shadow mapping (and disable it by default on web)
2023-04-10 17:25:18 +02:00
SirLynix
f952c64642
Graphics/BasicMaterial: Fix compilation error when no UV are available ...
...
... but textures are mapped
2023-04-10 17:12:40 +02:00
SirLynix
9b4d297c04
Update includes for new NazaraUtils version
2023-03-19 13:01:56 +01:00