From ccacf3ae3cff9e0291a3fa77991c4a94edf5043f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 29 Jun 2018 15:02:09 +0200 Subject: Cycles: change AO node default to 16 samples and only local off. --- source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c b/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c index b2b1bd3b6a7..995ff0cfd40 100644 --- a/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c +++ b/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c @@ -49,8 +49,8 @@ static int node_shader_gpu_ambient_occlusion(GPUMaterial *mat, bNode *UNUSED(nod static void node_shader_init_ambient_occlusion(bNodeTree *UNUSED(ntree), bNode *node) { - node->custom1 = 8; /* samples */ - node->custom2 = SHD_AO_LOCAL; + node->custom1 = 16; /* samples */ + node->custom2 = 0; } /* node type definition */ -- cgit v1.2.3