fix triplanar mapping for AO
This commit is contained in:
parent
d1dc28e46c
commit
f15cabcfd2
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ void BaseMaterial3D::_update_shader() {
|
|||
code += "uniform sampler2D texture_flowmap : hint_aniso," + texfilter_str + ";\n";
|
||||
}
|
||||
if (features[FEATURE_AMBIENT_OCCLUSION]) {
|
||||
code += "uniform sampler2D texture_ambient_occlusion : hint_white;\n";
|
||||
code += "uniform sampler2D texture_ambient_occlusion : hint_white, " + texfilter_str + ";\n";
|
||||
code += "uniform vec4 ao_texture_channel;\n";
|
||||
code += "uniform float ao_light_affect;\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue