We have similar code in a few different materials.  Does it make sense to add a `czm_` function for anti-aliasing?