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()