Skip to content

Commit

Permalink
Merge pull request #64 from readyplayerme/fix/ACT-267-render-bloom-ef…
Browse files Browse the repository at this point in the history
…fect

fix(effects): render bloom effect by default
  • Loading branch information
davidkarolyi committed Nov 23, 2023
2 parents 24b8656 + 937a563 commit 17e5ba3
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 17e5ba3

Please sign in to comment.