mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
parent
4f9b6d9a3f
commit
92e9cca5be
8 changed files with 22 additions and 22 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue