We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44b79d commit cb6be5bCopy full SHA for cb6be5b
1 file changed
src/EffectComposer.tsx
@@ -113,9 +113,11 @@ export const EffectComposer = React.memo(
113
useFrame(
114
(_, delta) => {
115
if (enabled) {
116
+ const currentAutoClear = gl.autoClear
117
gl.autoClear = autoClear
118
if (stencilBuffer && !autoClear) gl.clearStencil()
119
composer.render(delta)
120
+ gl.autoClear = currentAutoClear
121
}
122
},
123
enabled ? renderPriority : 0
0 commit comments