lumalabs/luma-web-examples

Uncaught TypeError: this.material.updateUniformsAndDefines is not a function

ahmadasaad89 opened this issue · 1 comments

I am getting this error when trying to use Luma splats with React Three Fiber

luma-web.module.js:60 Uncaught TypeError: this.material.updateUniformsAndDefines is not a function
    at a.onBeforeRender (luma-web.module.js:60:354411)
    at renderObject (three.module.js:29444:1)
    at renderObjects (three.module.js:29434:1)
    at renderScene (three.module.js:29303:1)
    at WebGLRenderer.render (three.module.js:29121:1)

I am following the example you have exactly here

Any idea what might be causing this error?

Hi @ahmadasaad89, could you delete node_modules, make a zip of your project and upload here? I will see if I can spot the error