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-24 13:24:30 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-06-24 13:24:30 +0300
commit574c716f2da740959a8cc593d8253c173a5c6d5c (patch)
tree18d3b31f795ffbab9f72607fd4b03dba672858bc /intern/cycles/kernel/shaders
parente61bbc00b759b958c729ac3b014944416edd5d36 (diff)
Cycles: change AO node color default to 1.0.
Diffstat (limited to 'intern/cycles/kernel/shaders')
-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 d7ffa3c1606..865ad4c9fb9 100644
--- a/intern/cycles/kernel/shaders/node_ambient_occlusion.osl
+++ b/intern/cycles/kernel/shaders/node_ambient_occlusion.osl
@@ -17,13 +17,13 @@
#include "stdosl.h"
shader node_ambient_occlusion(
- color ColorIn = color(0.8, 0.8, 0.8),
+ color ColorIn = color(1.0, 1.0, 1.0),
int samples = 8,
float Distance = 1.0,
normal Normal = N,
int inside = 0,
int only_local = 1,
- output color ColorOut = color(0.8, 0.8, 0.8),
+ output color ColorOut = color(1.0, 1.0, 1.0),
output float AO = 1.0)
{
int global_radius = (Distance == 0.0 && !isconnected(Distance));