Check out the Empty Spaces section on my website, it has some pre-pass, decal info. But basically it's an extended depth normal pass, that also draws "segment" areas. Then edge detection produces these lines. Rollerdrome also does something like this...