1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-30 18:30:54 +00:00

Make all unsupported renderer message features consistently warnings

Previously, some messages indicating a lack of support were errors
instead of warnings. Some messages were also not shown when running
a release export template.

- Use "renderer" terminology consistently instead of "rendering method".
This commit is contained in:
Hugo Locurcio
2025-10-19 00:19:40 +02:00
parent f5918a9d35
commit 2cf7af9149
12 changed files with 47 additions and 31 deletions

View File

@@ -3109,7 +3109,7 @@ void SceneShaderData::set_code(const String &p_code) {
#ifdef DEBUG_ENABLED
if (uses_particle_trails) {
WARN_PRINT_ONCE_ED("Particle trails are only available when using the Forward+ or Mobile renderers.");
WARN_PRINT_ONCE_ED("Particle trails are only available when using the Forward+ or Mobile renderer.");
}
if (uses_sss) {
@@ -3121,7 +3121,7 @@ void SceneShaderData::set_code(const String &p_code) {
}
if (uses_normal_texture) {
WARN_PRINT_ONCE_ED("Reading from the normal-roughness texture is only available when using the Forward+ or Mobile renderers.");
WARN_PRINT_ONCE_ED("Reading from the normal-roughness texture is only available when using the Forward+ or Mobile renderer.");
}
#endif