When a texture changes on walking closer, it's most likely a wrong mipmap.

Make sure that you update the mipmaps (bmap_to_mipmap) after modifying a texture.