* Holdout shader is now working in OSL.
This commit is contained in:
Thomas Dinges 2012-09-04 16:54:32 +00:00
parent 64a4a05d31
commit 0e3f3a0aef

@ -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();
}