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: