there’s bunch of material functions related to caustics that are not used in stock materials for some reason , here’s my attempt: