Generate a sentence with "b2" difficulty that contains the following words: filter, texel, function.
Starting from this first contributing texel, this function loops over four texels, computing each one's offset to the center of the filter kernel and the corresponding filter weight.