示例#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();
 }
示例#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();
 }