Skip to content

Commit

Permalink
chore: revert changes in pixelation sfc
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Jan 12, 2025
1 parent 31b3cf5 commit b7bc903
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/three/Pixelation.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts" setup>
<script lang="ts">
import { useTresContext } from '@tresjs/core'
import { RenderPixelatedPass } from 'three/examples/jsm/postprocessing/RenderPixelatedPass.js'
import { watchEffect } from 'vue'
Expand All @@ -10,7 +10,9 @@ export interface PixelationProps {
depthEdgeStrength?: number
normalEdgeStrength?: number
}
</script>

<script lang="ts" setup>
const props = defineProps<PixelationProps>()
const { scene, camera } = useTresContext()
Expand Down

0 comments on commit b7bc903

Please sign in to comment.