You must do, or you wouldn't have pointed out my approach would generate a helical gear, not an enveloping one!
Think in slices through the gear. At centre it is true involute. At sides it is less depth, but also it is not a radial slice through the worm… so not just the tip of the involute, but a stretched version of it.
Neil