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:
committed by
Clément Foucault
parent
a996490b83
commit
1c29a2e2e5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user