From bf7b0a7607a52375d9c16137f541a11851345a8e Mon Sep 17 00:00:00 2001 From: Yang Date: Mon, 28 Mar 2022 17:32:18 +0800 Subject: [PATCH] export default materials --- src/materials/index.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/materials/index.ts b/src/materials/index.ts index 7c116f3..ba14e00 100644 --- a/src/materials/index.ts +++ b/src/materials/index.ts @@ -1,8 +1,17 @@ -export { default as Material, BasicMaterial, LambertMaterial, PhongMaterial, PhysicalMaterial, PointsMaterial, ShadowMaterial, StandardMaterial, ToonMaterial, MaterialInjectionKey } from './Material' +export { default as Material, MaterialInjectionKey } from './Material' export { default as MatcapMaterial } from './MatcapMaterial' export { default as ShaderMaterial } from './ShaderMaterial' export { default as SubSurfaceMaterial } from './SubSurfaceMaterial' +export { default as BasicMaterial } from './BasicMaterial' +export { default as LambertMaterial } from './LambertMaterial' +export { default as PhysicalMaterial } from './PhysicalMaterial' +export { default as StandardMaterial } from './StandardMaterial' +export { default as PhongMaterial } from './PhongMaterial' +export { default as PointsMaterial } from './PointsMaterial' +export { default as ShadowMaterial } from './ShadowMaterial' +export { default as ToonMaterial } from './ToonMaterial' + export { default as Texture } from './Texture' export { default as CubeTexture } from './CubeTexture' export { default as VideoTexture } from './VideoTexture'