post processing? render only normals (everything that doesn't have this effect should be plain blue) and check if the normals of adjacent texels differ > 70°


Follow me on twitter