OSL:
authorThomas Dinges <blender@dingto.org>
Tue, 4 Sep 2012 16:54:32 +0000 (16:54 +0000)
committerThomas Dinges <blender@dingto.org>
Tue, 4 Sep 2012 16:54:32 +0000 (16:54 +0000)
* Holdout shader is now working in OSL.

intern/cycles/kernel/osl/nodes/node_holdout.osl

index 69f8d85a82eee4f5016645abd189fbeb1601bcc8..aede50c7ca0dddf3b53912c72c0199c2b2b17506 100644 (file)
 
 #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();
+
 }