Child porn investigation leads to shooting