diff --git a/src/core/Caustics.ts b/src/core/Caustics.ts index 8347a21..8fa974d 100644 --- a/src/core/Caustics.ts +++ b/src/core/Caustics.ts @@ -1,6 +1,6 @@ import * as THREE from 'three' import { shaderMaterial } from './shaderMaterial' -import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass' +import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass.js' import { useFBO } from './useFBO' import { PlaneGeometry } from 'three' diff --git a/src/core/Outlines.ts b/src/core/Outlines.ts index 221c05b..7b61fba 100644 --- a/src/core/Outlines.ts +++ b/src/core/Outlines.ts @@ -1,6 +1,6 @@ import { shaderMaterial } from './shaderMaterial' import * as THREE from 'three' -import { toCreasedNormals } from 'three/examples/jsm/utils/BufferGeometryUtils' +import { toCreasedNormals } from 'three/examples/jsm/utils/BufferGeometryUtils.js' export type OutlinesProps = { /** Outline color, default: black */