From dce70cc56bbcf6e4b379fa34293cdce280f3da5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Wilk?= Date: Mon, 18 Mar 2024 13:27:54 +0100 Subject: [PATCH] fix: multisampling prop value (#102) --- src/core/EffectComposer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/EffectComposer.vue b/src/core/EffectComposer.vue index 35088798..fa967940 100644 --- a/src/core/EffectComposer.vue +++ b/src/core/EffectComposer.vue @@ -62,10 +62,10 @@ const effectComposerParams = computed(() => { stencilBuffer: props.stencilBuffer !== undefined ? props.stencilBuffer : plainEffectComposer.inputBuffer.stencilBuffer, multisampling: isWebGL2Available() - ? 0 - : props.multisampling !== undefined + ? props.multisampling !== undefined ? props.multisampling - : plainEffectComposer.multisampling, + : plainEffectComposer.multisampling + : 0, frameBufferType: props.frameBufferType !== undefined ? props.frameBufferType : HalfFloatType, } plainEffectComposer.dispose()