I'm getting the error THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead
Description of the problem
Seeing the error, upgrading from r62 to r75, everything was going great until I hit this error. The problem is: there is no example of HOW to convert from the old style assigning attributes to the new style of using BufferGeometry.
What I really need: is a full example
so I can complete the conversion.
Three.js version
- [ ] Dev
- [ ] r75
Browser
- [x] All of them
- [ ] Chrome
- [ ] Firefox
- [ ] Internet Explorer
OS
- [x] All of them
- [ ] Windows
- [ ] Linux
- [ ] Android
- [ ] IOS
Hardware Requirements (graphics card, VR Device, ...)
All the examples under webgl / advanced use the new approach. Please, study them.
Your code is brilliant, your applications are brilliant, of that, I have no doubt. Your new examples are also brilliant - but again, there are NO guides, no help, no demonstrations that show HOW to convert an "old code component" to a "new format" for use. I am not the only one stuck on upgrading the functionality to use the new Three.JS libraries the proper way. Simply pointing me to new code, does NOT tell me how to convert the old pieces that I have. for example: the old library renders the graphic PNG just fine, but in the new library - nothing. It's ALL BLACK, there are no lines, no points, nothing but the text sprites render. Simply studying the new code will not / does not teach me how to convert the old calls.
@dlinstedt I'm sorry, we don't have enough resources to write guides at this point. You may want to take a look at other solutions that offer user support.
Thank-you, I completely understand. Can I pay you to convert an old example to the new library?
@dlinstedt
Can I pay you to convert an old example to the new library?
I can offer paid support for Three.js / do a fully documented port of an old example. Let me know your email address or contact me (mine is all over the changelog throughout the last year - git log will show it), in case you are interested.
@tschw - my email is: [email protected]