forked from bartvdbraak/blender
OSL:
* Holdout shader is now working in OSL.
This commit is contained in:
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();
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user