https://123dok.net/document/zlgv8jkg-boundary-conditions-for-textures-and-defects.html