Example #1
0
 public FresnelNode(string name) :
     base(ShaderNodeType.Fresnel, name)
 {
     inputs           = new FresnelInputs(this);
     outputs          = new FresnelOutputs(this);
     ins.IOR.Value    = 1.45f;
     ins.Normal.Value = new float4();
 }
Example #2
0
 public FresnelNode(string name)
     : base(ShaderNodeType.Fresnel, name)
 {
     inputs = new FresnelInputs(this);
     outputs = new FresnelOutputs(this);
     ins.IOR.Value = 1.45f;
     ins.Normal.Value = new float4();
 }