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
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2012-09-04 20:54:32 +0400
committerThomas Dinges <blender@dingto.org>2012-09-04 20:54:32 +0400
commit0e3f3a0aeff597593037ce7a032fe62fdf192f90 (patch)
treecfb6dfb7256b1086b33a8e2fe0b1fff489e6999a /intern
parent64a4a05d3196447aaa195fc4927438857c6738a2 (diff)
OSL:
* Holdout shader is now working in OSL.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/osl/nodes/node_holdout.osl8
1 files changed, 3 insertions, 5 deletions
diff --git a/intern/cycles/kernel/osl/nodes/node_holdout.osl b/intern/cycles/kernel/osl/nodes/node_holdout.osl
index 69f8d85a82e..aede50c7ca0 100644
--- a/intern/cycles/kernel/osl/nodes/node_holdout.osl
+++ b/intern/cycles/kernel/osl/nodes/node_holdout.osl
@@ -18,11 +18,9 @@
#include "stdosl.h"
-shader node_background(
- color Color = color(0.8, 0.8, 0.8),
- float Strength = 1.0,
- output closure color Background = background())
+shader node_holdout(
+ output closure color Holdout = holdout())
{
- Background = Color*Strength*background();
+
}