Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion editor/export/editor_export_platform_apple_embedded.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ void EditorExportPlatformAppleEmbedded::get_preset_features(const Ref<EditorExpo
r_features->push_back("etc2");
r_features->push_back("astc");

if (p_preset->get("shader_baker/enabled")) {
if (!p_preset->is_dedicated_server() && p_preset->get("shader_baker/enabled")) {
// Don't use the shader baker if exporting as a dedicated server, as no rendering is performed.
r_features->push_back("shader_baker");
}

Expand Down
3 changes: 2 additions & 1 deletion editor/export/editor_export_platform_pc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ void EditorExportPlatformPC::get_preset_features(const Ref<EditorExportPreset> &
r_features->push_back("etc2");
r_features->push_back("astc");
}
if (p_preset->get("shader_baker/enabled")) {
if (!p_preset->is_dedicated_server() && p_preset->get("shader_baker/enabled")) {
// Don't use the shader baker if exporting as a dedicated server, as no rendering is performed.
r_features->push_back("shader_baker");
}
// PC platforms only have one architecture per export, since
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,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="user_data_backup/allow" type="bool" setter="" getter="">
If [code]true[/code], allows the application to participate in the backup and restore infrastructure.
Expand Down
3 changes: 2 additions & 1 deletion platform/android/export/export_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1977,7 +1977,8 @@ void EditorExportPlatformAndroid::get_preset_features(const Ref<EditorExportPres
r_features->push_back("etc2");
r_features->push_back("astc");

if (p_preset->get("shader_baker/enabled")) {
if (!p_preset->is_dedicated_server() && p_preset->get("shader_baker/enabled")) {
// Don't use the shader baker if exporting as a dedicated server, as no rendering is performed.
r_features->push_back("shader_baker");
}

Expand Down
1 change: 1 addition & 0 deletions platform/ios/doc_classes/EditorExportPlatformIOS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,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="ssh_remote_deploy/cleanup_script" type="String" setter="" getter="">
Script code to execute on the remote host when app is finished.
Expand Down
1 change: 1 addition & 0 deletions platform/macos/doc_classes/EditorExportPlatformMacOS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,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="ssh_remote_deploy/cleanup_script" type="String" setter="" getter="">
Script code to execute on the remote host when app is finished.
Expand Down
3 changes: 2 additions & 1 deletion platform/macos/export/export_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ void EditorExportPlatformMacOS::get_preset_features(const Ref<EditorExportPreset
ERR_PRINT("Invalid architecture");
}

if (p_preset->get("shader_baker/enabled")) {
if (!p_preset->is_dedicated_server() && p_preset->get("shader_baker/enabled")) {
// Don't use the shader baker if exporting as a dedicated server, as no rendering is performed.
r_features->push_back("shader_baker");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,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="user_data/accessible_from_files_app" type="bool" setter="" getter="">
If [code]true[/code], the app "Documents" folder can be accessed via "Files" app. See [url=https://developer.apple.com/documentation/bundleresources/information_property_list/lssupportsopeningdocumentsinplace]LSSupportsOpeningDocumentsInPlace[/url].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down