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:
@@ -24,8 +24,8 @@ shader node_hsv(
|
||||
float Saturation = 1.0,
|
||||
float Value = 1.0,
|
||||
float Fac = 0.5,
|
||||
color ColorIn = color(0.0, 0.0, 0.0),
|
||||
output color ColorOut = color(0.0, 0.0, 0.0))
|
||||
color ColorIn = 0.0,
|
||||
output color ColorOut = 0.0)
|
||||
{
|
||||
color Color = rgb_to_hsv(ColorIn);
|
||||
|
||||
|
Reference in New Issue
Block a user