AColor GradSampler::Sample(ShadeContext& sc, float u,float v) { return grad->EvalFunction(sc, u, v, 0.0f, 0.0f); }
//----------------------------------------------------------------------------- // GradSampler //----------------------------------------------------------------------------- AColor GradSampler::SampleFilter(ShadeContext& sc, float u,float v, float du, float dv) { return grad->EvalFunction(sc, u, v, du, dv); }