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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-06-29 16:02:09 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-06-29 16:43:55 +0300
commitccacf3ae3cff9e0291a3fa77991c4a94edf5043f (patch)
tree587ed2a15b071708d242a4f3f434ede71759aee9 /source/blender
parentb3727668168075137f2ded11d7a7821548e4451d (diff)
Cycles: change AO node default to 16 samples and only local off.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c4
1 files changed, 2 insertions, 2 deletions
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 */