Skip to content

Commit

Permalink
adjusted more imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinoooo committed Sep 9, 2024
1 parent 4f58d63 commit ecd07d7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion playground-nuxt/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export default defineNuxtConfig({
vite: {
resolve: {
alias: {
'@tresjs/post-processing': resolve(__dirname, '../src/'),
'@tresjs/post-processing/pmndrs': resolve(__dirname, '../src/core/pmndrs'),
'@tresjs/post-processing/three': resolve(__dirname, '../src/core/three'),
},
dedupe: ['three', '@tresjs/core', '@vueuse/core'],
},
Expand Down
2 changes: 1 addition & 1 deletion playground-nuxt/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { Bloom, EffectComposer } from '@tresjs/post-processing'
import { Bloom, EffectComposer } from '@tresjs/post-processing/pmndrs'
import { BlendFunction } from 'postprocessing'
import { BasicShadowMap, Color, NoToneMapping, SRGBColorSpace } from 'three'
import { reactive } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion playground/src/components/OutlineDemo.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { OrbitControls, useTweakPane } from '@tresjs/cientos'
import { TresCanvas } from '@tresjs/core'
import { EffectComposer, Outline } from '@tresjs/post-processing'
import { EffectComposer, Outline } from '@tresjs/post-processing/pmndrs'
import { BasicShadowMap, NoToneMapping } from 'three'
import { reactive, ref } from 'vue'
import type { Intersection, Object3D } from 'three'
Expand Down
2 changes: 1 addition & 1 deletion playground/src/components/TheExperience.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { TresCanvas } from '@tresjs/core'
import { EffectComposer, Glitch } from '@tresjs/post-processing'
import { EffectComposer, Glitch } from '@tresjs/post-processing/pmndrs'
import { BasicShadowMap, NoToneMapping, SRGBColorSpace } from 'three'
const gl = {
Expand Down
2 changes: 1 addition & 1 deletion playground/src/pages/postprocessing/glitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { OrbitControls } from '@tresjs/cientos'
import { TresCanvas } from '@tresjs/core'
import { TresLeches, useControls } from '@tresjs/leches'
import { EffectComposer, Glitch } from '@tresjs/post-processing'
import { EffectComposer, Glitch } from '@tresjs/post-processing/pmndrs'
import { GlitchMode } from 'postprocessing'
import { BasicShadowMap, NoToneMapping, Vector2 } from 'three'
import '@tresjs/leches/styles'
Expand Down

0 comments on commit ecd07d7

Please sign in to comment.