diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-07-28 18:58:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-28 18:58:12 +0200 |
| commit | 80ceab277bb730e22a2c60eacb0d8b7066782dc8 (patch) | |
| tree | 9e8c3e4bc23efb7126b20e99ab56ee5cd2e57059 /editor/plugins/node_3d_editor_plugin.cpp | |
| parent | c4d7a5d22a8c4f88966d43076266f26a52987bf6 (diff) | |
| parent | e24029edc35d3c3ae218579d9a8d5a912975b9c2 (diff) | |
Merge pull request #61953 from Calinou/mipmap-bias-allow-without-fsr
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 0cc8a22c4d..ffc60f9664 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -2425,8 +2425,8 @@ void Node3DEditorViewport::_project_settings_changed() { const float fsr_sharpness = GLOBAL_GET("rendering/scaling_3d/fsr_sharpness"); viewport->set_fsr_sharpness(fsr_sharpness); - const float fsr_mipmap_bias = GLOBAL_GET("rendering/scaling_3d/fsr_mipmap_bias"); - viewport->set_fsr_mipmap_bias(fsr_mipmap_bias); + const float texture_mipmap_bias = GLOBAL_GET("rendering/textures/default_filters/texture_mipmap_bias"); + viewport->set_texture_mipmap_bias(texture_mipmap_bias); } void Node3DEditorViewport::_notification(int p_what) { |