diff --git a/typescript/packages/subsurface-viewer/src/layers/shader_modules/decoder.ts b/typescript/packages/subsurface-viewer/src/layers/shader_modules/decoder.ts index 503c8dc8e..8fa25aa06 100644 --- a/typescript/packages/subsurface-viewer/src/layers/shader_modules/decoder.ts +++ b/typescript/packages/subsurface-viewer/src/layers/shader_modules/decoder.ts @@ -39,7 +39,7 @@ function getUniforms(opts: any): DecoderUniforms | {} { return {}; } -export default { +export const decoder = { name: "decoder", fs, getUniforms, diff --git a/typescript/packages/subsurface-viewer/src/layers/shader_modules/index.ts b/typescript/packages/subsurface-viewer/src/layers/shader_modules/index.ts index b95f61b94..5f7bece91 100644 --- a/typescript/packages/subsurface-viewer/src/layers/shader_modules/index.ts +++ b/typescript/packages/subsurface-viewer/src/layers/shader_modules/index.ts @@ -1,2 +1,2 @@ -export { default as decoder } from "./decoder"; -export { default as localPhongLighting } from "./localPhongLighting"; +export { decoder } from "./decoder"; +export { localPhongLighting } from "./localPhongLighting"; diff --git a/typescript/packages/subsurface-viewer/src/layers/shader_modules/localPhongLighting.ts b/typescript/packages/subsurface-viewer/src/layers/shader_modules/localPhongLighting.ts index 1346b9bf8..601e4da07 100644 --- a/typescript/packages/subsurface-viewer/src/layers/shader_modules/localPhongLighting.ts +++ b/typescript/packages/subsurface-viewer/src/layers/shader_modules/localPhongLighting.ts @@ -1,7 +1,7 @@ import { fs } from "./lighting.fs.glsl"; import { phongLighting } from "@luma.gl/shadertools"; -export default { +export const localPhongLighting = { name: "localPhongLighting", fs, dependencies: [phongLighting], diff --git a/typescript/packages/subsurface-viewer/src/layers/triangle/privateTriangleLayer.ts b/typescript/packages/subsurface-viewer/src/layers/triangle/privateTriangleLayer.ts index 20b492adb..5fe207b6b 100644 --- a/typescript/packages/subsurface-viewer/src/layers/triangle/privateTriangleLayer.ts +++ b/typescript/packages/subsurface-viewer/src/layers/triangle/privateTriangleLayer.ts @@ -104,7 +104,7 @@ export default class PrivateTriangleLayer extends Layer