I would like to add a lens to my project like http://threejs.org/examples/webgl_lensflares.html
But Chrome warns me that "WebGL: INVALID_OPERATION: copyTexImage2D: framebuffer is an incompatible format," and the lens flash does not appear.
I searched a lot, but did not answer correctly, please help.
Change your renderer to add alpha to the framebuffer so that it is the same expected framebuffer format as lenflares (RGBA):
renderer = new THREE.WebGLRenderer( { antialias: true, alpha: true } );
Source: https://habr.com/ru/post/1493386/More articles:Is there something like a WPF list without a choice? - wpfgetting "NSOrderedSetArrayProxy was mutated while enumerating" error without mutation - iospreg_replace () Only the specific part of the string - phpInstall Meteor on Windows 7 using cURL - javascriptCan I send a local notification without sound? - iosCheck HTML5 browser compatibility with PHP - cross-browseriOS Push Notifications - how to specify notification and icon without sound? - iosGPUImage for blending faces - iosHow to replace c (xxx) with c (xxx) in preg_replace? - phphttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1493391/sublime-text-requires-restart-on-settings-changes-to-take-effect&usg=ALkJrhgEzxpa-MSL2jleOmY1TyJ9if_mjQAll Articles