How do I replicate the following with a visual shader?
I can see a Normal Depth slot in the VS editor, but what about the settings?
You won't find that in visual shaders by default. The shader code for that is autogenerated by SpatialMaterials only. You'd have to implement it yourself.
This part of the engine source code might be insightful.