diff --git a/examples/js/GPUParticleSystem.js b/examples/js/GPUParticleSystem.js index 33e02ba32a2840bdac965286f3a16d09dfafbd8a..535f0852c8a022a9bc3246243a89c1a1d8a92426 100644 --- a/examples/js/GPUParticleSystem.js +++ b/examples/js/GPUParticleSystem.js @@ -77,7 +77,7 @@ THREE.GPUParticleSystem = function( options ) { ' v.y = ( velocity.y - 0.5 ) * 3.0;', ' v.z = ( velocity.z - 0.5 ) * 3.0;', - ' newPosition = positionStart + ( v * 10.0 ) * ( uTime - startTime );', + ' newPosition = positionStart + ( v * 10.0 ) * timeElapsed;', ' vec3 noise = texture2D( tNoise, vec2( newPosition.x * 0.015 + ( uTime * 0.05 ), newPosition.y * 0.02 + ( uTime * 0.015 ) ) ).rgb;', ' vec3 noiseVel = ( noise.rgb - 0.5 ) * 30.0;',