Open hichemfantar opened 1 month ago
same
I am getting this
Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
at expandShaderIncludes (r3f-perf.js?v=00715a23:87066:17)
at upgradeShaders (r3f-perf.js?v=00715a23:87258:21)
at MeshBasicMaterial.onBeforeCompile (r3f-perf.js?v=00715a23:87113:24)
at getProgram (chunk-DJZEKAGW.js?v=ffda6a78:34381:18)
at setProgram (chunk-DJZEKAGW.js?v=ffda6a78:34529:19)
at WebGLRenderer.renderBufferDirect (chunk-DJZEKAGW.js?v=ffda6a78:33911:23)
at renderObject (chunk-DJZEKAGW.js?v=ffda6a78:34351:15)
at renderObjects (chunk-DJZEKAGW.js?v=ffda6a78:34333:11)
at renderScene (chunk-DJZEKAGW.js?v=ffda6a78:34254:42)
at WebGLRenderer.render (chunk-DJZEKAGW.js?v=ffda6a78:34163:9)
using intellisense with the component doesn't work
reproduction:
https://codesandbox.io/p/sandbox/wtp9t?file=%2Fsrc%2FApp.js%3A89%2C16