예제 #1
0
 public VelvetBsdfNode(string name) :
     base(ShaderNodeType.Velvet, name)
 {
     inputs          = new VelvetBsdfInputs(this);
     outputs         = new VelvetBsdfOutputs(this);
     ins.Color.Value = new float4(0.0f, 0.0f, 0.0f, 1.0f);
     ins.Sigma.Value = 0.0f;
 }
예제 #2
0
 public VelvetBsdfNode(string name)
     : base(ShaderNodeType.Velvet, name)
 {
     inputs = new VelvetBsdfInputs(this);
     outputs = new VelvetBsdfOutputs(this);
     ins.Color.Value = new float4(0.0f, 0.0f, 0.0f, 1.0f);
     ins.Sigma.Value = 0.0f;
 }