How can I set the min. and max. scale values of the sprite when the sizeAttenuation value is true in SpriteMaterial? I want it to be minScale when the camera is too far away and maxScale when it is too close and I want to do this without affecting performance because I have more than 250 sprites. Should i use Shader Material + Plane Geometry for that?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| SpriteMaterial SizeAttenuation is not working in Three.Js | 1 | 1001 | March 15, 2022 | |
| SpriteMaterial without sizeAttenuation got artifacts | 7 | 1946 | April 7, 2020 | |
| Keep sprite size the same as canvas texture size | 6 | 7268 | June 21, 2021 | |
| Scaling particles based on camera distance | 7 | 6201 | December 14, 2019 | |
| How to scale shader sprite size to world coords?- | 0 | 849 | December 1, 2019 |