Error from r3F sparks example when updating three with it latest version #773
-
Hi! It tried to update the three dependencie from 0.112.1 to 0.121.1 on this example https://codesandbox.io/embed/r3f-sparks-sbf2i and i get the following error. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
they went from webgl1 to webgl2. three does not use semver, so every version can break. webgl2 is a hard breaking change and affects all shaders. webgl2 has new reserved names like "texture", can't use it no more. |
Beta Was this translation helpful? Give feedback.
-
you can try the example again, it's fixed. renamed texture to tex in the watershader. |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
you can try the example again, it's fixed. renamed texture to tex in the watershader.