diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-12-09 20:29:06 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-12-10 17:41:17 +0100 |
commit | 92e9cca5be9158272329a3cd71ffda7dc09bb0cd (patch) | |
tree | 89ebb7641d0466241482df19211256cba9fcbd42 /scene/resources/material.cpp | |
parent | 4f9b6d9a3f7ba9315312c563ca6f805b60b635ab (diff) | |
download | redot-engine-92e9cca5be9158272329a3cd71ffda7dc09bb0cd.tar.gz |
Rename `hint_aniso` to `hint_anisotropy` in the shader language
The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
Diffstat (limited to 'scene/resources/material.cpp')
-rw-r--r-- | scene/resources/material.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index 98bda4ad1b..87aee0aae4 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -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"; |