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
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
8 changed files with 22 additions and 22 deletions

View file

@ -695,7 +695,7 @@ void BaseMaterial3D::_update_shader() {
}
if (features[FEATURE_ANISOTROPY]) {
code += "uniform float anisotropy_ratio : hint_range(0,256);\n";
code += "uniform sampler2D texture_flowmap : hint_aniso," + texfilter_str + ";\n";
code += "uniform sampler2D texture_flowmap : hint_anisotropy," + texfilter_str + ";\n";
}
if (features[FEATURE_AMBIENT_OCCLUSION]) {
code += "uniform sampler2D texture_ambient_occlusion : hint_white, " + texfilter_str + ";\n";