Drei shaderMaterial works with create-react-app but no with next.js

Hello,
Everything is in the title. I spent a lot of time on this, the shader just show nothing in next.js, I have no error and I make a dynamic load in next.js so it’s not a problem of ssr. Do you have any ideas ? I will create this in code sandbox if necessary.
Thanks for your help.