From 92e9cca5be9158272329a3cd71ffda7dc09bb0cd Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 9 Dec 2021 20:29:06 +0100 Subject: Rename `hint_aniso` to `hint_anisotropy` in the shader language The word "anisotropy" is used in full form in BaseMaterial3D's anisotropy-related properties. --- servers/rendering/renderer_rd/renderer_storage_rd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers/rendering/renderer_rd/renderer_storage_rd.cpp') diff --git a/servers/rendering/renderer_rd/renderer_storage_rd.cpp b/servers/rendering/renderer_rd/renderer_storage_rd.cpp index 79728169ae..321d86ffda 100644 --- a/servers/rendering/renderer_rd/renderer_storage_rd.cpp +++ b/servers/rendering/renderer_rd/renderer_storage_rd.cpp @@ -2821,7 +2821,7 @@ void RendererStorageRD::MaterialData::update_textures(const Maptexture_rd_get_default(DEFAULT_RD_TEXTURE_NORMAL); } break; - case ShaderLanguage::ShaderNode::Uniform::HINT_ANISO: { + case ShaderLanguage::ShaderNode::Uniform::HINT_ANISOTROPY: { rd_texture = singleton->texture_rd_get_default(DEFAULT_RD_TEXTURE_ANISO); } break; default: { -- cgit v1.2.3