I want to use UnrealBloomPass in three.js postprocessing, but I get a black screen after adding effectComposer.addPass(unrealBloomPass), on the console I get the following
WebGL: INVALID_VALUE: texImage2D: width or height out of range
[.WebGL-00005F94023C4600] GL_INVALID_VALUE: Desired resource size is greater than max renderbuffer size.
[.WebGL-00005F94023C4600] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size.
[.WebGL-00005F94023C4600] GL_INVALID_FRAMEBUFFER_OPERATION: Draw framebuffer is incomplete
I don't know what to do, please help.
I have done a bit of research, someone said I should lower the size of the image I used to generate the texture, I did it but to no avail. Please I need help. Thanks
I have already done all the import{...} needed.