Ejemplo n.º 1
0
        public RefractionBsdfNode(string name)
            : base(ShaderNodeType.Refraction, name)
        {
            inputs = new RefractionBsdfInputs(this);
            outputs = new RefractionBsdfOutputs(this);

            Distribution = RefractionDistribution.Beckmann;
            ins.IOR.Value = 1.45f;
            ins.Roughness.Value = 0.0f;
            ins.Color.Value = new float4(0.8f);
        }
Ejemplo n.º 2
0
        public RefractionBsdfNode(string name) :
            base(ShaderNodeType.Refraction, name)
        {
            inputs  = new RefractionBsdfInputs(this);
            outputs = new RefractionBsdfOutputs(this);

            Distribution        = RefractionDistribution.Beckmann;
            ins.IOR.Value       = 1.45f;
            ins.Roughness.Value = 0.0f;
            ins.Color.Value     = new float4(0.8f);
        }