Fixed broken seams between patches.
Fixed problem with factures in geometry shader.