Skip to content

Commit

Permalink
Examples: Cleanup webgpu_sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Nov 25, 2024
1 parent 5ae1aa2 commit 015480e
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions examples/webgpu_sandbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 );

Expand Down

0 comments on commit 015480e

Please sign in to comment.