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

@@ -100,6 +100,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+ and 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="ssh_remote_deploy/cleanup_script" type="String" setter="" getter="">
Script code to execute on the remote host when app is finished.