Closed MiguelG97 closed 4 months ago
My bad, I forgot to pass the outlinePass arguments as per following example: https://github.com/mrdoob/three.js/blob/master/examples/webgl_postprocessing_outline.html#L249
args={[
new THREE.Vector2(
window.innerWidth,
window.innerHeight
),
scene,
camera,
]}
I'm having a hard time using the R3F -postprocessing library so I decided to use raw threejs classes:
By diving into the R3F extending third party library tutorials I managed to setup the renderPass and the outlinePass with typescript https://docs.pmnd.rs/react-three-fiber/tutorials/typescript
However, after successfully setting up the effect composer and the passes, a new issue came up as shown in picture:
is it a reason to believe that it's better use the R3F -postprocessing library since R3F have some issues implementing the third party raw threejs add-ons? or is there any way I can fix this issue?