Skip to content

Unreal Bloom

Unreal Bloom is an effect that simulates the bloom effect seen in many modern video games. It creates a glow around bright areas of the scene, giving it a more vibrant and dynamic look.

Usage

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

<template>
  <EffectComposer>
    <UnrealBloom :radius="0.5" :strength="1.5" :threshold="0.8" />
  </EffectComposer>
</template>

Props

PropDescriptionDefault
radiusThe radius of the bloom effect.0
strengthThe strength of the bloom effect.1
thresholdThe threshold luminance for the bloom effect.0

Further Reading

see Three.js example