drei
drei copied to clipboard
The grass (instances) example in the readme / documentation should be updated.
There is an grass example in documentation (https://github.com/pmndrs/drei?tab=readme-ov-file#instances) is not working:
👉 Note: While creating instances declaratively keeps all the power of components with reduced draw calls, it comes at the cost of CPU overhead. For cases like foliage where you want no CPU overhead with thousands of intances you should use THREE.InstancedMesh such as in this example.