public override BSDF GetBSDF(ref Intersection intersection)
        {
            var bsdf = new BSDF(ref intersection);

            bsdf.AddBxDF(_lambertianReflection);
            return(bsdf);
        }
        public override BSDF GetBSDF(ref Intersection intersection)
        {
            var bsdf = new BSDF(ref intersection);

            bsdf.AddBxDF(_transmission);
            return(bsdf);
        }
Ejemplo n.º 3
0
        public override BSDF GetBSDF(ref Intersection intersection)
        {
            var bsdf = new BSDF(ref intersection);

            bsdf.AddBxDF(_specular);
            return(bsdf);
        }
Ejemplo n.º 4
0
        public override BSDF GetBSDF(ref Intersection intersection)
        {
            var bsdf = new BSDF(ref intersection);

            //bsdf.AddBxDF(new LambertianReflection(_spectrum));
            bsdf.AddBxDF(new SpecularReflection(new FresnelDielectric(1.23f, 1.0f)));
            return(bsdf);
        }
Ejemplo n.º 5
0
        public override BSDF GetBSDF(ref Intersection intersection)
        {
            var bsdf = new BSDF(ref intersection);

            bsdf.AddBxDF(new LambertianReflection(_kd));
            //bsdf.AddBxDF(new SpecularReflection());
            //bsdf.AddBxDF(new SpecularTransmission(1f, 1.14f, _kd));
            return(bsdf);
        }