示例#1
0
 public DiffuseBsdfNode(string name) :
     base(ShaderNodeType.Diffuse, name)
 {
     inputs              = new DiffuseBsdfInputs(this);
     outputs             = new DiffuseBsdfOutputs(this);
     ins.Color.Value     = new float4(0.0f, 0.0f, 0.0f, 1.0f);
     ins.Roughness.Value = 0.0f;
 }
示例#2
0
 public DiffuseBsdfNode(string name)
     : base(ShaderNodeType.Diffuse, name)
 {
     inputs = new DiffuseBsdfInputs(this);
     outputs = new DiffuseBsdfOutputs(this);
     ins.Color.Value = new float4(0.0f, 0.0f, 0.0f, 1.0f);
     ins.Roughness.Value = 0.0f;
 }