> Im working on a terrain engine. I split a big terrain texture into 4
du you mean the yellow ones or the straight dark line uphill ?
for me the dark one seem to have something to to with tex-coords as you
assumed. looks like a border color which gets mixed in if the tex coord is
closer to the texture border as half the size of a texel and
D3DTADDRESS_BORDER is on.
anyway, if the tex coords component gets between 0 and 1/dim/2 or 1 and
1-1/dim/2 values not
related to this position get mixed in. either from border color or other
texture coords or simply copied
from the last texel in case of CLAMP or so. I suggest to change the coords
from 0..1 to 1/dim/2..1-1/dim/2.
for me the yellow lines seem to be something different. maybe you're drawing
yellow lines there ;)
if not, is it the background color ? are the verts of adjacent polys at the
exact same spacial position for the common edge ?