From aaaec335c24d52e3d42e5983d83840d262445560 Mon Sep 17 00:00:00 2001 From: Elar Huik Date: Thu, 21 Sep 2023 12:58:09 +0300 Subject: [PATCH] fix: enable alpha --- src/components/BaseCanvas/BaseCanvas.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/BaseCanvas/BaseCanvas.component.tsx b/src/components/BaseCanvas/BaseCanvas.component.tsx index 2780c39d..7769de3b 100644 --- a/src/components/BaseCanvas/BaseCanvas.component.tsx +++ b/src/components/BaseCanvas/BaseCanvas.component.tsx @@ -24,7 +24,7 @@ export const BaseCanvas: FC = ({ 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 } }}