Esempio n. 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();
 }
Esempio n. 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();
 }