@Override
public ScatteredRay scatter(SurfacePoint x, Vector3 v, boolean adjoint,
WavelengthPacket lambda, double ru, double rv, double rj) {
Vector3 n = x.getNormal();
if (n.dot(v) > 0.0) {
return null;
}
Color d = diffuse.getColor(x, lambda);
Color s = specular.getColor(x, lambda);