Beispiel #1
0
 public CheckerTexture(string name)
     : base(ShaderNodeType.CheckerTexture, name)
 {
     inputs           = new CheckerInputs(this);
     outputs          = new CheckerOutputs(this);
     ins.Color1.Value = new float4(1.0f, 0.5f, 0.25f);
     ins.Color2.Value = new float4(0.25f, 0.5f, 1.0f);
     ins.Scale.Value  = 5.0f;
 }
Beispiel #2
0
 public CheckerTexture(string name)
     : base(ShaderNodeType.CheckerTexture, name)
 {
     inputs = new CheckerInputs(this);
     outputs = new CheckerOutputs(this);
     ins.Color1.Value = new float4(1.0f, 0.5f, 0.25f);
     ins.Color2.Value = new float4(0.25f, 0.5f, 1.0f);
     ins.Scale.Value = 5.0f;
 }