EEVEE: Rename and move old gtao properties

- Move `gtao_distance` to view layer and rename to
  `ambient_occlusion_distance` (API change).
- Remove `gtao_quality` from the RNA (API change).
- Remove `use_gtao` (unused) from the RNA (API change).
- Rename `gtao_focus` to `fast_gi_bias` in the DNA (no API
  change).
- Rename `gtao_resolution` to `fast_gi_resolution` in the
  DNA (no API change).

Pull Request: https://projects.blender.org/blender/blender/pulls/140298
This commit is contained in:
Clément Foucault
2025-06-13 15:36:17 +02:00
committed by Clément Foucault
parent a996490b83
commit 1c29a2e2e5
19 changed files with 77 additions and 48 deletions

View File

@@ -83,7 +83,8 @@ def setup():
eevee.overscan_size = 50.0
# Ambient Occlusion Pass
eevee.gtao_distance = 1
for view_layer in scene.view_layers:
view_layer.eevee.ambient_occlusion_distance = 1
# Lights
eevee.light_threshold = 0.001