Replies: 1 comment
-
|
This is a type augmentation issue, not a runtime problem. extend() registers the material with R3F's reconciler at runtime, but TypeScript has no way to know about it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm struggling with using shaderMaterial. Typescript tells TS2339: Property pointShaderMaterial does not exist on type JSX.IntrinsicElements such warning. Here is my code
Beta Was this translation helpful? Give feedback.
All reactions