예제 #1
0
 /// <summary>
 /// Create a new Transparent BSDF closure. Default Color is white
 /// </summary>
 public TransparentBsdfNode(string name)
     : base(ShaderNodeType.Transparent, name)
 {
     inputs = new TransparentBsdfInputs(this);
     outputs = new TransparentBsdfOutputs(this);
     ins.Color.Value = new float4(1.0f, 1.0f, 1.0f, 1.0f);
 }
예제 #2
0
 /// <summary>
 /// Create a new Transparent BSDF closure. Default Color is white
 /// </summary>
 public TransparentBsdfNode(string name) :
     base(ShaderNodeType.Transparent, name)
 {
     inputs          = new TransparentBsdfInputs(this);
     outputs         = new TransparentBsdfOutputs(this);
     ins.Color.Value = new float4(1.0f, 1.0f, 1.0f, 1.0f);
 }