Skip to content

Commit

Permalink
fix(effects): render bloom effect by default
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarolyi committed Nov 23, 2023
1 parent 24b8656 commit 937a563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Avatar/Avatar.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ const Avatar: FC<AvatarProps> = ({
{background?.src && <Box {...background} />}
{capture && <Capture {...capture} />}
{background?.color && <BackgroundColor color={background.color} />}
{effects && (
{(effects?.ambientOcclusion || effects?.bloom) && (
<EffectComposer autoClear multisampling={4}>
<>
{effects?.ambientOcclusion && (
Expand Down

0 comments on commit 937a563

Please sign in to comment.