hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.19k stars 407 forks source link

Effect composer - postprocessing #196

Closed mancio2388 closed 1 year ago

mancio2388 commented 2 years ago

Hi, is there anyone who has tried to use some postprocessing filter? So instead of using the renderer.render function uses composer.render? Like this:

renderer.setAnimationLoop(() => { composer.render(); //renderer.render(scene, camera); });

If i try to use effect composer, i get this error in console with a simple shader filter too. This is the error:

THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false Program Info Log: Fragment shader is not compiled......

Is there a solution? Thanks

mancio2388 commented 2 years ago

Anyone are using postprocessing library with MindAR? ref. https://github.com/pmndrs/postprocessing

hiukim commented 1 year ago

The issue is stale. feel free to re-open if there is new insight.