Black screen with every postprocessing effect

Hi guys!
I’ve got a problem I can’t figure out.
In my vue.js project I got black screen adding pass to composer, for example SAO or SSAA or any other.
In console I get this on firefox:

WebGL warning: drawArraysInstanced: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0: Attachment has no width or height.

And this on chrome:

[.WebGL-00000212EAC71FE0] GL_INVALID_FRAMEBUFFER_OPERATION: Draw framebuffer is incomplete

Does it mean something to you?
Thank you in advance

2 Likes

Ok, after struggling a bit I understand that it EffectComposer needed an explicit size:
composer.setSize(width, heigth)
that’s it.

2 Likes