Disable shader baker when exporting as dedicated server

Dedicated server exports don't perform any rendering, so there's no point
in including baked shaders. Doing so saves a few MBs in PCK size if the
shader baker was enabled in the export options.
This commit is contained in:
Hugo Locurcio
2025-11-04 00:25:08 +01:00
parent 06faefc9f4
commit 09f9dc157a
10 changed files with 14 additions and 4 deletions

View File

@@ -730,6 +730,7 @@
</member>
<member name="shader_baker/enabled" type="bool" setter="" getter="">
If [code]true[/code], shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers.
[b]Note:[/b] When exporting as a dedicated server, the shader baker is always disabled since no rendering is performed.
</member>
<member name="storyboard/custom_bg_color" type="Color" setter="" getter="">
A custom background color of the storyboard launch screen.