Skip to content

Commit

Permalink
fix: enable alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaehiel committed Sep 21, 2023
1 parent 6ecc2af commit aaaec33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BaseCanvas/BaseCanvas.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const BaseCanvas: FC<BaseCanvasProps> = ({
key={fov}
className={`${styles['base-canvas']} ${className ?? ''}`}
shadows="soft"
gl={{ preserveDrawingBuffer: true, toneMappingExposure: 0.5 }}
gl={{ preserveDrawingBuffer: true, toneMappingExposure: 0.5, alpha: true }}
dpr={dpr}
camera={{ fov, position }}
resize={{ scroll: true, debounce: { scroll: 50, resize: 0 } }}
Expand Down

0 comments on commit aaaec33

Please sign in to comment.