The previous code used the max of the texel's width or height footprint in world space to compute the offset; this could both overestimate or underestimate the bias causing some peter panning or acne. The new code replaces a sqrt with a dot, but is otherwise similar.