Voxel Mesh has Lines Between the Voxels

I am currently generating a voxel-based mesh via code, ala Minecraft. Each 3D square is a voxel.

The only problem is that I have these lines in-between all of the faces of my cubes and I’m not sure where they’re coming from. I’ve gone through the code and it looks like it’s not a rounding error, but, that’s about all I can tell.

The only I can think of is that the order of the triangle creation is important, but, that sounds implausible. Or perhaps it’s related to the shader or material?

Does anyone have any suggestions on where to start looking?

Here’s a video:
https://vimeo.com/42994526

I figured it out.

The texture that I was using as the material was set up as Filter → Bilinear. Changing it to Filter → Point fixed the issue. Sounds like the engine was filtering the texture for me, which was great when it wasn’t an edge, but tailed off when it was.

A few lessons learned today! (in addition see the discussion about regarding how to check if your Material is the issue versus the Vertexes)