Skip to content

Pixelation

Pixelation is an effect that pixelates the scene.

Usage

vue
<script setup lang="ts">
import { EffectComposer, Pixelation } from '@tresjs/post-processing'
</script>

<template>
  <EffectComposer>
    <Pixelation />
  </EffectComposer>
</template>

Props

PropDescriptionDefault
granularityThe granularity of the pixels.30

Further Reading

see postprocessing docs