Skip to content

Commit 32febf1

Browse files
committed
Clean up.
1 parent 2209746 commit 32febf1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/webgpu_reflection.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
import * as THREE from 'three';
3131

3232
import { abs, blendOverlay, color, float, Fn, instancedBufferAttribute, materialColor, normalWorldGeometry, pass, positionGeometry, positionLocal, reflector, screenUV, sin, sub, texture, time, uniform, uv, vec3 } from 'three/tsl';
33-
import { ao } from 'three/addons/tsl/display/GTAONode.js';
34-
import { denoise } from 'three/addons/tsl/display/DenoiseNode.js';
3533
import { gaussianBlur } from 'three/addons/tsl/display/GaussianBlurNode.js';
3634

3735
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
@@ -155,14 +153,14 @@
155153

156154
// tweens
157155

158-
const effectTween = new TWEEN.Tween( uniformEffector1 )
156+
new TWEEN.Tween( uniformEffector1 )
159157
.to( { value: 1.2 }, 3000 )
160158
.delay( 800 )
161159
.repeat( Infinity )
162160
.easing( TWEEN.Easing.Sinusoidal.InOut )
163161
.start();
164162

165-
const effect2Tween = new TWEEN.Tween( uniformEffector2 )
163+
new TWEEN.Tween( uniformEffector2 )
166164
.to( { value: 1.2 }, 3000 )
167165
.repeat( Infinity )
168166
.easing( TWEEN.Easing.Sinusoidal.InOut )
@@ -200,7 +198,6 @@
200198
function createTreeMesh() {
201199

202200
const maxSteps = 5;
203-
const angleOffset = Math.PI / 180 * 40;
204201
const lengthMult = 0.8;
205202

206203
const positions = [];

0 commit comments

Comments
 (0)