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 | |
---|---|---|---|---|
Sprite scale on browser resize | 1 | 516 | September 18, 2023 | |
Keep sprite size the same as canvas texture size | 6 | 7135 | June 21, 2021 | |
Inconsistent sprite scaling | 4 | 1644 | January 8, 2022 | |
How to use sizeAttenuation of SpriteMaterial in the Orthographic Camera | 3 | 1410 | January 20, 2024 | |
Scaling only some part of texture | 2 | 169 | January 7, 2024 |