JavaScript WebGL textures distort as I move around them

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.

http://greaterscope.net/ugly-textures/

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.

Answer:1

Can someone explain why these array methods in Javascript have functions as parameters? An example would be: newArray = oldArray.map( function(val){ return val + 3; }); also this, array.sort(...

Can someone explain why these array methods in Javascript have functions as parameters? An example would be: newArray = oldArray.map( function(val){ return val + 3; }); also this, array.sort(...

I have a simple form here, <?php echo form_open('moneyexchange/invest_first_page'); ?> <input id="amount" value="" type="text" placeholder="Amount in &euro;" name="writtenamount"/&...

I have a simple form here, <?php echo form_open('moneyexchange/invest_first_page'); ?> <input id="amount" value="" type="text" placeholder="Amount in &euro;" name="writtenamount"/&...

I have two sortables connected by means of jQuery sortable plugin. Is it possible to change target for draggables for one of them? I want to drag not from #sortable1 to #sortable2, but to $('#sortable'...

I have two sortables connected by means of jQuery sortable plugin. Is it possible to change target for draggables for one of them? I want to drag not from #sortable1 to #sortable2, but to $('#sortable'...

  1. jquery sortable connected lists
  2. jquery sortable connectwith
  3. jquery connectedsortable refresh
  4. jquery ui sortable connected lists
  5. jquery sortable connectwith multiple
  6. jquery ui connect sortable with droppable
  7. jquery ui connected sortable
  8. jquery ui connectedsortable style

I am creating an application in django and I have the next problem. I have some search forms in the application, and in some of them there are fields of type 'DateField'. In addition, I have ...

I am creating an application in django and I have the next problem. I have some search forms in the application, and in some of them there are fields of type 'DateField'. In addition, I have ...