I’m quite new to threejs and I’m preparing a sample project to figure out some workflows and ideas. I’m focusing on creating smooth, high-end looking visuals and therefore tried almost every form of AA in threejs. Since I’m planning to make use of post processing I had the best results with a WebGLMultisampleRenderTarget and some fxaa as a fallback.
Now I tried implementing the OutlinePass post effect and ran into a problem. It seems the outline post effect and the WebGLMultisampleRenderTarget don’t work together nicely, here ist what it looks like:
WebGLMultisampleRenderTarget active:
const renderTarget = new THREE.WebGLMultisampleRenderTarget( size.width, size.height, THREE.RGBFormat );
composer = new EffectComposer( renderer, renderTarget );