From 015480e141a0382afb68021732591dd8756275ba Mon Sep 17 00:00:00 2001 From: sunag Date: Sun, 24 Nov 2024 23:45:15 -0300 Subject: [PATCH] Examples: Cleanup `webgpu_sandbox` --- examples/webgpu_sandbox.html | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/examples/webgpu_sandbox.html b/examples/webgpu_sandbox.html index 3f2e0ee9c5feda..2905462fd26b3f 100644 --- a/examples/webgpu_sandbox.html +++ b/examples/webgpu_sandbox.html @@ -29,20 +29,6 @@ import { KTX2Loader } from 'three/addons/loaders/KTX2Loader.js'; - let code = ''; - - const tsl = { ... THREE.TSL }; - const keys = Object.keys( tsl ).sort(); - - for ( const key of keys ) { - - code += `export const ${ key } = TSL.${ key };\n`; - - } - - console.log( code ); - //console.log( `export { ${ keys.join( ',\n\t' ) } };` ); - let camera, scene, renderer; let box; @@ -89,6 +75,7 @@ const materialBox = new THREE.MeshBasicNodeMaterial(); // birection speed + const timerScaleNode = time.mul( vec2( - 0.5, 0.1 ) ); const animateUV = uv().add( timerScaleNode );