Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-08-17 12:09:16 +0300
committerJeroen Bakker <jeroen@blender.org>2020-08-17 12:10:32 +0300
commit68651534c26346015a70775aef1fdadab2946fb6 (patch)
tree44668e5f057268bd1084ae7ec1a6e7b9a9fb0105 /release
parent3d47da9e4c4e492d35ab6f63391d5692ccd7aabc (diff)
Fix T77267: Render EEVEE AO pass when AO disabled.
In EEVEE the AO renderpass influenced other render passes. Until now the pass wasn't selectable when AO was disabled in the scene to remove these render artifacts. This patch allows rendering EEVEE AO pass without enabling it in the scene. It does this by binding a fallback texture that is used by the surface shaders. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7956
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_view_layer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_view_layer.py b/release/scripts/startup/bl_ui/properties_view_layer.py
index 3645f0dc2f2..36bbf78d8ab 100644
--- a/release/scripts/startup/bl_ui/properties_view_layer.py
+++ b/release/scripts/startup/bl_ui/properties_view_layer.py
@@ -111,9 +111,7 @@ class VIEWLAYER_PT_eevee_layer_passes_light(ViewLayerButtonsPanel, Panel):
col.prop(view_layer, "use_pass_emit", text="Emission")
col.prop(view_layer, "use_pass_environment")
col.prop(view_layer, "use_pass_shadow")
- row = col.row()
- row.prop(view_layer, "use_pass_ambient_occlusion", text="Ambient Occlusion")
- row.active = scene_eevee.use_gtao
+ col.prop(view_layer, "use_pass_ambient_occlusion", text="Ambient Occlusion")
class VIEWLAYER_PT_eevee_layer_passes_effects(ViewLayerButtonsPanel, Panel):