예제 #1
0
 public AbsorptionVolumeNode(string name)
     : base(ShaderNodeType.AbsorptionVolume, name)
 {
     inputs = new AbsorptionVolumeInputs(this);
     outputs = new AbsorptionVolumeOutputs(this);
     ins.Color.Value = new float4(1.0f);
     ins.Density.Value = 1.0f;
 }
예제 #2
0
 public AbsorptionVolumeNode(string name) :
     base(ShaderNodeType.AbsorptionVolume, name)
 {
     inputs            = new AbsorptionVolumeInputs(this);
     outputs           = new AbsorptionVolumeOutputs(this);
     ins.Color.Value   = new float4(1.0f);
     ins.Density.Value = 1.0f;
 }