I'm working on a voxel engine that uses WebGL directly. The textures look great within a voxel-engine game (which uses three.js), but look horrible in my engine.
Here's an example with a simple grass texture on a plane.
If you click on the canvas and grant it permission to hide your mouse cursor, you can see that the texture tears and distorts as you move around (using WASD keys). Any ideas as to why?
I've read about using 0.5 pixel offsets somewhere, but I'm not certain whether that pertains to my problem.