Skip to content

Commit 14004e5

Browse files
committed
Forget to commit this
1 parent 1923b1d commit 14004e5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

js/app/core/renderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ function init(glslSource, textures) {
459459

460460
var uniforms = {
461461
time: { type: "f", value: 0 },
462+
turbulence_time_offset: { type: "f", value: 0.0 },
462463
turbulence_loop_enabled: { type: "f", value: 0.0 },
463464
turbulence_loop_seconds: { type: "f", value: 20.0 },
464465
resolution: { type: "v2", value: new THREE.Vector2() },
@@ -607,6 +608,7 @@ function init(glslSource, textures) {
607608
uniforms.resolution.value.y = renderer.domElement.height;
608609

609610
uniforms.time.value = observer.time;
611+
uniforms.turbulence_time_offset.value = observer.turbulenceTimeOffset || 0.0;
610612
uniforms.cam_pos.value = observer.position;
611613

612614
var e = observer.orientation.elements;

0 commit comments

Comments
 (0)