You've already forked godot
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user