From 1169c02fcfd1151fa08effb4ca7215f91b140f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=94?= Date: Thu, 2 Nov 2023 09:35:40 +0100 Subject: [PATCH] fix: cloud opacity --- src/core/Cloud.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Cloud.tsx b/src/core/Cloud.tsx index c71c3dd39..46f1d38ad 100644 --- a/src/core/Cloud.tsx +++ b/src/core/Cloud.tsx @@ -117,8 +117,8 @@ export const Clouds = /* @__PURE__ */ React.forwardRef( `varying float vOpacity; ` + shader.fragmentShader.replace( - '#include ', - `#include + '#include ', + `#include gl_FragColor = vec4(outgoingLight, diffuseColor.a * vOpacity); ` )