Commit Graph

4837 Commits

Author SHA1 Message Date
Stanislav Denisov 8aeb2f7ad4 Implement material presets (#1360) 2025-12-11 18:37:47 +01:00
Dennis Brakhane 92e86c5a69 cmake: fix typo (#1359) 2025-12-11 18:36:59 +01:00
Dennis Brakhane 4d2ca34e6f gh actions: disable IPO for now (#1358) 2025-12-11 18:36:42 +01:00
Turánszki János adc9aeefba renderer: getting shader from outside must be only when background shader loading threads have finished 2025-12-11 08:37:32 +01:00
Dominik Madarász dc9bd881d0 local water body buoyancy support (#1357) 2025-12-11 08:02:27 +01:00
Dennis Brakhane be6756ae01 cmake: add option to compile and embed shaders during the build process (#1356)
This adds an option WICKED_EMBED_SHADERS (off by default). When ON,
offlineshadercompiler will be compiled first and run every time
a *.hlsl? file changes, the resulting wiShaderDump.h will be put
in the build directory, and then wiRenderer will be compiled again with
the build directory in the include path; this will cause the
__hasinclude to trigger embedded shaders mode.

A nice side effect is that the hacky solution to handle the __hasinclude
is not needed anymore, all dependencies are now handled correctly.

offlineshadercompiler was also extended with a "quiet" option to
suppress messages during compilation.
2025-12-11 07:49:43 +01:00
Turánszki János 3cf2e1ab4a updated meshoptimizer for 1.0 (#1355) 2025-12-10 17:24:59 +01:00
Stanislav Denisov cb90f0bca6 Fix race condition in loading content into editor scene tabs (#1352) 2025-12-10 07:37:38 +01:00
Stanislav Denisov e595cae96b Clean up the shaders folder when cleaning the editor project (#1354) 2025-12-10 07:35:44 +01:00
Stanislav Denisov d897492060 Fix zero bone opacity doesn’t disable bone picking (#1353) 2025-12-10 07:35:08 +01:00
Turánszki János a462b19fe4 Added support for shader model 6.6 direct heap descriptor indexing (#1351) 2025-12-09 12:42:31 +01:00
Stanislav Denisov 0d66e744e0 Implement a thumbnail renderer for prefab scenes (#1350) 2025-12-09 08:54:47 +01:00
Turánszki János a5fcda4e34 virtual texture fix inside envprobe rendering 2025-12-08 08:16:24 +01:00
kxcrl fee043c591 Add LOD to RenderBatch sorting (#1349) 2025-12-08 07:41:07 +01:00
Dennis Brakhane b8f0852fce vulkan: increase timeout to 3s (#1348)
2s timeout is a bit low on my igpu, 3s seems to work better.
2025-12-07 13:23:48 +01:00
Turánszki János 7ecbc25ab8 gfx allocators update v0.71.864 2025-12-06 08:57:16 +01:00
Turánszki János 507ba798a0 arm64 build support (#1345) 2025-12-04 14:47:12 +01:00
Stanislav Denisov 0f85565b49 Implement the force unlit option (#1344) 2025-12-03 23:47:31 +01:00
Turánszki János 1a60397492 material window updates 2025-12-03 09:30:49 +01:00
Turánszki János 60c99f2524 texture picker will query from all resources, not just materials 2025-12-03 08:56:39 +01:00
Turánszki János 33cffdde80 gui fix: combobox filter sometimes deactivacted early 2025-12-02 16:05:19 +01:00
Turánszki János a5162e0496 added support for shader-readable swapchain (#1343) 2025-12-01 09:45:27 +01:00
Stanislav Denisov b792147718 Implement async logging (#1341) 2025-11-30 08:26:36 +01:00
Turánszki János 3630d2dee9 resource relative path fix when drive letter changes 2025-11-30 08:20:17 +01:00
Turánszki János f0203679f5 dx12: root descriptor can use buffer offset 2025-11-29 19:13:34 +01:00
Turánszki János c481812ebf multi-linked constraint self intersection fix 2025-11-29 11:45:36 +01:00
Stanislav Denisov ef1267127b Add the texture slot name to the texture picker (#1340) 2025-11-29 10:03:56 +01:00
Dennis Brakhane 8c9fb83cc8 workaroud lua crash on win-clang (#1338)
No idea what's happening yet and is probably not the correct way to fix it,
but it works for now
2025-11-29 10:03:20 +01:00
Stanislav Denisov 32fbee5613 Implement persistence for the editor window's size (#1336)
Implement persistence for the window size
2025-11-26 16:16:30 +01:00
Turánszki János cf6f3434e4 some clang warning fixes 2025-11-26 09:41:02 +01:00
Turánszki János 973c2850f9 made some internal structures final 2025-11-26 09:04:06 +01:00
Dennis Brakhane 6e7960e89b use const& and std::move where possible to avoid copying (#1332) 2025-11-26 08:46:02 +01:00
Stanislav Denisov 688fab2d8f Allow entities to be duplicated without GUI focus (#1330) 2025-11-26 08:25:13 +01:00
Stanislav Denisov 57e057d711 Fix right-clicking the viewport doesn’t deactivate input fields (#1334)
Fix: right-clicking the viewport doesn’t deactivate input fields
2025-11-26 08:24:28 +01:00
Dennis Brakhane 051bfb6020 handle self-assign (#1331) 2025-11-26 08:21:12 +01:00
Turánszki János fc6cb8cba7 renderpath id experiment with stackstring (#1329) 2025-11-26 08:15:51 +01:00
Turánszki János 425fb854cd added compiler type logging to startup 2025-11-25 11:42:48 +01:00
Turánszki János ffcc3abdf6 custom shared_ptr updates (#1324) 2025-11-25 09:43:19 +01:00
Dennis Brakhane c45dc7f58f cmake: also build using clang on windows (#1325)
also update CCache to newest version
2025-11-24 15:49:05 +01:00
Turánszki János 90e94ed473 placement new is allowed for gfx objects 2025-11-24 09:28:43 +01:00
Turánszki János 40f862135b windows cmake test build (#1321) 2025-11-24 09:27:35 +01:00
Dennis Brakhane 16a1942975 fix typo in #1322 (#1323) 2025-11-23 16:38:54 +01:00
Turánszki János 2f681cb7eb looks like exceptions were not disabled properly, now they are 2025-11-23 16:25:29 +01:00
Dennis Brakhane e1dc87e44a prevent calling destructor when original refcount was 0 (#1322)
Fixes #1320
2025-11-23 16:15:30 +01:00
Turánszki János 7a5ea2f64f pooled shared ptr (#1316) 2025-11-22 17:12:26 +01:00
Dennis Brakhane 060164c1f1 make bind_ptrs constant (#1319) 2025-11-22 07:37:07 +01:00
Stanislav Denisov bad16f7aa1 Register the exit function for Lua (#1318) 2025-11-21 16:45:40 +01:00
Stanislav Denisov 9ddad740b8 Expose the character collision tolerance option (#1317)
* Expose the character collision tolerance option

* Expose the character collision tolerance option to Lua
2025-11-21 16:45:17 +01:00
Turánszki János 93278bea0e removed virtual tables from gfx objects, struct size reductions (#1315) 2025-11-20 18:10:59 +01:00
Turánszki János 14b9ee5d50 invalidate terrain chunks that are affected by a spline that was removed #1314 2025-11-20 08:00:25 +01:00