Ejemplo n.º 1
0
 /// <summary>
 /// Create a new background/world shader node with given name
 /// </summary>
 /// <param name="name">Name for shader node</param>
 public BackgroundNode(string name) :
     base(ShaderNodeType.Background, name)
 {
     inputs             = new BackgroundInputs(this);
     outputs            = new BackgroundOutputs(this);
     ins.Color.Value    = new float4();
     ins.Strength.Value = 1.0f;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new background/world shader node with given name
 /// </summary>
 /// <param name="name">Name for shader node</param>
 public BackgroundNode(string name)
     : base(ShaderNodeType.Background, name)
 {
     inputs = new BackgroundInputs(this);
     outputs = new BackgroundOutputs(this);
     ins.Color.Value = new float4();
     ins.Strength.Value = 1.0f;
 }