Dennis Brakhane
37ae4a6eba
wip
2025-11-03 20:15:54 +01:00
Dennis Brakhane
07ab8608f7
cmake: add flags to enable sanitizers
...
Sanitizers added: address, undefined behaviour, thread, leak
also rename WICKED_USE_{IPO,SYMLINKS} to WICKED_ENABLE_{IPO,SYMLINKS}
for consistency with the other options
2025-11-03 18:37:11 +01:00
Turánszki János
07486015ce
fix for depth mismatch issue on Intel gpu with provoking index buffer #1279
2025-11-03 11:16:31 +01:00
Dennis Brakhane
d0c6f9c9ec
linux: work around DirectXShaderCompiler bug ( #1276 )
...
microsoft/DirectXShaderCompiler#7869 prevents us from using address
sanitizer if LC_ALL isn't set to en_US.UTF-8. So work around that by
temporarily setting it before calling the compile method which calls
the problematic MultiByteToWideChar method.
2025-11-03 06:34:06 +01:00
Stanislav Denisov
8ff4ca931b
Fix editor window captures input while inactive ( #1275 )
2025-11-03 06:33:27 +01:00
Dennis Brakhane
7a53e1439c
remove undefined behaviour ( #1278 )
...
technically memcpy with nullptr src or dst is not safe, even if size is
zero.
2025-11-03 06:32:25 +01:00
Dennis Brakhane
5d271bf0a2
archive: don't use undefined behaviour ( #1277 )
...
unaligned stores are technically undefinied behaviour, even though they
are allowed on x86. But replacing those with memcpy should result in the
same code on x86 anyway, as it's optimized away by the compiler, and
will not cause issues on other architectures that don't support it.
2025-11-03 06:31:17 +01:00
Turánszki János
4fd14334d8
vulkan buffer was not put on host correctly causing cpu performance issue #1274
2025-11-02 17:08:47 +01:00
Turánszki János
0d9be71755
ecs lookup table optimization ( #1272 )
2025-11-02 10:24:01 +01:00
Turánszki János
a6adfc1284
block allocator should respect alignment of items
2025-11-02 08:49:37 +01:00
Turánszki János
6caaa292dc
path tracer fix
2025-11-02 08:18:13 +01:00
Stanislav Denisov
787c6802f4
Fix editor layout parameters ( #1270 )
2025-11-01 08:30:10 +01:00
Dennis Brakhane
eb7e2ae51f
fix alignment of colliders_{c,g}pu ( #1268 )
...
They are now 32 byte aligned, but since we store them manually
in big contiguious memory region, we have to take care of the
alignment ourselves.
Fixes #1265
2025-10-31 18:22:49 +01:00
Stanislav Denisov
1a765e0582
Fix unique texture collection ( #1267 )
2025-10-31 15:37:48 +01:00
Stanislav Denisov
ee82bfd7bc
Implement texture picker ( #1264 )
2025-10-31 07:38:58 +01:00
Turánszki János
7b3aab5411
ecs refactor: use INVALID_INDEX for non-existent indices
2025-10-31 07:05:06 +01:00
Stanislav Denisov
62aaeb0091
Implement parent display with depth ( #1266 )
2025-10-31 07:01:58 +01:00
Turánszki János
932c90b91d
optimization for structure memory layouts
2025-10-30 09:35:29 +01:00
Stanislav Denisov
ac34ab0f00
Implement entity tree sorting options ( #1263 )
2025-10-30 07:12:03 +01:00
Dennis Brakhane
764fd0c5ca
fix exit button on Windows, and in edge cases on Linux ( #1262 )
...
After #1258 , the exit button (not close) didn't work at all in Windows
and on Linux it didn't actually cause the application to close if an
untitled file had been saved.
Rewrite the logic to work both for close as well as exit.
2025-10-30 07:09:46 +01:00
Martin Knecht
ff9a160535
Add question to SDL to mirror windows behaviour ( #1258 )
...
* Add question to SDL to mirror windows behaviour
* don't exit until saving is done
* fixes
---------
Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com >
Co-authored-by: Dennis Brakhane <brakhane@gmail.com >
2025-10-29 06:53:38 +01:00
Dennis Brakhane
6cb6fab457
cmake: add manifest to windows build ( #1261 )
2025-10-29 06:51:41 +01:00
Turánszki János
01c9c5efca
optimization of sampler access in forward passes and some other updates ( #1257 )
2025-10-28 07:51:26 +01:00
Stanislav Denisov
584ed3d5ab
Fix camera reset for untitled scenes ( #1259 )
2025-10-28 07:05:13 +01:00
Stanislav Denisov
53fb80f377
Implement move to editor camera view for transforms ( #1260 )
2025-10-28 06:35:35 +01:00
Stanislav Denisov
02e27e3644
Supply a manifest file to the editor ( #1256 )
2025-10-27 17:11:21 +01:00
Stanislav Denisov
6f4441ad90
Implement the application exit method ( #1255 )
2025-10-27 07:23:21 +01:00
Turánszki János
f807d9f69d
added ability to choose gpu by vendor preference when initializing the graphics device
2025-10-26 14:50:58 +01:00
Stanislav Denisov
88a9aab75a
Fix the chromatic aberration sampling ( #1254 )
2025-10-26 14:11:27 +01:00
Turánszki János
28f0330f97
fix for taa alphatocoverage, alphatest value shouldn't be taken into account for opacity #1252
2025-10-23 13:33:47 +02:00
Turánszki János
79cb603fb3
shader codegen improvement for pows
2025-10-22 17:47:46 +02:00
Stanislav Denisov
0bdd7a2a78
Fix out of bounds crash in SRV and UAV subresource vectors ( #1250 )
...
* Fix out of bounds crash in SRV and UAV subresource vectors
* Remove redundant type casting
2025-10-22 13:15:21 +02:00
Stanislav Denisov
301c3b9517
Fix stale pointers crash in terrain virtual textures ( #1251 )
2025-10-22 08:38:01 +02:00
Pescador Barquero
21e38d8531
Initial FreeBSD support ( #1214 )
2025-10-21 16:41:56 +02:00
Turánszki János
3507e1872f
added additional safety against nans for path tracing
2025-10-21 08:43:32 +02:00
Turánszki János
537d60c29a
initial water shader handling for path tracing
2025-10-20 09:35:02 +02:00
Dennis Brakhane
83032f6da1
sdl: use keyboard layout for letters ( #1248 )
...
The windows version already uses the local layout, so that eg. on QWERTZ
keyboard, undo is still CTRL-Z even though Z is not the key next to X.
SDL didn't do this, and forced people to press CTRL-Y instead.
This change also means that AZERTY people will have a hard time navigating
now, but it's consistent with the Windows version.
Fixes #1246
2025-10-19 18:33:05 +02:00
Turánszki János
f099d9945b
fix for render logic when scene update is disabled for editor camera preview
2025-10-18 10:35:25 +02:00
Turánszki János
41b405c4ee
fixed issue with dedicated shadow and shadow atlas packing
2025-10-18 10:24:07 +02:00
Stanislav Denisov
ede31fdd69
Fix edge sampling in sharpen shader ( #1245 )
...
Fix edge sampling in sharpen shader.
2025-10-18 08:31:11 +02:00
Stanislav Denisov
787d0afaa7
Implement smooth light shaft fading ( #1242 )
...
* Implement smooth light shaft fading
* Simplify the light shaft fade factor logic
* Unify the light shaft fading parameters
* Use a fixed fade threshold
* Restore config.ini
2025-10-17 16:25:27 +02:00
Stanislav Denisov
f635f08e04
Fix terrain generation restores deleted materials as dummy entities ( #1243 )
...
* Fix terrain grass restore
* Fix terrain generation restores deleted materials as dummy entities
2025-10-17 08:06:11 +02:00
Turánszki János
334cdc881b
editor: camera preview render disabled when camera wnd is collapsed #1244
2025-10-17 08:01:46 +02:00
Stanislav Denisov
03ce3f0009
Add parameters to show\hide mesh and internal materials ( #1240 )
...
* Add internal material flag
* Add parameters to show\hide internal and transform materials
* Filter materials by meshes instead
2025-10-16 07:48:17 +02:00
Stanislav Denisov
a00fb8efc2
Implement a dialog for unsaved changes ( #1241 )
...
* Track unsaved scene changes
* Implement a dialog for unsaved changes
* Exclude all selection actions from scene change tracking
2025-10-15 17:39:15 +02:00
Turánszki János
7318056235
taa stochastic alpha will be disabled unless alpharef or dithering is used
2025-10-14 07:50:18 +02:00
Stanislav Denisov
d022decb17
Add editor options to disable rounded corners and gradients ( #1239 )
...
* Add editor options to disable rounded corners and gradients
* Use checkbox states to get editor option values
2025-10-13 16:40:22 +02:00
Turánszki János
610da2984c
disable water in raytraced shadow casting
2025-10-12 10:41:17 +02:00
Turánszki János
22e7be4114
provoking index stride fix
2025-10-10 07:59:55 +02:00
Stanislav Denisov
295b708a81
Improve the logic for auto adding the weather component to the terrain ( #1238 )
2025-10-10 07:49:00 +02:00