Updated depth of effect to allow arbitrary depth