use a three.js shader pass effect with fiber

468 Views Asked by At

I would like to use this shader pass below in a react-fiber project :

https://github.com/felixturner/bad-tv-shader

how to convert this :

composer = new THREE.EffectComposer( renderer);
renderPass = new THREE.RenderPass( scene, camera );
badTVPass = new THREE.ShaderPass( THREE.BadTVShader );
composer.addPass( renderPass );
composer.addPass( badTVPass );
badTVPass.renderToScreen = true;

into react-fiber ? Thanks.

0

There are 0 best solutions below