Files
WickedEngine/Editor
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
..
2025-05-01 09:15:24 +02:00
2025-08-14 15:27:12 +02:00
2024-07-25 18:59:46 +02:00
2024-07-25 18:59:46 +02:00
2024-07-25 18:59:46 +02:00
2025-03-10 18:23:31 +01:00
2024-07-25 18:59:46 +02:00
2025-03-10 18:23:31 +01:00
2025-06-19 09:13:08 +02:00
2025-06-03 19:34:47 +02:00
2025-08-14 15:27:12 +02:00
2025-07-23 08:25:08 +02:00
2025-06-07 17:38:36 +02:00
2025-07-19 09:31:37 +02:00
2025-08-14 15:27:12 +02:00
2025-12-03 09:30:49 +01:00
2025-08-14 15:27:12 +02:00
2025-08-14 15:27:12 +02:00
2025-08-14 15:27:12 +02:00
2025-07-13 07:08:58 +02:00
2025-11-07 08:58:06 +01:00
2025-03-09 18:17:31 +01:00
2025-06-07 17:38:36 +02:00