public override Vector3 GetDirection(ShadeRec sr) { sample_point = Object.Sample(); light_normal = Object.GetNormal(sample_point); wi = sample_point - sr.HitPoint; wi.Normalize(); return(wi); }