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:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "stdosl.h"
|
||||
|
||||
volume node_output_volume(closure color Volume = background())
|
||||
volume node_output_volume(closure color Volume = 0)
|
||||
{
|
||||
Ci = Volume;
|
||||
}
|
||||
|
Reference in New Issue
Block a user