OSL Shader Files:

* Simplify default color values, where each component was the same.
* Initialize closures as Null Closure, rather than assigning an existing closure, gets overwritten anyways.
This commit is contained in:
Thomas Dinges
2012-12-11 16:06:03 +00:00
parent 92ae023a90
commit 188718a3d5
42 changed files with 70 additions and 70 deletions

View File

@@ -19,7 +19,7 @@
#include "stdosl.h"
shader node_separate_rgb(
color Image = color(0.8, 0.8, 0.8),
color Image = 0.8,
output float R = 0.0,
output float G = 0.0,
output float B = 0.0)