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 | 1013 | March 15, 2022 | |
| Keep sprite size the same as canvas texture size | 6 | 7308 | June 21, 2021 | |
| Sprite scale on browser resize | 1 | 563 | September 18, 2023 | |
| How to use sizeAttenuation of SpriteMaterial in the Orthographic Camera | 3 | 1463 | January 20, 2024 | |
| SpriteMaterial without sizeAttenuation got artifacts | 7 | 1961 | April 7, 2020 |