TerrainQuad tangent binormal generator artifacts

Whenever I try to generate tangents and binormals on a TerrainQuad i get artifacts when i add lighting. Those are some cases:

Flat TerrainQuad, Material is TerrainLighting.j3md:

Populated TerrainQuad, Material is still TerrainLighting.j3md:

Populated TerrainQuad, Material is a custom height-based shader:

What could the cause be?

EDIT: Also, if I skip that step I can see a breaking line in the same point:

images upload

It seems to be related to triplanar mapping. Using inTexCoord to map texture no artifacts are shown.

EDIT: This is probably due to TerraMonkey internal patch subdivision. Tune texture scaling and those artifacts will disappear.