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 /intern/cycles/kernel
parentb3727668168075137f2ded11d7a7821548e4451d (diff)
Cycles: change AO node default to 16 samples and only local off.
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r--intern/cycles/kernel/shaders/node_ambient_occlusion.osl4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/shaders/node_ambient_occlusion.osl b/intern/cycles/kernel/shaders/node_ambient_occlusion.osl
index 865ad4c9fb9..825cccd59ce 100644
--- a/intern/cycles/kernel/shaders/node_ambient_occlusion.osl
+++ b/intern/cycles/kernel/shaders/node_ambient_occlusion.osl
@@ -18,11 +18,11 @@
shader node_ambient_occlusion(
color ColorIn = color(1.0, 1.0, 1.0),
- int samples = 8,
+ int samples = 16,
float Distance = 1.0,
normal Normal = N,
int inside = 0,
- int only_local = 1,
+ int only_local = 0,
output color ColorOut = color(1.0, 1.0, 1.0),
output float AO = 1.0)
{