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', -// })