Hello there , I tried to make this kind of animation ( here ) , but with NextJS, (here)
but looks like something not working good!
any suggestions ?
Thanks
Hello there , I tried to make this kind of animation ( here ) , but with NextJS, (here)
but looks like something not working good!
any suggestions ?
Thanks
you were missing a closing brace and a semi colon in your fragment shader… whoops
Also, if you are setting everything up in your useEffect dont forget to clean up your scene in the return statement. I have found this hard to do perfectly in the past and is why I find it way easier to deal with three-fiber in react than three.js