Pixelation
Pixelation is an effect that pixelates the scene.
Usage
vue
<script setup lang="ts">
import { EffectComposerPmndrs, PixelationPmndrs } from '@tresjs/post-processing'
</script>
<template>
<EffectComposerPmndrs>
<PixelationPmndrs />
</EffectComposerPmndrs>
</template>
Props
Prop | Description | Default |
---|---|---|
granularity | The granularity of the pixels. | 30 |