-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm building a scene using nextjs v15.2.4 and react 19 with react-nodetoy:
<mesh rotation={[-Math.PI / 2, 0, 0]} position={[0, 0.1, 0]}>
<planeGeometry attach='geometry' args={[300, 400]} />
<NodeToyMaterial data={waterShader} />
</mesh>
I got the error: Error: R3F: NodeToyMaterial is not part of the THREE namespace! ..., then I added this line:
extend({ NodeToyMaterial })
another error popped up: Error: target is not a constructor
Is the current version incompatible with the latest Next.js and React?
tfaustus
Metadata
Metadata
Assignees
Labels
No labels