I'd like to add lensflare in my own project,just like http://threejs.org/examples/webgl_lensflares.html
But the Chrome keeps warning me of "WebGL: INVALID_OPERATION: copyTexImage2D: framebuffer is incompatible format ",and the lens flare doesn't appear.
I searched a lot,But no right answer,please help.
Modify your renderer to add alpha to the framebuffer so it will be the same expected framebuffer format as lenflares uses (RGBA):
renderer = new THREE.WebGLRenderer( { antialias: true, alpha: true } );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With