Browse Source

Fixed webgl_gpgpu_birds example.

- See #8809.
tschw 9 years ago
parent
commit
3f530b8e55
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/webgl_gpgpu_birds.html

+ 3 - 0
examples/webgl_gpgpu_birds.html

@@ -661,6 +661,9 @@
 				mouseX = 10000;
 				mouseY = 10000;
 
+				birdUniforms.texturePosition.value = simulator.currentPosition;
+				birdUniforms.textureVelocity.value = simulator.currentVelocity;
+
 				renderer.render( scene, camera );
 
 			}