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); }
public override BSDF GetBSDF(ref Intersection intersection) { var bsdf = new BSDF(ref intersection); bsdf.AddBxDF(_specular); return(bsdf); }
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); }
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); }