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:
@@ -65,16 +65,16 @@ shader node_brick_texture(
|
||||
float Squash = 1.0,
|
||||
int SquashFrequency = 1,
|
||||
point Vector = P,
|
||||
color Color1 = color(0.2, 0.2, 0.2),
|
||||
color Color2 = color(0.8, 0.8, 0.8),
|
||||
color Mortar = color(0.0, 0.0, 0.0),
|
||||
color Color1 = 0.2,
|
||||
color Color2 = 0.8,
|
||||
color Mortar = 0.0,
|
||||
float Scale = 5.0,
|
||||
float MortarSize = 0.02,
|
||||
float Bias = 0.0,
|
||||
float BrickWidth = 0.5,
|
||||
float RowHeight = 0.25,
|
||||
output float Fac = 0.0,
|
||||
output color Color = color(0.2, 0.2, 0.2))
|
||||
output color Color = 0.2)
|
||||
{
|
||||
point p = Vector;
|
||||
|
||||
|
Reference in New Issue
Block a user