From 850ee43e55ad8ed8d627c8e08cc2610b7d54975a Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Tue, 4 May 2021 23:37:37 +0200 Subject: [PATCH] cleanup --- src/materials/ShaderMaterial.ts | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/materials/ShaderMaterial.ts b/src/materials/ShaderMaterial.ts index 0141e6a..fc1bda6 100644 --- a/src/materials/ShaderMaterial.ts +++ b/src/materials/ShaderMaterial.ts @@ -31,25 +31,3 @@ export default materialComponent( return material } ) - -// export default defineComponent({ -// extends: Material, -// props: { -// uniforms: { type: Object, default: () => ({}) }, -// vertexShader: { type: String, default: defaultVertexShader }, -// fragmentShader: { type: String, default: defaultFragmentShader }, -// }, -// methods: { -// createMaterial() { -// const material = new ShaderMaterial(propsValues(this.$props, ['color'])); - -// ['vertexShader', 'fragmentShader'].forEach(p => { -// // @ts-ignore -// watch(() => this[p], (value) => { material[p] = value; material.needsUpdate = true }) -// }) - -// return material -// }, -// }, -// __hmrId: 'ShaderMaterial', -// })