Exemplo n.º 1
0
 public ScatterVolumeNode(string name)
     : base(ShaderNodeType.ScatterVolume, name)
 {
     inputs = new ScatterVolumeInputs(this);
     outputs = new ScatterVolumeOutputs(this);
     ins.Color.Value = new float4(1.0f);
     ins.Density.Value = 1.0f;
     ins.Anisotropy.Value = 0.0f;
 }
Exemplo n.º 2
0
 public ScatterVolumeNode(string name) :
     base(ShaderNodeType.ScatterVolume, name)
 {
     inputs               = new ScatterVolumeInputs(this);
     outputs              = new ScatterVolumeOutputs(this);
     ins.Color.Value      = new float4(1.0f);
     ins.Density.Value    = 1.0f;
     ins.Anisotropy.Value = 0.0f;
 }