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:
@@ -50,7 +50,7 @@ shader node_noise_texture(
|
||||
float Detail = 2.0,
|
||||
point Vector = P,
|
||||
output float Fac = 0.0,
|
||||
output color Color = color(0.2, 0.2, 0.2))
|
||||
output color Color = 0.0)
|
||||
{
|
||||
point p = Vector;
|
||||
|
||||
|
Reference in New Issue
Block a user