Post effects throw errors, when camera component is disabled and enabled again.
I only tested this with posteffect-brightnesscontrast.js but this propably applies to all post effects.
Error:
ASSERT FAILED:
Framebuffer creation failed with error code FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, render target: Camera-posteffect-0
[object Object]
Shader [Shader Id 0 BrightnessContrastShader] requires texture sampler [uColorBuffer] which has not been set, while rendering [Pass:Postprocess | BrightnessContrastEffect | Pass:RenderPass-drawQuadWithShaderFramebuffer | drawQuadWithShader | QuadRender]
Description
Post effects throw errors, when camera component is disabled and enabled again. I only tested this with
posteffect-brightnesscontrast.js
but this propably applies to all post effects.Error:
Steps to Reproduce