|
|
@@ -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 );
|
|
|
|