1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Rename hint_aniso to hint_anisotropy in the shader language

The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
This commit is contained in:
Hugo Locurcio
2021-12-09 20:29:06 +01:00
parent 4f9b6d9a3f
commit 92e9cca5be
8 changed files with 22 additions and 22 deletions

View File

@@ -2821,7 +2821,7 @@ void RendererStorageRD::MaterialData::update_textures(const Map<StringName, Vari
case ShaderLanguage::ShaderNode::Uniform::HINT_NONE: {
rd_texture = singleton->texture_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: {