This tutorial is showing how to create a material function with a rendering trick first shown to me by Jack French ( • Unreal Engine Tutorial - Fix Weapon C... ) to stop your weapons from clipping through walls and other geometry!
Code for the Custom nodes:
Near Clip Plane:
View.NearPlane
Plus:
return step(X, 0.0);