Standardize terms for renderers in error strings

Use "Forward+", "Mobile", "Compatibility", and "renderer" or "rendering method".
This commit is contained in:
tetrapod00
2024-11-01 17:00:35 -07:00
parent 0f5f3bc954
commit 899f5151c3
18 changed files with 39 additions and 39 deletions

View File

@ -9686,7 +9686,7 @@ Error ShaderLanguage::_parse_shader(const HashMap<StringName, FunctionInfo> &p_f
--texture_uniforms;
--texture_binding;
if (OS::get_singleton()->get_current_rendering_method() != "forward_plus") {
_set_error(RTR("'hint_normal_roughness_texture' is only available when using the Forward+ backend."));
_set_error(RTR("'hint_normal_roughness_texture' is only available when using the Forward+ renderer."));
return ERR_PARSE_ERROR;
}
if (shader_type_identifier != StringName() && String(shader_type_identifier) != "spatial") {