Skip to content

Commit

Permalink
fix: multisampling prop value (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
whereiswolf authored Mar 18, 2024
1 parent 8108998 commit dce70cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/EffectComposer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dce70cc

Please sign in to comment.