We are developing a scanning spectroscopy system to measure prompt gammas-rays induced by inelastic neutron scattering and thermal neutron capture to non-invasively analyze soil in situ. Using a radiation source, a 14 MeV (d,t) neutron generator (NG), in a close proximity to the detection system without any precautions will flood and saturate the detectors with direct radiation. Therefore, we devized and partially optimized a shadow shielding sited between the source and the detection system; we discuss our experimental results and basic Monte Carlo calculations.